Create a customer invoice in the connected accounting system
POST/api/v1/connectors/:connector_id/invoices
Creates the invoice in the organisation's own accounting system (Odoo today) — the system of record — and by default posts it there, so the connector sends it over Peppol exactly as it sends an invoice keyed in Odoo and both systems hold the same document under Odoo's number. The customer is matched by Peppol ID, VAT number or exact name and created when none matches; the company's sales tax at each line's rate is applied where it exists. The answer carries Odoo's number, state and amounts, how the customer was matched, and every warning in words.
Request
Responses
- 200
- 422
Successful Response
Validation Error