Script to extract sales invoices from Openbravo and submit them via the Banqup API by Unifiedpost. This repo is mirrored at https://gitlab.com/kikobar/org.openbravo.kikobar.banqup and https://github.com/kikobar/org.openbravo.kikobar.banqup
Go to file
2023-06-22 00:09:05 +08:00
.gitignore Extract invoice in JSON format 2023-06-21 20:19:08 +08:00
config-sample.py Move Banqup platform_id and client_id to config.py 2023-06-21 23:43:43 +08:00
extract-invoice.py Move Banqup platform_id and client_id to config.py 2023-06-21 23:43:43 +08:00
LICENSE Enter Copyrigh holder details 2023-06-22 00:09:05 +08:00
README.md Edit README.md 2023-06-21 23:58:22 +08:00

Objective

This project attempt to extract data from Openbravo to generate a JSON to submit to the Banqup API of Unifiedpost.

Requirements

  • Python installed on the machine running this application
  • Credentials for accessing an Openbravo 3+ instance running with the REST API enabled
  • Credentials for accessing the Banqup API by Unifiedpost

How to run this application

  • Copy the file config-sample.py to config.py
  • Edit config.py with your credentials for Openbravo and Banqup
  • Run python3 extract-invoice.py <documentNo>

Where <documentNo> is the human readable invoice number in Openbravo.