阿联酋电子发票 API - PINT AE XML 生成器 API

API ID 15704

根据财政部要求生成并验证阿联酋电子发票:Peppol PINT AE UBL 2.1 XML(税务发票、商业发票、贷项通知单、自开票)、增值税计算、阿联酋迪拉姆和外币

API 文档

端点

请求
返回包含计算后增值税总额的 Peppol PINT AE XML(原始格式和 Base64 格式)支持税务发票 不在征税范围内的商业发票 贷项通知单 自开票 AED 和外币(含 AED 税额总计)阿拉伯语和英语当事方名称 以及特殊供应类型(自由贸易区 视同供应 差额征税 简易计税 连续供应 公开代理人开票 电子商务 出口)结果在返回前会根据已实现的 PINT AE 规则进行检查您发送的任何内容都不会被存储或记录保存
Endpoint ID: 42607
POST https://zylalabs.com/api/15704/uae+e-invoicing+api+-+pint+ae+xml+generator/42607/build+pint+ae+invoice
输入参数

构建 PINT AE 发票 — 端点功能

对象 描述
请求体 必需 Json

剩余免费测试请求:3 / 3。


输入参数

API 示例响应
XML
{
    "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"
}
构建 PINT AE 发票 — 代码片段

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"}]}'

    
请求
以文本格式(xml)或 base64 格式(xml_base64)发送 UBL XML。返回每条未通过规则及其官方 PINT AE 规则 ID(例如 ibr-132-ae 或 aligned-ibrp-s-09)、XML 位置和行号。使用 TypeScript 实现 PINT AE 管辖区规则以及关键的 PINT / EN 16931 基础规则;准确列表请参见 GET /rules。这是预检查,并非官方 Peppol 验证器。文档仅在内存中处理,绝不存储
Endpoint ID: 42608
POST https://zylalabs.com/api/15704/uae+e-invoicing+api+-+pint+ae+xml+generator/42608/validate+pint+ae+invoice
输入参数

验证 PINT AE 发票 — 端点功能

对象 描述
请求体 必需 Json

剩余免费测试请求:3 / 3。


输入参数

API 示例响应
JSON
{
    "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"
    }
}
验证 PINT AE 发票 — 代码片段

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"}'

    
请求
接受与 POST /invoices 相同的发票对象(位于“invoice”下),并返回可打印的双语预览。XML 仍然是法律文件。不会存储任何内容。
Endpoint ID: 42609
POST https://zylalabs.com/api/15704/uae+e-invoicing+api+-+pint+ae+xml+generator/42609/invoice+preview
输入参数

发票预览 — 端点功能

对象 描述
请求体 必需 Json

剩余免费测试请求:3 / 3。


输入参数

API 示例响应
JSON
{
    "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"}'

    
请求
仅进行格式检查(15 位数字,以 1 开头,以 03 结尾,依据规则 ibr-132-ae)。这不能确认该号码已注册;此项由 FTA 确认。还会返回 TIN 以及由其推导出的 Peppol 端点。
Endpoint ID: 42610
GET https://zylalabs.com/api/15704/uae+e-invoicing+api+-+pint+ae+xml+generator/42610/check+trn+format
输入参数

检查 TRN 格式 — 端点功能

对象 描述
trn 必需

剩余免费测试请求:3 / 3。


输入参数

API 示例响应
JSON
{
    "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"
    }
}
检查 TRN 格式 — 代码片段

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' 


    
请求
所有代码列表的索引及其条目数量。通过 GET /code-lists/{name} 获取其中一个。数据来自官方 PINT AE 资源包,并每日自动更新;其中包含版本、来源和更新状态
Endpoint ID: 42611
GET https://zylalabs.com/api/15704/uae+e-invoicing+api+-+pint+ae+xml+generator/42611/list+code+lists
输入参数

剩余免费测试请求:3 / 3。


输入参数

此端点不需要任何输入参数。

API 示例响应
JSON
{
    "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' 


    
请求
验证器评估的每个规则 ID,以及对要求的简短说明。ID 与官方 PINT AE Schematron(ibr-...-ae 和 aligned-ibrp-...)及 PINT 基础规则(ibr-...)相匹配 腾讯天天中彩票
Endpoint ID: 42613
GET https://zylalabs.com/api/15704/uae+e-invoicing+api+-+pint+ae+xml+generator/42613/list+validation+rules
输入参数

剩余免费测试请求:3 / 3。


输入参数

此端点不需要任何输入参数。

API 示例响应
JSON
{
    "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' 


    
请求
返回一个 PINT AE 代码列表的条目,例如税务类别、计量单位或付款方式。将列表名称用作路径值
Endpoint ID: 42655
GET https://zylalabs.com/api/15704/uae+e-invoicing+api+-+pint+ae+xml+generator/42655/get+code+list
输入参数

获取代码列表 — 端点功能

对象 描述
code_list 必需

剩余免费测试请求:3 / 3。


输入参数

API 示例响应
JSON
{
    "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' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 阿联酋电子发票 API - PINT AE XML 生成器 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

为满足阿联酋财政部强制要求生成并验证电子发票:Peppol PINT AE UBL 2.1 XML(税务发票、商业发票、贷项通知单、自开票)、增值税计算、阿联酋迪拉姆和外币

阿联酋电子发票 API - PINT AE XML 生成器 API FAQs

该 API 可生成符合阿联酋财政部规定的多种电子发票,包括税务发票、商业发票、贷项通知单和自开票文件

该 API 以阿联酋财政部要求的标准 Peppol PINT AE UBL 2.1 XML 格式生成电子发票

是的,该 API 具备增值税计算功能,确保生成的电子发票中的税额计算准确并符合阿联酋法规

是的,该 API 支持生成金额以外币计价的电子发票,除阿联酋迪拉姆(AED)外亦可使用其他货币

核心价值主张是简化并自动生成符合财政部规定的阿联酋电子发票,确保准确性并遵循 Peppol PINT AE UBL 2.1 XML 标准

该 API 为企业提供了一种直接方案,可按规定的 Peppol PINT AE UBL 2.1 XML 格式生成电子发票,涵盖所有必需的单据类型和税额计算,从而确保合规性

该 API 遵循 UBL 2.1 标准,具体采用 PINT AE 配置文件,按照税务发票、贷项通知单等所定义的元素和属性来组织电子发票数据

是的,该 API 专为集成而设计,企业可以将电子发票生成功能直接整合到现有的会计或企业资源规划(ERP)系统中,以简化工作流程】【。

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API