issue_date | string | Required | Date the document was issued. Format: YYYY-MM-DD. |
transaction_date | string | Required | Date of the transaction. Format: YYYY-MM-DD. |
accounting_period | string | Required | Accounting period for the entry. Format: YYYY-MM. |
document_number | string | Required | Your unique document reference number (for example invoice or credit note number). |
document_type | string | Required | Type of document. One of: INVOICE, CREDIT_NOTE. |
entry_type | string | Required | Type of register entry. For purchase use PURCHASE or PURCHASE_ADJUSTMENT. |
note | string | Required | Free‑text note or reason for the document (for example adjustment reason). |
accounting_supplier_party | object | Required | Supplier (vendor) party details. Must include tax_scheme and postal_address. |
accounting_customer_party | object | Optional | For purchase, the API sets the customer from the business profile identified by profile_id in the URL. |
document_lines | array | Required | Line items. At least one item required. Each item uses the Document line structure below. |
document_currency_code | string | Required | ISO currency code for all amounts (for example AED). See Get Currency Names and Codes. |
document_source | string | Required | Source of the document (for example WEB, API). |
payable_amount | number | Required | Total amount payable including tax. Must be ≥ 0. |
tax_amount | number | Required | Total tax amount for the document. Must be ≥ 0. |
tax_exchange_rate | object | Optional | Exchange rate when tax currency differs from document currency. |