The Customer party object
When you create a sales invoice, sales credit note, or proforma invoice, you include the buyer's details in the accounting_customer_party object. The fields and rules on this page describe that customer party and what you must send for Marmin to accept your request.
Customer rules are not the same as business profile or supplier rules.
Before you start
Decide whether the customer is a business or an individual. On sale documents, Marmin infers this from
scheme_agency_id:EIDorPASmeans individual; all other values (or omission) mean business.Check whether the customer's address is in the UAE (
country_code=AE) or outside the UAE.Registration details are optional. You do not need to send
scheme_agency_id,company_id,authority_name, orpassport_issuing_country_codeunless you want to include them.Keep registration and VAT separate:
Registration number (
company_id) — trade license, cabinet decision, Emirates ID, passport number, or other identifier (only when you send registration details)VAT number / TRN (
party_tax_scheme.company_id) — 15-digit UAE tax registration number
Attributes
Core fields
Address object
Party tax scheme object
Use this object only when you want to include the customer's UAE VAT registration (TRN).
If you omit party_tax_scheme entirely, the request is valid. If you include either company_id or tax_scheme, you must include both, and the TRN must match the UAE format above.
Validation by scenario
UAE business customer
Non-UAE business customer
UAE individual customer
If you include registration details
Registration fields are optional. If you choose to send scheme_agency_id, the following rules apply:
Using this object on sale documents
Include these fields on accounting_customer_party when you create or resubmit a sales invoice or sales credit note. The same rules apply on proforma invoices for the customer party.
For export transactions (profile_execution_id seventh character is 1), VAT details on a non-UAE buyer may be omitted.
