Skip to content

AENZBi/facture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facture OBR

This project is a web application for generating and managing invoices, integrated with EBMS Burundi for real-time posting of invoices. The application allows you to create invoices, list invoices, products, and customers, handle payments, generate and manage bills, and more.

Features

  • Generate invoices with seller and buyer information
  • Add multiple items to an invoice
  • Calculate total amount for the invoice
  • Save and list invoices
  • List products and customers
  • Handle payments
  • Generate bills from invoices
  • Print or save bills
  • List bills
  • Edit and delete orders
  • Cancel invoices
  • Place orders and integrate with EBMS Burundi for real-time posting of invoices

Usage

  1. Clone the repository:

    git clone https://github.com/AllyElvis/your-repo.git
    cd your-repo
  2. Open the index.html file in your web browser.

  3. Fill out the seller and buyer information, add items, and click "Generate Invoice" to create an invoice.

  4. Use the buttons under "Actions" to list invoices, products, and customers, handle payments, generate and manage bills, and more.

Integration with EBMS Burundi

To integrate with EBMS Burundi for real-time posting of invoices, the application sends invoice data to the EBMS API endpoint. Ensure you have the correct API URL and bearer token for authentication.

Project Structure

  • index.html: The main HTML file containing the structure of the web application.
  • styles.css: The CSS file for styling the web application.
  • script.js: The JavaScript file containing the functionality for generating invoices and managing actions.

Example

Invoice Generation

  1. Fill out the seller and buyer information.
  2. Add items by clicking "Add Item".
  3. Click "Generate Invoice" to see the invoice preview.
  4. The total amount will be calculated automatically.

Actions

  • List Invoices: Display a list of all generated invoices.
  • List Products: Display a list of all products.
  • List Customers: Display a list of all customers.
  • Get Payment: Handle the payment process.
  • Generate Bill: Generate a bill from the invoice.
  • Print or Save Bill: Print or save the generated bill.
  • List Bills: Display a list of all generated bills.
  • Edit Order: Edit an existing order.
  • Delete Order: Delete an existing order.
  • Cancel Invoice: Cancel an existing invoice.
  • Place Order: Place an order and integrate with EBMS Burundi for real-time posting of the invoice.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

Contact

For any inquiries, please contact Ally Elvis Nzeyimana.

About

Facture invoice

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published