This Flask application provides a web form to create invoices (Factures) and post them to the EBMS API.
- Create invoices with customer and item details.
- Calculate total amounts before and after tax.
- Post the generated invoice to the EBMS API.
-
Clone the repository:
git clone https://github.com/allyelvis/facture-obr.git cd facture-obr
-
Create and activate a virtual environment (optional but recommended):
python3 -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required packages:
pip install Flask requests pydantic
- Open
app.py
and replaceYOUR_EBMS_BEARER_TOKEN
with your actual EBMS bearer token:EBMS_BEARER_TOKEN = "YOUR_EBMS_BEARER_TOKEN"
-
Run the Flask application:
python app.py
-
Open your web browser and navigate to
http://127.0.0.1:5000/
. -
Fill out the form to create an invoice. When you submit the form, the invoice will be created and posted to the EBMS API.
Business management software including POS functionalities integrated with EBMS Burundi.
You can install this package using npm:
npm install aenzbi