{
"data": {
"document_type": "tax_invoice",
"type_code": "380",
"id": "INV-2026-0001",
"uuid": "5d80de2f-1393-445b-93a5-e8dd991dd8f0",
"customization_id": "urn:peppol:pint:billing-1@ae-1",
"profile_id": "urn:peppol:bis:billing",
"transaction_type_code": "00000000",
"xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Invoice xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\" xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\" xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\">\n <cbc:CustomizationID>urn:peppol:pint:billing-1@ae-1</cbc:CustomizationID>\n <cbc:ProfileID>urn:peppol:bis:billing</cbc:ProfileID>\n <cbc:ProfileExecutionID>00000000</cbc:ProfileExecutionID>\n <cbc:ID>INV-2026-0001</cbc:ID>\n <cbc:UUID>5d80de2f-1393-445b-93a5-e8dd991dd8f0</cbc:UUID>\n <cbc:IssueDate>2026-11-25</cbc:IssueDate>\n <cbc:IssueTime>10:30:00+04:00</cbc:IssueTime>\n <cbc:DueDate>2026-12-25</cbc:DueDate>\n <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>\n <cbc:Note>Tax invoice</cbc:Note>\n <cbc:DocumentCurrencyCode>AED</cbc:DocumentCurrencyCode>\n <cbc:BuyerReference>PO-7781</cbc:BuyerReference>\n <cac:OrderReference>\n <cbc:ID>PO-7781</cbc:ID>\n </cac:OrderReference>\n <cac:AccountingSupplierParty>\n <cac:Party>\n <cbc:EndpointID schemeID=\"0235\">1001234567</cbc:EndpointID>\n <cac:PartyName>\n <cbc:Name>شركة النور للتجارة ذ.م.م</cbc:Name>\n </cac:PartyName>\n <cac:PostalAddress>\n <cbc:StreetName>Sheikh Zayed Road</cbc:StreetName>\n <cbc:CityName>Dubai</cbc:CityName>\n <cbc:PostalZone>00000</cbc:PostalZone>\n <cbc:CountrySubentity>DXB</cbc:CountrySubentity>\n <cac:Country>\n <cbc:IdentificationCode>AE</cbc:IdentificationCode>\n </cac:Country>\n </cac:PostalAddress>\n <cac:PartyTaxScheme>\n <cbc:CompanyID>100123456700003</cbc:CompanyID>\n <cac:TaxScheme>\n <cbc:ID>VAT</cbc:ID>\n </cac:TaxScheme>\n </cac:PartyTaxScheme>\n <cac:PartyLegalEntity>\n <cbc:RegistrationName>Al Noor Trading LLC</cbc:RegistrationName>\n <cbc:CompanyID schemeAgencyID=\"TL\" schemeAgencyName=\"Dubai Department of Economy and Tourism\">1234567</cbc:CompanyID>\n </cac:PartyLegalEntity>\n <cac:Contact>\n <cbc:Name>Accounts</cbc:Name>\n <cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>\n </cac:Contact>\n </cac:Party>\n </cac:AccountingSupplierParty>\n <cac:AccountingCustomerParty>\n <cac:Party>\n <cbc:EndpointID schemeID=\"0235\">1009876543</cbc:EndpointID>\n <cac:PartyName>\n <cbc:Name>شركة الخليج للتجزئة ذ.م.م</cbc:Name>\n </cac:PartyName>\n <cac:PostalAddress>\n <cbc:StreetName>Corniche Road</cbc:StreetName>\n <cbc:CityName>Abu Dhabi</cbc:CityName>\n <cbc:CountrySubentity>AUH</cbc:CountrySubentity>\n <cac:Country>\n <cbc:IdentificationCode>AE</cbc:IdentificationCode>\n </cac:Country>\n </cac:PostalAddress>\n <cac:PartyTaxScheme>\n <cbc:CompanyID>100987654300003</cbc:CompanyID>\n <cac:TaxScheme>\n <cbc:ID>VAT</cbc:ID>\n </cac:TaxScheme>\n </cac:PartyTaxScheme>\n <cac:PartyLegalEntity>\n <cbc:RegistrationName>Gulf Retail Co. LLC</cbc:RegistrationName>\n <cbc:CompanyID schemeAgencyID=\"TL\" schemeAgencyName=\"Abu Dhabi Department of Economic Development\">7654321</cbc:CompanyID>\n </cac:PartyLegalEntity>\n </cac:Party>\n </cac:AccountingCustomerParty>\n <cac:PaymentMeans>\n <cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>\n <cac:PayeeFinancialAccount>\n <cbc:ID>AE070331234567890123456</cbc:ID>\n <cbc:Name>Al Noor Trading LLC</cbc:Name>\n </cac:PayeeFinancialAccount>\n </cac:PaymentMeans>\n <cac:PaymentTerms>\n <cbc:Note>Net 30</cbc:Note>\n </cac:PaymentTerms>\n <cac:AllowanceCharge>\n <cbc:ChargeIndicator>false</cbc:ChargeIndicator>\n <cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>\n <cbc:AllowanceChargeReason>Loyalty discount</cbc:AllowanceChargeReason>\n <cbc:Amount currencyID=\"AED\">20.00</cbc:Amount>\n <cac:TaxCategory>\n <cbc:ID>S</cbc:ID>\n <cbc:Percent>5</cbc:Percent>\n <cac:TaxScheme>\n <cbc:ID>VAT</cbc:ID>\n </cac:TaxScheme>\n </cac:TaxCategory>\n </cac:AllowanceCharge>\n <cac:TaxTotal>\n <cbc:TaxAmount currencyID=\"AED\">46.50</cbc:TaxAmount>\n <cbc:TaxIncludedIndicator>false</cbc:TaxIncludedIndicator>\n <cac:TaxSubtotal>\n <cbc:TaxableAmount currencyID=\"AED\">930.00</cbc:TaxableAmount>\n <cbc:TaxAmount currencyID=\"AED\">46.50</cbc:TaxAmount>\n <cac:TaxCategory>\n <cbc:ID>S</cbc:ID>\n <cbc:Percent>5</cbc:Percent>\n <cac:TaxScheme>\n <cbc:ID>VAT</cbc:ID>\n </cac:TaxScheme>\n </cac:TaxCategory>\n </cac:TaxSubtotal>\n </cac:TaxTotal>\n <cac:LegalMonetaryTotal>\n <cbc:LineExtensionAmount currencyID=\"AED\">950.00</cbc:LineExtensionAmount>\n <cbc:TaxExclusiveAmount currencyID=\"AED\">930.00</cbc:TaxExclusiveAmount>\n <cbc:TaxInclusiveAmount currencyID=\"AED\">976.50</cbc:TaxInclusiveAmount>\n <cbc:AllowanceTotalAmount currencyID=\"AED\">20.00</cbc:AllowanceTotalAmount>\n <cbc:PayableAmount currencyID=\"AED\">976.50</cbc:PayableAmount>\n </cac:LegalMonetaryTotal>\n <cac:InvoiceLine>\n <cbc:ID>1</cbc:ID>\n <cbc:InvoicedQuantity unitCode=\"KGM\">20</cbc:InvoicedQuantity>\n <cbc:LineExtensionAmount currencyID=\"AED\">900.00</cbc:LineExtensionAmount>\n <cac:Item>\n <cbc:Description>Arabic coffee beans 1 kg</cbc:Description>\n <cbc:Name>Arabic coffee beans 1 kg</cbc:Name>\n <cac:CommodityClassification>\n <cbc:CommodityCode>G</cbc:CommodityCode>\n <cbc:ItemClassificationCode listID=\"HS\">090111</cbc:ItemClassificationCode>\n </cac:CommodityClassification>\n <cac:ClassifiedTaxCategory>\n <cbc:ID>S</cbc:ID>\n <cbc:Percent>5</cbc:Percent>\n <cac:TaxScheme>\n <cbc:ID>VAT</cbc:ID>\n </cac:TaxScheme>\n </cac:ClassifiedTaxCategory>\n <cac:AdditionalItemProperty>\n <cbc:Name>name_ar</cbc:Name>\n <cbc:Value>حبوب قهوة عربية 1 كجم</cbc:Value>\n </cac:AdditionalItemProperty>\n </cac:Item>\n <cac:Price>\n <cbc:PriceAmount currencyID=\"AED\">45.0000</cbc:PriceAmount>\n <cbc:BaseQuantity unitCode=\"KGM\">1</cbc:BaseQuantity>\n <cac:AllowanceCharge>\n <cbc:ChargeIndicator>false</cbc:ChargeIndicator>\n <cbc:Amount currencyID=\"AED\">0.0000</cbc:Amount>\n <cbc:BaseAmount currencyID=\"AED\">45.0000</cbc:BaseAmount>\n </cac:AllowanceCharge>\n </cac:Price>\n <cac:ItemPriceExtension>\n <cbc:Amount currencyID=\"AED\">945.00</cbc:Amount>\n <cac:TaxTotal>\n <cbc:TaxAmount currencyID=\"AED\">45.00</cbc:TaxAmount>\n </cac:TaxTotal>\n </cac:ItemPriceExtension>\n </cac:InvoiceLine>\n <cac:InvoiceLine>\n <cbc:ID>2</cbc:ID>\n <cbc:InvoicedQuantity unitCode=\"H87\">1</cbc:InvoicedQuantity>\n <cbc:LineExtensionAmount currencyID=\"AED\">50.00</cbc:LineExtensionAmount>\n <cac:Item>\n <cbc:Description>Delivery</cbc:Description>\n <cbc:Name>Delivery</cbc:Name>\n <cac:AdditionalItemIdentification>\n <cbc:ID schemeID=\"SAC\">9965</cbc:ID>\n </cac:AdditionalItemIdentification>\n <cac:CommodityClassification>\n <cbc:CommodityCode>S</cbc:CommodityCode>\n </cac:CommodityClassification>\n <cac:ClassifiedTaxCategory>\n <cbc:ID>S</cbc:ID>\n <cbc:Percent>5</cbc:Percent>\n <cac:TaxScheme>\n <cbc:ID>VAT</cbc:ID>\n </cac:TaxScheme>\n </cac:ClassifiedTaxCategory>\n <cac:AdditionalItemProperty>\n <cbc:Name>name_ar</cbc:Name>\n <cbc:Value>التوصيل</cbc:Value>\n </cac:AdditionalItemProperty>\n </cac:Item>\n <cac:Price>\n <cbc:PriceAmount currencyID=\"AED\">50.0000</cbc:PriceAmount>\n <cbc:BaseQuantity unitCode=\"H87\">1</cbc:BaseQuantity>\n <cac:AllowanceCharge>\n <cbc:ChargeIndicator>false</cbc:ChargeIndicator>\n <cbc:Amount currencyID=\"AED\">0.0000</cbc:Amount>\n <cbc:BaseAmount currencyID=\"AED\">50.0000</cbc:BaseAmount>\n </cac:AllowanceCharge>\n </cac:Price>\n <cac:ItemPriceExtension>\n <cbc:Amount currencyID=\"AED\">52.50</cbc:Amount>\n <cac:TaxTotal>\n <cbc:TaxAmount currencyID=\"AED\">2.50</cbc:TaxAmount>\n </cac:TaxTotal>\n </cac:ItemPriceExtension>\n </cac:InvoiceLine>\n</Invoice>\n"
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request POST 'https://zylalabs.com/api/15704/uae+e-invoicing+api+-+pint+ae+xml+generator/42607/build+pint+ae+invoice' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"document_type":"tax_invoice","id":"INV-2026-0001","issue_date":"2026-11-25","issue_time":"10:30:00","due_date":"2026-12-25","currency":"AED","note":"Tax invoice","buyer_reference":"PO-7781","purchase_order_id":"PO-7781","seller":{"name":"Al Noor Trading LLC","name_ar":"شركة النور للتجارة ذ.م.م","trn":"100123456700003","legal_id":{"type":"TL","value":"1234567","authority":"Dubai Department of Economy and Tourism"},"address":{"street":"Sheikh Zayed Road","city":"Dubai","region":"DXB","postal_code":"00000","country":"AE"},"contact":{"name":"Accounts","email":"[email protected]"}},"buyer":{"name":"Gulf Retail Co. LLC","name_ar":"شركة الخليج للتجزئة ذ.م.م","trn":"100987654300003","legal_id":{"type":"TL","value":"7654321","authority":"Abu Dhabi Department of Economic Development"},"address":{"street":"Corniche Road","city":"Abu Dhabi","region":"AUH","country":"AE"}},"payment":{"means_code":"30","account_id":"AE070331234567890123456","account_name":"Al Noor Trading LLC","terms":"Net 30"},"lines":[{"name":"Arabic coffee beans 1 kg","name_ar":"حبوب قهوة عربية 1 كجم","quantity":"20","unit_code":"KGM","unit_price":"45.00","vat_category":"S","item_type":"G","hs_code":"090111"},{"name":"Delivery","name_ar":"التوصيل","quantity":"1","unit_price":"50.00","vat_category":"S","item_type":"S","service_code":"9965"}],"allowances_charges":[{"type":"allowance","amount":"20.00","reason":"Loyalty discount","vat_category":"S"}]}'
{
"data": {
"valid": true,
"fatal_count": 0,
"warning_count": 0,
"rules_evaluated": 117,
"document": {
"type": "invoice",
"type_code": "380",
"id": "INV-2026-0001",
"customization_id": "urn:peppol:pint:billing-1@ae-1",
"profile_id": "urn:peppol:bis:billing",
"transaction_type_code": "00000000",
"currency": "AED",
"uuid": "6d640f96-6cd0-4d67-b283-9c2ea17d71d8"
},
"issues": []
},
"meta": {
"request_id": "req_3d477e76fc8ecc46",
"version": "v1"
}
}
curl --location --request POST 'https://zylalabs.com/api/15704/uae+e-invoicing+api+-+pint+ae+xml+generator/42608/validate+pint+ae+invoice' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"xml":"\n\n urn:peppol:pint:billing-1@ae-1 \n urn:peppol:bis:billing \n 00000000 \n INV-2026-0001 \n 6d640f96-6cd0-4d67-b283-9c2ea17d71d8 \n 2026-11-25 \n 10:30:00+04:00 \n 2026-12-25 \n 380 \n Tax invoice \n AED \n PO-7781 \n \n PO-7781 \n \n \n \n 1001234567 \n \n شركة النور للتجارة ذ.م.م \n \n \n Sheikh Zayed Road \n Dubai \n 00000 \n DXB \n \n AE \n \n \n \n 100123456700003 \n \n VAT \n \n \n \n Al Noor Trading LLC \n 1234567 \n \n \n Accounts \n [email protected] \n \n \n \n \n \n 1009876543 \n \n شركة الخليج للتجزئة ذ.م.م \n \n \n Corniche Road \n Abu Dhabi \n AUH \n \n AE \n \n \n \n 100987654300003 \n \n VAT \n \n \n \n Gulf Retail Co. LLC \n 7654321 \n \n \n \n \n 30 \n \n AE070331234567890123456 \n Al Noor Trading LLC \n \n \n \n Net 30 \n \n \n false \n 95 \n Loyalty discount \n 20.00 \n \n S \n 5 \n \n VAT \n \n \n \n \n 46.50 \n false \n \n 930.00 \n 46.50 \n \n S \n 5 \n \n VAT \n \n \n \n \n \n 950.00 \n 930.00 \n 976.50 \n 20.00 \n 976.50 \n \n \n 1 \n 20 \n 900.00 \n \n Arabic coffee beans 1 kg \n Arabic coffee beans 1 kg \n \n G \n 090111 \n \n \n S \n 5 \n \n VAT \n \n \n \n name_ar \n حبوب قهوة عربية 1 كجم \n \n \n \n 45.0000 \n 1 \n \n false \n 0.0000 \n 45.0000 \n \n \n \n 945.00 \n \n 45.00 \n \n \n \n \n 2 \n 1 \n 50.00 \n \n Delivery \n Delivery \n \n 9965 \n \n \n S \n \n \n S \n 5 \n \n VAT \n \n \n \n name_ar \n التوصيل \n \n \n \n 50.0000 \n 1 \n \n false \n 0.0000 \n 50.0000 \n \n \n \n 52.50 \n \n 2.50 \n \n \n \n \n"}'
{
"data": {
"html": "<!doctype html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Tax Invoice INV-2026-0001</title><style>\n body{font-family:'Noto Naskh Arabic','Noto Sans','DejaVu Sans',sans-serif;color:#1a1a1a;font-size:12px;margin:0}\n .wrap{padding:8px}\n h1{font-size:20px;margin:0 0 2px} h1 span{display:block;font-size:17px}\n h3{font-size:11px;text-transform:none;color:#555;margin:0 0 4px;font-weight:600}\n .head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:2px solid #0f5132;padding-bottom:8px;margin-bottom:10px}\n .meta{text-align:right;line-height:1.7} .meta b{display:inline-block;min-width:90px}\n .parties{display:flex;gap:10px;margin-bottom:10px} .box{flex:1;border:1px solid #cfd8d3;border-radius:4px;padding:8px}\n .nm{font-weight:700;font-size:13px}\n table{width:100%;border-collapse:collapse;margin-top:6px} th,td{border:1px solid #cfd8d3;padding:4px 6px;text-align:start;vertical-align:top}\n th{background:#eef4f0;font-size:11px} .r{text-align:end} .c{text-align:center} .num{direction:ltr;unicode-bidi:isolate;white-space:nowrap}\n .sub{color:#555;font-size:11px} .tot{width:55%;margin-inline-start:auto;margin-top:10px}\n .tot td{border:none;border-bottom:1px solid #e3e8e5} .grand td{font-weight:700;font-size:14px;border-top:2px solid #0f5132}\n .foot{margin-top:14px;color:#777;font-size:10px;border-top:1px solid #e3e8e5;padding-top:6px}\n </style></head><body><div class=\"wrap\">\n <div class=\"head\"><div><h1>Tax Invoice<span dir=\"rtl\">فاتورة ضريبية</span></h1>\n <div class=\"sub\">PINT AE (Peppol) preview / معاينة وفق نموذج PINT AE</div></div>\n <div class=\"meta\"><div><b>No. / الرقم</b> <span class=\"num\">INV-2026-0001</span></div>\n <div><b>Date / التاريخ</b> <span class=\"num\">2026-11-25</span></div>\n <div><b>Due / الاستحقاق</b> <span class=\"num\">2026-12-25</span></div>\n <div><b>Currency / العملة</b> AED</div>\n \n </div></div>\n <div class=\"parties\">\n <div class=\"box\"><h3>Seller <span dir=\"rtl\">البائع</span></h3>\n <div class=\"nm\">Al Noor Trading LLC</div>\n <div class=\"nm\" dir=\"rtl\">شركة النور للتجارة ذ.م.م</div>\n <div>TRN / الرقم الضريبي: <span class=\"num\">100123456700003</span></div>\n <div>Sheikh Zayed Road, Dubai, DXB, AE</div>\n <div>[email protected]</div>\n </div>\n <div class=\"box\"><h3>Buyer <span dir=\"rtl\">المشتري</span></h3>\n <div class=\"nm\">Gulf Retail Co. LLC</div>\n <div class=\"nm\" dir=\"rtl\">شركة الخليج للتجزئة ذ.م.م</div>\n <div>TRN / الرقم الضريبي: <span class=\"num\">100987654300003</span></div>\n <div>Corniche Road, Abu Dhabi, AUH, AE</div>\n \n </div></div>\n <table><thead><tr><th>#</th><th>Description / الوصف</th><th class=\"r\">Qty / الكمية</th><th class=\"r\">Unit price / السعر</th><th>VAT / الضريبة</th><th class=\"r\">Net / الصافي</th></tr></thead><tbody><tr><td class=\"num\">1</td>\n <td>Arabic coffee beans 1 kg<div dir=\"rtl\" class=\"sub\">حبوب قهوة عربية 1 كجم</div></td>\n <td class=\"num r\">20 KGM</td>\n <td class=\"num r\">45.00</td>\n <td class=\"c\">S 5%</td>\n <td class=\"r\"><span class=\"num\">900.00</span></td></tr><tr><td class=\"num\">2</td>\n <td>Delivery<div dir=\"rtl\" class=\"sub\">التوصيل</div></td>\n <td class=\"num r\">1 H87</td>\n <td class=\"num r\">50.00</td>\n <td class=\"c\">S 5%</td>\n <td class=\"r\"><span class=\"num\">50.00</span></td></tr></tbody></table>\n <table class=\"tot\"><tbody><tr><td>Allowance / خصم: Loyalty discount</td><td class=\"r\">-20.00</td></tr></tbody></table>\n <table class=\"tot\"><tbody>\n <tr><td>Total excl. VAT / الإجمالي بدون ضريبة</td><td class=\"r\"><span class=\"num\">930.00</span> AED</td></tr>\n <tr><td>VAT / ضريبة القيمة المضافة</td><td class=\"r\"><span class=\"num\">46.50</span> AED</td></tr>\n <tr><td>Total incl. VAT / الإجمالي شامل الضريبة</td><td class=\"r\"><span class=\"num\">976.50</span> AED</td></tr>\n \n <tr class=\"grand\"><td>Amount due / المبلغ المستحق</td><td class=\"r\"><span class=\"num\">976.50</span> AED</td></tr>\n </tbody></table>\n <table class=\"tot\"><thead><tr><th>VAT breakdown / تفصيل الضريبة</th><th class=\"r\">Taxable / الخاضع</th><th class=\"r\">VAT / الضريبة</th></tr></thead><tbody><tr><td>Standard rate <span dir=\"rtl\">النسبة الأساسية</span> (S 5%)</td><td class=\"r\"><span class=\"num\">930.00</span></td><td class=\"r\"><span class=\"num\">46.50</span></td></tr></tbody></table>\n <p class=\"sub\">Tax invoice</p>\n <div class=\"foot\">Human-readable preview generated from the same data as the XML. It is not the legal document: the XML is. / معاينة مقروءة، والمستند الفعلي هو ملف XML.</div>\n </div></body></html>",
"totals": {
"currency": "AED",
"line_extension": "950.00",
"allowance_total": "20.00",
"charge_total": "0.00",
"tax_exclusive": "930.00",
"vat_total": "46.50",
"tax_inclusive": "976.50",
"prepaid": "0.00",
"rounding": "0.00",
"payable": "976.50",
"vat_breakdown": [
{
"category": "S",
"rate": "5",
"taxable_amount": "930.00",
"vat_amount": "46.50"
}
]
}
},
"meta": {
"request_id": "req_c39c749b9bb606d2",
"version": "v1"
}
}
curl --location --request POST 'https://zylalabs.com/api/15704/uae+e-invoicing+api+-+pint+ae+xml+generator/42609/invoice+preview' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"invoice":{"document_type":"tax_invoice","id":"INV-2026-0001","issue_date":"2026-11-25","issue_time":"10:30:00","due_date":"2026-12-25","currency":"AED","note":"Tax invoice","buyer_reference":"PO-7781","purchase_order_id":"PO-7781","seller":{"name":"Al Noor Trading LLC","name_ar":"شركة النور للتجارة ذ.م.م","trn":"100123456700003","legal_id":{"type":"TL","value":"1234567","authority":"Dubai Department of Economy and Tourism"},"address":{"street":"Sheikh Zayed Road","city":"Dubai","region":"DXB","postal_code":"00000","country":"AE"},"contact":{"name":"Accounts","email":"[email protected]"}},"buyer":{"name":"Gulf Retail Co. LLC","name_ar":"شركة الخليج للتجزئة ذ.م.م","trn":"100987654300003","legal_id":{"type":"TL","value":"7654321","authority":"Abu Dhabi Department of Economic Development"},"address":{"street":"Corniche Road","city":"Abu Dhabi","region":"AUH","country":"AE"}},"payment":{"means_code":"30","account_id":"AE070331234567890123456","account_name":"Al Noor Trading LLC","terms":"Net 30"},"lines":[{"name":"Arabic coffee beans 1 kg","name_ar":"حبوب قهوة عربية 1 كجم","quantity":"20","unit_code":"KGM","unit_price":"45.00","vat_category":"S","item_type":"G","hs_code":"090111"},{"name":"Delivery","name_ar":"التوصيل","quantity":"1","unit_price":"50.00","vat_category":"S","item_type":"S","service_code":"9965"}],"allowances_charges":[{"type":"allowance","amount":"20.00","reason":"Loyalty discount","vat_category":"S"}]},"output":"html"}'
{
"data": {
"trn": "100123456700003",
"valid_format": true,
"starts_with_100": true,
"tin": "1001234567",
"endpoint": {
"scheme": "0235",
"id": "1001234567"
},
"problems": [],
"note": "Format check only (PINT AE rule ibr-132-ae). It does not confirm the number is registered with the FTA. Issued TRNs normally start with 100."
},
"meta": {
"request_id": "req_b23548b4915a48ce",
"version": "v1"
}
}
curl --location --request GET 'https://zylalabs.com/api/15704/uae+e-invoicing+api+-+pint+ae+xml+generator/42610/check+trn+format&trn=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"dataset": {
"spec": "PINT AE Billing",
"spec_version": "1.0.4",
"version": "1e8b0bd595c672ac",
"origin": "refresh",
"built_at": "2026-11-26T12:04:32.401Z",
"last_refresh_attempt_at": "2026-11-27T05:44:32.732Z",
"last_refresh_success_at": "2026-11-27T05:44:32.732Z",
"last_refresh_result": "unchanged"
},
"lists": [
{
"name": "tax_categories",
"description": "VAT category codes (IBT-118 / IBT-151): S, Z, E, O, AE, N.",
"entries": 6,
"version": "D.16B"
},
{
"name": "tax_exemption_reasons",
"description": "Exemption reason codes (IBT-121) published in the PINT AE code list. Other codes such as VATEX-AE-* are also seen in official examples.",
"entries": 4,
"version": "2022"
},
{
"name": "transaction_types",
"description": "Transaction type flags, positions 1 to 8 of cbc:ProfileExecutionID (BTAE-02).",
"entries": 8,
"version": "1"
},
{
"name": "billing_frequencies",
"description": "Frequency of billing (BTAE-06).",
"entries": 10,
"version": "1"
},
{
"name": "item_types",
"description": "Item type (BTAE-13): goods, services or both.",
"entries": 3,
"version": "1"
},
{
"name": "goods_types",
"description": "Type of goods or services for reverse charge (BTAE-09, NatureCode).",
"entries": 5,
"version": "1"
},
{
"name": "invoice_type_codes",
"description": "Invoice type codes (IBT-003) in the PINT AE list: 380 tax invoice, 480 out of scope. Self-billing uses 389 (see document_types).",
"entries": 2,
"version": "D.17A"
},
{
"name": "credit_note_type_codes",
"description": "Credit note type codes: 381 tax credit note, 81 out-of-scope credit note. Self-billing uses 261.",
"entries": 2,
"version": "D.17A"
},
{
"name": "credit_note_reasons",
"description": "Credit note reason codes (BTAE-03).",
"entries": 6,
"version": "1"
},
{
"name": "payment_means",
"description": "Payment means codes (IBT-081), UNCL4461 subset.",
"entries": 9,
"version": "D.16B"
},
{
"name": "allowance_reasons",
"description": "Allowance reason codes (UNCL5189).",
"entries": 19,
"version": "D.16B"
},
{
"name": "charge_reasons",
"description": "Charge reason codes (UNCL7161).",
"entries": 178,
"version": "D.16B"
},
{
"name": "units",
"description": "Unit codes (UN/ECE Recommendation 20 with Rec 21 extension).",
"entries": 2162,
"version": "11e"
},
{
"name": "endpoint_schemes",
"description": "Peppol electronic address schemes (EAS). The UAE uses 0235.",
"entries": 90,
"version": "2020-11"
},
{
"name": "currencies",
"description": "ISO 4217 currency codes.",
"entries": 177,
"version": "2015"
},
{
"name": "countries",
"description": "ISO 3166-1 alpha-2 country codes.",
"entries": 251,
"version": "2013"
},
{
"name": "mime_codes",
"description": "Allowed attachment mime types (IBT-125-1).",
"entries": 7,
"version": "20210921"
},
{
"name": "emirates",
"description": "Country subdivision codes for country AE (rule ibr-128-ae).",
"entries": 7,
"version": "1.0.4"
},
{
"name": "legal_id_types",
"description": "Legal registration identifier types (BTAE-15 / BTAE-16).",
"entries": 4,
"version": "1.0.4"
},
{
"name": "predefined_endpoints",
"description": "Predefined buyer endpoints (scheme 0235) for cases without a Peppol receiver.",
"entries": 3,
"version": "1.0.4"
},
{
"name": "document_types",
"description": "Values of document_type accepted by POST /invoices and the UBL type code they produce.",
"entries": 6,
"version": "1.0.4"
}
]
},
"meta": {
"request_id": "req_73a68c650040b385",
"version": "v1"
}
}
curl --location --request GET 'https://zylalabs.com/api/15704/uae+e-invoicing+api+-+pint+ae+xml+generator/42611/list+code+lists' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"spec_version": "1.0.4",
"count": 215,
"rules": [
{
"id": "xml-not-well-formed",
"requirement": "The file is not well-formed XML.",
"scope": "file"
},
{
"id": "ubl-root",
"requirement": "The root element must be Invoice (UBL Invoice-2) or CreditNote (UBL CreditNote-2).",
"scope": "file"
},
{
"id": "ibr-001",
"requirement": "Specification identifier (IBT-024) is required.",
"scope": "PINT base"
},
{
"id": "ibr-sr-63",
"requirement": "Specification identifier must not contain a wildcard character.",
"scope": "PINT base"
},
{
"id": "aligned-ibrp-001-ae",
"requirement": "Specification identifier must start with urn:peppol:pint:billing-1@ae-1 or urn:peppol:pint:selfbilling-1@ae-1.",
"scope": "PINT AE"
},
{
"id": "ibr-076",
"requirement": "Business process (IBT-023) is required.",
"scope": "PINT base"
},
{
"id": "aligned-ibrp-002-ae",
"requirement": "Business process must be urn:peppol:bis:billing or urn:peppol:bis:selfbilling.",
"scope": "PINT AE"
},
{
"id": "ibr-002",
"requirement": "Invoice number (IBT-001) is required.",
"scope": "PINT base"
},
{
"id": "ibr-003",
"requirement": "Issue date (IBT-002) is required.",
"scope": "PINT base"
},
{
"id": "ibr-004",
"requirement": "Invoice or credit note type code (IBT-003) is required.",
"scope": "PINT base"
},
{
"id": "ibr-005",
"requirement": "Document currency code (IBT-005) is required.",
"scope": "PINT base"
},
{
"id": "ibr-cl-01",
"requirement": "Type code must come from the invoice / credit note code list (380, 480, 381, 81; self-billing 389, 261).",
"scope": "PINT base"
},
{
"id": "ibr-cl-04",
"requirement": "Document currency must be an ISO 4217 code.",
"scope": "PINT base"
},
{
"id": "ibr-cl-05",
"requirement": "Tax currency must be an ISO 4217 code.",
"scope": "PINT base"
},
{
"id": "ibr-077",
"requirement": "Tax currency (IBT-006) must differ from the document currency.",
"scope": "PINT base"
},
{
"id": "ibr-140-ae",
"requirement": "Tax accounting currency, when present, must be AED.",
"scope": "PINT AE"
},
{
"id": "ibr-193-ae",
"requirement": "The unique identifier (BTAE-07, cbc:UUID) is required.",
"scope": "PINT AE"
},
{
"id": "ibr-154-ae",
"requirement": "Transaction type code (BTAE-02, cbc:ProfileExecutionID) must be 8 characters of 0 or 1.",
"scope": "PINT AE"
},
{
"id": "ibr-073",
"requirement": "Dates must be real calendar dates written YYYY-MM-DD.",
"scope": "PINT base"
},
{
"id": "ibr-119",
"requirement": "Times must be hh:mm:ss with optional fraction and time zone.",
"scope": "PINT base"
},
{
"id": "ibr-016",
"requirement": "At least one invoice line is required.",
"scope": "PINT base"
},
{
"id": "ibr-sr-51",
"requirement": "Note (IBT-022) may occur only once.",
"scope": "PINT base"
},
{
"id": "ibr-079",
"requirement": "The document must not contain empty elements.",
"scope": "PINT base"
},
{
"id": "ibr-127-ae",
"requirement": "Payment due date (IBT-009) is required when the amount due is above 0, except for credit notes, deemed supply and 261.",
"scope": "PINT AE"
},
{
"id": "ibr-141-ae",
"requirement": "The VAT point date (IBT-007) must be before the issue date.",
"scope": "PINT AE"
},
{
"id": "ibr-124-ae",
"requirement": "Credit notes (381, 81) must not carry a VAT point date.",
"scope": "PINT AE"
},
{
"id": "ibr-151-ae",
"requirement": "A tax invoice / credit note (380, 381) needs at least one line whose VAT category is not only E or O.",
"scope": "PINT AE"
},
{
"id": "ibr-122-ae",
"requirement": "For out-of-scope documents (480, 81) every VAT category must be E, O or Z.",
"scope": "PINT AE"
},
{
"id": "ibr-123-ae",
"requirement": "On out-of-scope documents (480, 81) a line carries exactly one VAT category.",
"scope": "PINT AE"
},
{
"id": "ibr-191-ae",
"requirement": "Payment means (IBT-081) is required, except for credit notes (381, 81, 261) and deemed supply.",
"scope": "PINT AE"
},
{
"id": "ibr-049",
"requirement": "A payment instruction must have a payment means type code.",
"scope": "PINT base"
},
{
"id": "ibr-cl-16",
"requirement": "Payment means code is not in the PINT AE payment means list.",
"scope": "PINT base"
},
{
"id": "ibr-192-ae",
"requirement": "Payment account identifier is required when the payment means is credit transfer (30).",
"scope": "PINT AE"
},
{
"id": "ibr-055",
"requirement": "A preceding invoice reference must contain the invoice number.",
"scope": "PINT base"
},
{
"id": "ibr-055-ae",
"requirement": "A credit note (381, 81) needs a preceding invoice reference, except for volume discount (VD) where it is optional.",
"scope": "PINT AE"
},
{
"id": "ibr-158-ae",
"requirement": "A credit note (381) needs a credit note reason code (BTAE-03).",
"scope": "PINT AE"
},
{
"id": "ibr-001-ae",
"requirement": "Credit note reason code must be DL8.61.1.A-E or VD.",
"scope": "PINT AE"
},
{
"id": "ibr-157-ae",
"requirement": "Summary, deemed supply or margin scheme transaction types are not allowed on out-of-scope documents (480, 81).",
"scope": "PINT AE"
},
{
"id": "ibr-116-ae",
"requirement": "Margin scheme documents (XX1XXXXX) must use VAT category N only.",
"scope": "PINT AE"
},
{
"id": "ibr-007-ae",
"requirement": "Free trade zone documents (1XXXXXXX) need the beneficiary ID (BTAE-01).",
"scope": "PINT AE"
},
{
"id": "ibr-137-ae",
"requirement": "Disclosed agent billing documents (XXXXX1XX) need the principal ID (BTAE-14).",
"scope": "PINT AE"
},
{
"id": "ibr-176-ae",
"requirement": "For disclosed agent billing the principal must differ from the seller VAT identifier.",
"scope": "PINT AE"
},
{
"id": "ibr-138-ae",
"requirement": "Summary invoices (XXX1XXXX) need an invoicing period.",
"scope": "PINT AE"
},
{
"id": "ibr-142-ae",
"requirement": "E-commerce documents (XXXXXX1X) need a delivery address with street, city and emirate.",
"scope": "PINT AE"
},
{
"id": "ibr-152-ae",
"requirement": "Export documents (XXXXXXX1) need a delivery address with street, city and subdivision unless it is in the UAE.",
"scope": "PINT AE"
},
{
"id": "ibr-153-ae",
"requirement": "With tax currency AED and another document currency, a tax exchange rate AED per document currency is required.",
"scope": "PINT AE"
},
{
"id": "ibr-159-ae",
"requirement": "A currency exchange rate (BTAE-04) is required when the document currency is not AED.",
"scope": "PINT AE"
},
{
"id": "ibr-002-ae",
"requirement": "The exchange rate may have at most 6 decimals.",
"scope": "PINT AE"
},
{
"id": "ibr-175-ae"
}
]
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/15704/uae+e-invoicing+api+-+pint+ae+xml+generator/42613/list+validation+rules' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"name": "tax_categories",
"description": "VAT category codes (IBT-118 / IBT-151): S, Z, E, O, AE, N.",
"version": "D.16B",
"dataset_version": "1e8b0bd595c672ac",
"spec_version": "1.0.4",
"source": "trn-invoice/codelist/Aligned-TaxCategoryCodes.gc",
"total": 6,
"entries": [
{
"id": "S",
"name": "Standard rate",
"description": "Code specifying the standard rate."
},
{
"id": "E",
"name": "Exempt from tax",
"description": "Code specifying that taxes are not applicable."
},
{
"id": "O",
"name": "Services outside scope of tax / Not subject to tax",
"description": "Code specifying that taxes are not applicable to the services and/or not subject to VAT"
},
{
"id": "AE",
"name": "VAT Reverse Charge",
"description": "Code specifying that the standard VAT rate is levied from the invoicee."
},
{
"id": "Z",
"name": "Zero rated",
"description": "Code specifying that the goods and/or services are at a zero rate."
},
{
"id": "N",
"name": "Standard rate additional VAT",
"description": "Standard VAT calculated for an additional taxable base when the additional taxable base is not included in the document totals."
}
]
},
"meta": {
"request_id": "req_c36317a2bbdb6c23",
"version": "v1"
}
}
curl --location --request GET 'https://zylalabs.com/api/15704/uae+e-invoicing+api+-+pint+ae+xml+generator/42655/get+code+list&code_list=Required' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the UAE E-Invoicing API - PINT AE XML Generator simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
Generate and validate UAE e-invoices for the Ministry of Finance mandate: Peppol PINT AE UBL 2.1 XML (tax invoice, commercial invoice, credit notes, self-billing), VAT math, AED and foreign currency
The API can generate various types of e-invoices compliant with the UAE Ministry of Finance mandate, including tax invoices, commercial invoices, credit notes, and self-billing documents.
The API generates e-invoices in the Peppol PINT AE UBL 2.1 XML format, which is the standard required by the UAE Ministry of Finance.
Yes, the API includes VAT math capabilities, ensuring that tax calculations are accurate and compliant with UAE regulations for the generated e-invoices.
Yes, the API supports the generation of e-invoices that include amounts denominated in foreign currencies, in addition to the UAE Dirham (AED).
The core value proposition is to simplify and automate the generation of compliant UAE e-invoices according to the Ministry of Finance mandate, ensuring accuracy and adherence to the Peppol PINT AE UBL 2.1 XML standard.
The API provides a direct solution for businesses to produce e-invoices in the mandated Peppol PINT AE UBL 2.1 XML format, covering all required document types and tax calculations, thereby ensuring compliance.
The API adheres to the UBL 2.1 standard, specifically the PINT AE profile, structuring the e-invoice data according to the defined elements and attributes for tax invoices, credit notes, etc.
Yes, the API is designed for integration, allowing businesses to incorporate e-invoice generation directly into their existing accounting or Enterprise Resource Planning (ERP) systems to streamline workflows.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund