org.openbravo.kikobar.banqup/extract-invoice.py

15 lines
279 B
Python

import requests
from config import *
url = ob_api_url+"Invoice?_where=documentNo='1001649'&_noActiveFilter=false"
payload = {}
headers = {
'Authorization': 'Basic '+userpass_b64
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)