automationAbdul Rahman [abdulrahman]

Odoo Invoice Generation API

Flask REST API that generates invoices in Odoo ERP via XML-RPC. Accepts JSON, creates customers, products, and returns PDF invoices.

[IMAGE PLACEHOLDER: Odoo Invoice API flow diagram]

Tech Stack / Built With

Python
Flask
Odoo XML-RPC API
PDF Generation

Project Overview

A Flask REST API integrating with Odoo ERP via XML-RPC. The /process_invoice endpoint accepts JSON invoice data (company name, address, VAT, product details), creates or finds the customer in Odoo, creates products if needed, generates an invoice with tax calculation, confirms it, and returns the generated PDF invoice as a downloadable file.

Key Features / What It Does

JSON invoice data acceptance via REST API

Automatic customer creation or lookup in Odoo

Product creation if not existing

Tax calculation and invoice confirmation

PDF invoice generation and download

Need something similar?

We build custom solutions like Odoo Invoice Generation API — tailored to your exact requirements.

Start a Project
Currently taking new projects