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

15 lines
279 B
Python
Raw Normal View History

2023-06-21 12:19:08 +00:00
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)