Alya Books

    Developer docs

    REST API, webhooks, MCP server and CLI for UAE e-invoicing

    PINT AE field reference

    Every business term of the UAE PINT AE profile, its UBL path, whether it is required, and the API field that carries it.

    Generated from the catalogue that also drives the editor's field configuration and the MCP resource einvoicing://reference/pint-ae-fields. Seller terms (BG-4 to BG-6) come from the organization profile; computed terms are derived from lines and allowances.

    Specification: urn:peppol:pint:billing-1@ae-1, profile urn:peppol:bis:billing, UBL 2.1 Invoice and CreditNote.

    Document

    BTNameUBL pathRequiredAPI fieldNotes
    BT-1Invoice numbercbc:IDyesinvoiceNumber
    BT-2Issue datecbc:IssueDateyesissueDate
    BT-3Invoice type codecbc:InvoiceTypeCodeyesinvoiceTypeCodeUAE: 380, 381, 480, 81; self-billing: 389, 261
    BT-5Currency codecbc:DocumentCurrencyCodeyescurrency
    BT-6VAT accounting currencycbc:TaxCurrencyCodenovatAccountingCurrencySet to AED automatically when the document currency is not AED
    BT-7Tax point datecbc:TaxPointDatenotaxPointDate
    BT-9Due datecbc:DueDatenodueDate
    BT-10Buyer referencecbc:BuyerReferencenobuyerReferencePO number or buyer's internal reference
    BT-11Project referencecac:ProjectReference > cbc:IDnoprojectReference
    BT-12Contract referencecac:ContractDocumentReference > cbc:IDnocontractReference
    BT-13Order referencecac:OrderReference > cbc:IDnoorderReference
    BT-14Sales order referencecac:OrderReference > cbc:SalesOrderIDnosalesOrderReference
    BT-15Receiving advice referencecac:ReceiptDocumentReference > cbc:IDnoreceiptReference
    BT-16Despatch advice referencecac:DespatchDocumentReference > cbc:IDnodespatchReference
    BT-17Tender or lot referencecac:OriginatorDocumentReference > cbc:IDnotenderReference
    BT-19Buyer accounting referencecbc:AccountingCostnobuyerAccountingReference
    BTAE-05Customs reference numbercac:StatementDocumentReference > cbc:IDnocustomsReference
    BT-20Payment terms textcac:PaymentTerms > cbc:Notenopayment.termsText
    BT-22Notescbc:Notenonotes
    BT-23Business process typecbc:ProfileIDyes(auto-set)urn:peppol:bis:billing
    BT-24Specification IDcbc:CustomizationIDyes(auto-set)urn:peppol:pint:billing-1@ae-1

    Delivery (BG-13)

    BTNameUBL pathRequiredAPI fieldNotes
    BTAE-22Incotermscac:DeliveryTerms > cbc:IDnoincotermsIncoterms 2020 code
    BT-72Delivery datecac:Delivery > cbc:ActualDeliveryDatenodeliveryDate
    BT-70Delivery namecac:Delivery > cac:DeliveryLocation > cbc:Descriptionnodelivery.name
    BT-75Delivery address streetcac:Delivery > cac:DeliveryLocation > cac:Address > cbc:StreetNamenodelivery.street
    BT-77Delivery citycac:Delivery > cac:DeliveryLocation > cac:Address > cbc:CityNamenodelivery.city
    BT-80Delivery country codecac:Delivery > cac:DeliveryLocation > cac:Address > cac:Country > cbc:IdentificationCodenodelivery.country
    BT-79Delivery emirate, state or regioncac:Delivery > cac:DeliveryLocation > cac:Address > cbc:CountrySubentitynodeliveryAddressEmirateRequired on e-commerce supplies and exports (IBR-142-AE, IBR-152-AE)

    Preceding Invoice (BG-3)

    BTNameUBL pathRequiredAPI fieldNotes
    BT-25Preceding invoice referencecac:BillingReference > cac:InvoiceDocumentReference > cbc:IDnoprecedingInvoice.numberRequired for credit/debit notes (381, 81, 383)
    BT-26Preceding invoice issue datecac:BillingReference > cac:InvoiceDocumentReference > cbc:IssueDatenoprecedingInvoice.issueDate

    Seller (BG-4)

    BTNameUBL pathRequiredAPI fieldNotes
    BT-27Seller namecac:AccountingSupplierParty > cac:Party > cac:PartyName > cbc:Nameyesorganization profile
    BT-31Seller tax ID (TRN)cac:AccountingSupplierParty > cac:PartyTaxScheme > cbc:CompanyIDyesorganization profileExactly 15 digits for UAE
    BT-34Seller endpoint IDcac:AccountingSupplierParty > cac:EndpointIDnoorganization profilePeppol participant ID
    BTAE-14Principal IDcac:SellerSupplierParty > cac:Party > cac:PartyIdentification > cbc:IDnoprincipalIdDisclosed agent billing (IBR-137-AE)

    Seller Address (BG-5)

    BTNameUBL pathRequiredAPI fieldNotes
    BT-35Seller address streetcbc:StreetNameyesorganization profile
    BT-37Seller citycbc:CityNameyesorganization profile
    BT-38Seller postal codecbc:PostalZonenoorganization profile
    BT-39Seller emirate/statecbc:CountrySubentitynoorganization profile
    BT-40Seller country codecac:Country > cbc:IdentificationCodeyesorganization profileDefault: AE

    Seller Contact (BG-6)

    BTNameUBL pathRequiredAPI fieldNotes
    BT-41Seller contact namecac:Contact > cbc:Namenoorganization profile
    BT-42Seller contact telephonecac:Contact > cbc:Telephonenoorganization profile
    BT-43Seller contact emailcac:Contact > cbc:ElectronicMailnoorganization profile

    Buyer (BG-7)

    BTNameUBL pathRequiredAPI fieldNotes
    BT-44Buyer namecac:AccountingCustomerParty > cac:PartyName > cbc:Nameyesbuyer.name
    BT-48Buyer tax ID (TRN)cac:AccountingCustomerParty > cac:PartyTaxScheme > cbc:CompanyIDnobuyer.trnRequired for VAT-registered buyers
    BT-49Buyer endpoint IDcac:AccountingCustomerParty > cac:EndpointIDnobuyer.peppolId
    BTAE-01Beneficiary IDcac:BuyerCustomerParty > cac:Party > cac:PartyIdentification > cbc:IDnobeneficiaryIdFree zone supplies (IBR-007-AE); the buyer when left empty

    Payee (BG-10)

    BTNameUBL pathRequiredAPI fieldNotes
    BT-59Payee namecac:PayeeParty > cac:PartyName > cbc:Namenopayee.nameRequired when payee differs from seller
    BT-60Payee identifiercac:PayeeParty > cac:PartyIdentification > cbc:IDnopayee.id

    Tax Representative (BG-11)

    BTNameUBL pathRequiredAPI fieldNotes
    BT-62Tax representative namecac:TaxRepresentativeParty > cac:PartyName > cbc:NamenotaxRepresentative.name
    BT-63Tax representative TRNcac:TaxRepresentativeParty > cac:PartyTaxScheme > cbc:CompanyIDnotaxRepresentative.trnRequired when tax rep name is provided

    Invoicing Period (BG-14)

    BTNameUBL pathRequiredAPI fieldNotes
    BTAE-06Frequency of billingcac:InvoicePeriod > cbc:DescriptionCodenobillingFrequencyDLY, WKY, Q15, MTH, Q45, Q60, QTR, YRL, HYR, OTH
    BT-73Invoicing period startcac:InvoicePeriod > cbc:StartDatenobillingPeriod.startDate
    BT-74Invoicing period endcac:InvoicePeriod > cbc:EndDatenobillingPeriod.endDate

    Payment (BG-16)

    BTNameUBL pathRequiredAPI fieldNotes
    BT-81Payment means codecac:PaymentMeans > cbc:PaymentMeansCodeyespaymentMeans[].codeSeveral payment methods per invoice. UAE: 1, 10, 20, 21, 30, 49, 54, 55, 68. Required except on credit notes and deemed supplies (IBR-191-AE)
    BT-82Payment means textcac:PaymentMeans > cbc:PaymentMeansCode/@namenopaymentMeans[].information
    BT-83Remittance information (payment reference)cac:PaymentMeans > cbc:PaymentIDnopaymentMeans[].reference
    BT-84Payment account (IBAN)cac:PayeeFinancialAccount > cbc:IDnopaymentMeans[].accountIdRequired for credit transfer (IBR-192-AE); defaults to the account in Settings → Bank details
    BT-85Payment account namecac:PayeeFinancialAccount > cbc:NamenopaymentMeans[].accountName
    BT-86Payment BIC/SWIFTcac:PayeeFinancialAccount > cac:FinancialInstitutionBranch > cbc:IDnopaymentMeans[].bic
    BT-87Payment card number (last digits)cac:CardAccount > cbc:PrimaryAccountNumberIDnopaymentMeans[].cardPanLast 4 to 6 digits only; at most one card per invoice (IBR-066)
    BT-88Payment card holdercac:CardAccount > cbc:HolderNamenopaymentMeans[].cardHolder
    BT-89Mandate referencecac:PaymentMandate > cbc:IDnopaymentMeans[].mandateReferenceAt most one direct debit per invoice (IBR-067)
    BT-90Bank-assigned creditor identifiercac:AccountingSupplierParty > cac:Party > cac:PartyIdentification > cbc:ID[@schemeID='SEPA']nopaymentMeans[].creditorId
    BT-91Debited accountcac:PaymentMandate > cac:PayerFinancialAccount > cbc:IDnopaymentMeans[].debitedAccount
    BT-178Payment instructions IDcac:PaymentMeans > cbc:IDnopaymentMeans[].instructionId

    Allowances/Charges (BG-20/21)

    BTNameUBL pathRequiredAPI fieldNotes
    BT-92Allowance amountcac:AllowanceCharge > cbc:Amountyesallowances[].amountMust be > 0
    BT-93Allowance base amountcac:AllowanceCharge > cbc:BaseAmountnoallowances[].baseAmount
    BT-94Allowance percentagecac:AllowanceCharge > cbc:MultiplierFactorNumericnoallowances[].percentage
    BT-97Allowance reasoncac:AllowanceCharge > cbc:AllowanceChargeReasonnoallowances[].reasonReason or reason code required
    BT-99Charge amountcac:AllowanceCharge > cbc:Amountyesallowances[].amountcharge_indicator=true
    BT-104Charge reasoncac:AllowanceCharge > cbc:AllowanceChargeReasonnoallowances[].reasoncharge_indicator=true

    Totals (BG-22)

    BTNameUBL pathRequiredAPI fieldNotes
    BT-106Sum of line net amountscac:LegalMonetaryTotal > cbc:LineExtensionAmountyes(computed)
    BT-109Tax exclusive amountcbc:TaxExclusiveAmountyes(computed)
    BT-110Tax total amountcac:TaxTotal > cbc:TaxAmountyes(computed)
    BT-112Tax inclusive amountcbc:TaxInclusiveAmountyes(computed)
    BT-115Payable amountcbc:PayableAmountyes(computed)

    Line (BG-25)

    BTNameUBL pathRequiredAPI fieldNotes
    BT-126Line IDcac:InvoiceLine > cbc:IDyesitems[].lineNumber
    BT-129Invoiced quantitycbc:InvoicedQuantityyesitems[].quantityMust be > 0
    BT-130Quantity unit codecbc:InvoicedQuantity@unitCodeyesitems[].unitCodeUN/ECE Rec 20 codes (EA, KGM, etc.)
    BT-131Line net amountcbc:LineExtensionAmountyesitems[].(computed)Must match qty × price
    BT-146Item net pricecac:Price > cbc:PriceAmountyesitems[].unitPrice
    BT-151Tax category codecac:ClassifiedTaxCategory > cbc:IDyesitems[].taxCategoryS=Standard, Z=Zero-rated, E=Exempt, AE=Reverse charge
    BT-121VAT exemption reason codecac:ClassifiedTaxCategory > cbc:TaxExemptionReasonCodenoitems[].taxExemptionReasonCodeUAE list DL8.46.1 to DL8.46.4; required on exempt lines (IBR-167-AE)
    BT-152Tax rate (%)cac:ClassifiedTaxCategory > cbc:Percentyesitems[].taxRateUAE standard = 5%
    BT-153Item descriptioncac:Item > cbc:Descriptionyesitems[].description
    BT-127Line notecac:InvoiceLine > cbc:Notenoitems[].note
    BT-136Line allowance (discount)cac:InvoiceLine > cac:AllowanceCharge[ChargeIndicator=false] > cbc:Amountnoitems[].allowanceAmountWith reason IBT-139 / IBT-140
    BT-141Line chargecac:InvoiceLine > cac:AllowanceCharge[ChargeIndicator=true] > cbc:Amountnoitems[].chargeAmountWith reason IBT-144 / IBT-145
    BT-156Buyer's item identifiercac:BuyersItemIdentification > cbc:IDnoitems[].buyerItemId
    BT-159Item country of origincac:OriginCountry > cbc:IdentificationCodenoitems[].originCountry
    BTAE-23Batch numbercac:ItemInstance > cac:LotIdentification > cbc:LotNumberIDnoitems[].batchNumber
    BTAE-13Item typecac:CommodityClassification > cbc:CommodityCodenoitems[].itemTypeG goods, S services, B both
    BTAE-17Service accounting codecac:AdditionalItemIdentification > cbc:ID[@schemeID='SAC']noitems[].serviceAccountingCodeRequired for services (IBR-185-AE)
    BT-158Item classification (HS code)cac:CommodityClassification > cbc:ItemClassificationCodenoitems[].hsnCode

    Optional field groups in the editor

    These switches in the editor's Fields dialog reveal groups of business terms; the API accepts them at any time.

    GroupBusiness termsAPI keys
    Buyer reference / PO numberBT-10buyerReference
    Order referenceBT-13orderReference
    Sales order referenceBT-14salesOrderReference
    Contract reference and valueBT-12contractReference, contractValue
    Despatch and receiving adviceBT-16, BT-15despatchReference, receiptReference
    Tender or lot referenceBT-17tenderReference
    Customs reference and IncotermsBTAE-22customsReference, incoterms
    Buyer accounting referenceBT-19buyerAccountingReference
    Project referenceBT-11projectReference
    Preceding invoice reference and dateBT-25, BT-26precedingInvoice.number, precedingInvoice.issueDate
    Invoicing periodBT-73, BT-74billingPeriod.startDate, billingPeriod.endDate
    Frequency of billingBTAE-06billingFrequency
    Date of supply (tax point)BT-7taxPointDate
    Delivery date and locationBT-72, BT-70deliveryDate, delivery.name
    Delivery addressBT-75, BT-77, BT-80delivery.street, delivery.city, deliveryAddressEmirate, delivery.country
    Payee (when different from seller)BT-59, BT-60payee.name, payee.id
    Tax representativeBT-62, BT-63taxRepresentative.name, taxRepresentative.trn, sellerTaxRepStreet, sellerTaxRepCity, sellerTaxRepEmirate, sellerTaxRepCountryCode
    Beneficiary (free zone supplies)BTAE-01beneficiaryId
    Principal (disclosed agent billing)BTAE-14principalId
    Early payment discount tiersBT-20earlyPaymentDiscounts
    Salutation, introduction and closing textPDF onlysalutation, introduction, closing, signatureText

    MCP tools per group

    GroupTools
    Invoice creationcreate_tax_invoice, create_credit_note, create_debit_note, create_invoices_batch, replace_draft_invoice
    Invoice managementlist_invoices, get_invoice, get_invoice_status, get_invoice_validation, validate_invoice, submit_invoice, send_invoice, download_invoice, delete_draft_invoice, update_invoice_housekeeping, list_design_templates, list_invoice_payments, record_invoice_payment
    Invoice numbersget_next_invoice_number, verify_invoice_number, get_invoice_number_settings, update_invoice_number_settings
    Incoming invoicessimulate_incoming_invoice, import_incoming_invoice, list_incoming_imports, list_incoming_invoices, get_import, get_import_status, get_import_validation, get_import_content, get_import_summary, get_import_line_items, get_import_seller, get_import_buyer, get_import_taxes, get_import_payment_terms, get_import_payment_means, get_import_delivery, get_import_attachments, get_import_source, review_incoming_invoice, update_incoming_invoice, record_incoming_payment, delete_import
    Customerslist_customers, get_customer, create_customer, update_customer, delete_customer, get_next_customer_number, verify_customer_number, lookup_peppol_participant, verify_customer_peppol, list_contact_persons, add_contact_person, update_contact_person, delete_contact_person, list_contact_addresses, add_contact_address, update_contact_address, delete_contact_address, import_customers
    Productslist_products, get_product, create_product, update_product, delete_product, check_product_code, get_product_price, list_bundles, get_bundle, create_bundle, update_bundle, delete_bundle, expand_bundle, list_price_lists, get_price_list, create_price_list, update_price_list, delete_price_list, import_products
    Webhookslist_webhooks, list_webhook_events, create_webhook, update_webhook, delete_webhook, test_webhook, list_webhook_deliveries, retry_webhook_delivery
    Custom fieldslist_custom_fields, create_custom_field, update_custom_field, delete_custom_field, list_field_templates, create_field_template, update_field_template, activate_field_template, delete_field_template
    Projectslist_projects, get_project, create_project, update_project, delete_project, list_project_documents
    Recurring invoiceslist_recurring_invoices, get_recurring_invoice, create_recurring_invoice, update_recurring_invoice, activate_recurring_invoice, pause_recurring_invoice, cancel_recurring_invoice, run_recurring_invoice_now, list_recurring_runs, preview_recurring_invoice, make_invoice_recurring, delete_recurring_invoice
    Settingslist_email_templates, save_email_template, get_options
    VATlist_tax_rates, create_tax_rate, update_tax_rate, list_vat_periods, get_vat_worksheet, list_vat_returns, save_vat_return, reopen_vat_return, check_period_date, export_accounting
    ERP intakedry_run_invoice, dry_run_erp_message, send_erp_message, list_erp_messages, get_erp_message, replay_erp_message, list_erp_connectors, update_erp_connector
    Integrationslist_connectors, sync_connector
    Paymentscreate_payment_link, list_payment_links, cancel_payment_link
    Bank feedslist_bank_transactions, match_bank_transaction, ignore_bank_transaction, import_bank_statement, sync_bank_feeds
    Accountget_account, list_managed_organizations