Skip to main content

Key Validation Rules

Core validation rules enforced by the API

Validation Rules​

RuleDetail
Organisation & Customer Identitytin and email are mandatory for both accounting_supplier_party and accounting_customer_party
Tax Consistencytax_total values must align with the sum of invoice_line tax calculations
Monetary Consistencylegal_monetary_total must be mathematically correct: tax_inclusive_amount = tax_exclusive_amount + total tax
Payment Means Codepayment_means must be a value from GET /resources/payment-means
Telephone Formattelephone must include the international country code and begin with '+' (e.g. +2348...)
Array Minimumsinvoice_line requires at least one entry. All other arrays (billing_reference, payment_means, etc.) are optional but must contain at least one entry if the field is included
Currency Codecurrency_code must be a valid ISO 4217 code from GET /resources/currencies
Invoice Type Codeinvoice_type_code must be a valid code from GET /resources/invoice-types