Sale invoice examples
This page provides ready-to-use sales invoice payloads for common OMN scenarios. All examples target POST /api/sales-invoices/{supplier_profile_id} and can be adapted to your profile and business data.
How to use these examples
Replace identifiers (
profile_id,company_id,document_numberetc) with your own values.Ensure all party tax data and tax categories are valid for your VAT treatment.
Start with the minimal example, then extend with optional fields as needed.
Example 1: Minimal sales invoice
Use this when you need the smallest valid payload for a normal OMN standard tax invoice. See the Minimal Sales Invoice invoice example in the right-side code samples panel.
Example 2: Sales invoice with document level charges and allowances
Use this when you need document-level charges and discounts. See the Sales invoice with document-level charges + allowances example in the right-side code samples panel.
Example 3: Sales invoice with line level charges and allowances
Use this when you need line-level charges and discounts while still applying document level charges or discounts. See the Sales invoice with line-level charges + allowances example in the right-side code samples panel.
Recommended progression
Validate with Example 1 in sandbox.
Add document-level adjustments using Example 2.
Use Example 3 when your adjustments are applied at line level.