{
"data": {
"id": "INV-1001",
"uuid": "3b9f2c1e-6d4a-4e8b-9c7a-1f2e3d4c5b6a",
"type_name": "012",
"invoice_type_code": "388",
"currency": "JOD",
"totals": {
"tax_exclusive": "99.000000",
"discount_total": "1.000000",
"special_tax_total": "0.000000",
"vat_total": "14.400000",
"tax_inclusive": "112.400000",
"payable": "112.400000"
},
"lines": [
{
"id": 1,
"name": "Office chair",
"quantity": "2.000000",
"unit_price": "45.500000",
"discount": "1.000000",
"line_amount": "90.000000",
"vat_category": "S",
"vat_percent": 16,
"vat_amount": "14.400000",
"line_total": "104.400000"
},
{
"id": 2,
"name": "Printed book",
"quantity": "1.000000",
"unit_price": "8.000000",
"discount": "0.000000",
"line_amount": "8.000000",
"vat_category": "Z",
"vat_percent": 0,
"vat_amount": "0.000000",
"line_total": "8.000000"
}
],
"warnings": [],
"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\" xmlns:ext=\"urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2\"><cbc:ProfileID>reporting:1.0</cbc:ProfileID><cbc:ID>INV-1001</cbc:ID><cbc:UUID>3b9f2c1e-6d4a-4e8b-9c7a-1f2e3d4c5b6a</cbc:UUID><cbc:IssueDate>2026-11-26</cbc:IssueDate><cbc:InvoiceTypeCode name=\"012\">388</cbc:InvoiceTypeCode><cbc:DocumentCurrencyCode>JOD</cbc:DocumentCurrencyCode><cbc:TaxCurrencyCode>JOD</cbc:TaxCurrencyCode><cac:AdditionalDocumentReference><cbc:ID>ICV</cbc:ID><cbc:UUID>1</cbc:UUID></cac:AdditionalDocumentReference><cac:AccountingSupplierParty><cac:Party><cac:PostalAddress><cac:Country><cbc:IdentificationCode>JO</cbc:IdentificationCode></cac:Country></cac:PostalAddress><cac:PartyTaxScheme><cbc:CompanyID>11223344</cbc:CompanyID><cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme></cac:PartyTaxScheme><cac:PartyLegalEntity><cbc:RegistrationName>شركة المثال للتجارة</cbc:RegistrationName></cac:PartyLegalEntity></cac:Party></cac:AccountingSupplierParty><cac:AccountingCustomerParty><cac:Party><cac:PartyIdentification><cbc:ID schemeID=\"TN\">55667788</cbc:ID></cac:PartyIdentification><cac:PostalAddress><cbc:CountrySubentityCode>JO-AM</cbc:CountrySubentityCode><cac:Country><cbc:IdentificationCode>JO</cbc:IdentificationCode></cac:Country></cac:PostalAddress><cac:PartyTaxScheme><cbc:CompanyID>55667788</cbc:CompanyID><cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme></cac:PartyTaxScheme><cac:PartyLegalEntity><cbc:RegistrationName>Example Customer LLC</cbc:RegistrationName></cac:PartyLegalEntity></cac:Party></cac:AccountingCustomerParty><cac:SellerSupplierParty><cac:Party><cac:PartyIdentification><cbc:ID>7654321</cbc:ID></cac:PartyIdentification></cac:Party></cac:SellerSupplierParty><cac:PaymentMeans><cbc:PaymentMeansCode listID=\"UN/ECE 4461\">10</cbc:PaymentMeansCode></cac:PaymentMeans><cac:AllowanceCharge><cbc:ChargeIndicator>false</cbc:ChargeIndicator><cbc:AllowanceChargeReason>discount</cbc:AllowanceChargeReason><cbc:Amount currencyID=\"JO\">1.000000</cbc:Amount></cac:AllowanceCharge><cac:TaxTotal><cbc:TaxAmount currencyID=\"JO\">14.400000</cbc:TaxAmount></cac:TaxTotal><cac:LegalMonetaryTotal><cbc:TaxExclusiveAmount currencyID=\"JO\">99.000000</cbc:TaxExclusiveAmount><cbc:TaxInclusiveAmount currencyID=\"JO\">112.400000</cbc:TaxInclusiveAmount><cbc:AllowanceTotalAmount currencyID=\"JO\">1.000000</cbc:AllowanceTotalAmount><cbc:PayableAmount currencyID=\"JO\">112.400000</cbc:PayableAmount></cac:LegalMonetaryTotal><cac:InvoiceLine><cbc:ID>1</cbc:ID><cbc:InvoicedQuantity unitCode=\"PCE\">2.000000</cbc:InvoicedQuantity><cbc:LineExtensionAmount currencyID=\"JO\">90.000000</cbc:LineExtensionAmount><cac:TaxTotal><cbc:TaxAmount currencyID=\"JO\">14.400000</cbc:TaxAmount><cbc:RoundingAmount currencyID=\"JO\">104.400000</cbc:RoundingAmount><cac:TaxSubtotal><cbc:TaxAmount currencyID=\"JO\">14.400000</cbc:TaxAmount><cac:TaxCategory><cbc:ID schemeAgencyID=\"6\" schemeID=\"UN/ECE 5305\">S</cbc:ID><cbc:Percent>16.00</cbc:Percent><cac:TaxScheme><cbc:ID schemeAgencyID=\"6\" schemeID=\"UN/ECE 5153\">VAT</cbc:ID></cac:TaxScheme></cac:TaxCategory></cac:TaxSubtotal></cac:TaxTotal><cac:Item><cbc:Name>Office chair</cbc:Name></cac:Item><cac:Price><cbc:PriceAmount currencyID=\"JO\">45.500000</cbc:PriceAmount><cac:AllowanceCharge><cbc:ChargeIndicator>false</cbc:ChargeIndicator><cbc:AllowanceChargeReason>DISCOUNT</cbc:AllowanceChargeReason><cbc:Amount currencyID=\"JO\">1.000000</cbc:Amount></cac:AllowanceCharge></cac:Price></cac:InvoiceLine><cac:InvoiceLine><cbc:ID>2</cbc:ID><cbc:InvoicedQuantity unitCode=\"PCE\">1.000000</cbc:InvoicedQuantity><cbc:LineExtensionAmount currencyID=\"JO\">8.000000</cbc:LineExtensionAmount><cac:TaxTotal><cbc:TaxAmount currencyID=\"JO\">0.000000</cbc:TaxAmount><cbc:RoundingAmount currencyID=\"JO\">8.000000</cbc:RoundingAmount><cac:TaxSubtotal><cbc:TaxAmount currencyID=\"JO\">0.000000</cbc:TaxAmount><cac:TaxCategory><cbc:ID schemeAgencyID=\"6\" schemeID=\"UN/ECE 5305\">Z</cbc:ID><cbc:Percent>0.00</cbc:Percent><cac:TaxScheme><cbc:ID schemeAgencyID=\"6\" schemeID=\"UN/ECE 5153\">VAT</cbc:ID></cac:TaxScheme></cac:TaxCategory></cac:TaxSubtotal></cac:TaxTotal><cac:Item><cbc:Name>Printed book</cbc:Name></cac:Item><cac:Price><cbc:PriceAmount currencyID=\"JO\">8.000000</cbc:PriceAmount><cac:AllowanceCharge><cbc:ChargeIndicator>false</cbc:ChargeIndicator><cbc:AllowanceChargeReason>DISCOUNT</cbc:AllowanceChargeReason><cbc:Amount currencyID=\"JO\">0.000000</cbc:Amount></cac:AllowanceCharge></cac:Price></cac:InvoiceLine></Invoice>",
"xml_base64": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPEludm9pY2UgeG1sbnM9InVybjpvYXNpczpuYW1lczpzcGVjaWZpY2F0aW9uOnVibDpzY2hlbWE6eHNkOkludm9pY2UtMiIgeG1sbnM6Y2FjPSJ1cm46b2FzaXM6bmFtZXM6c3BlY2lmaWNhdGlvbjp1Ymw6c2NoZW1hOnhzZDpDb21tb25BZ2dyZWdhdGVDb21wb25lbnRzLTIiIHhtbG5zOmNiYz0idXJuOm9hc2lzOm5hbWVzOnNwZWNpZmljYXRpb246dWJsOnNjaGVtYTp4c2Q6Q29tbW9uQmFzaWNDb21wb25lbnRzLTIiIHhtbG5zOmV4dD0idXJuOm9hc2lzOm5hbWVzOnNwZWNpZmljYXRpb246dWJsOnNjaGVtYTp4c2Q6Q29tbW9uRXh0ZW5zaW9uQ29tcG9uZW50cy0yIj48Y2JjOlByb2ZpbGVJRD5yZXBvcnRpbmc6MS4wPC9jYmM6UHJvZmlsZUlEPjxjYmM6SUQ+SU5WLTEwMDE8L2NiYzpJRD48Y2JjOlVVSUQ+M2I5ZjJjMWUtNmQ0YS00ZThiLTljN2EtMWYyZTNkNGM1YjZhPC9jYmM6VVVJRD48Y2JjOklzc3VlRGF0ZT4yMDI2LTExLTI2PC9jYmM6SXNzdWVEYXRlPjxjYmM6SW52b2ljZVR5cGVDb2RlIG5hbWU9IjAxMiI+Mzg4PC9jYmM6S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BhbnlJRD48Y2FjOlRheFNjaGVtZT48Y2JjOklEPlZBVDwvY2JjOklEPjwvY2FjOlRheFNjaGVtZT48L2NhYzpQYXJ0eVRheFNjaGVtZT48Y2FjOlBhcnR5TGVnYWxFbnRpdHk+PGNiYzpSZWdpc3RyYXRpb25O..."
},
"self_check": {
"valid": true,
"errors": []
}
},
"meta": {
"request_id": "req_d1fbc71c8dc0eb55",
"version": "v1"
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request POST 'https://zylalabs.com/api/15706/jordan+jofotara+e-invoice+api+-+ubl+istd/42618/build+jofotara+invoice' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"invoice_type":"general_sales","payment_method":"cash","id":"INV-1001","uuid":"3b9f2c1e-6d4a-4e8b-9c7a-1f2e3d4c5b6a","issue_date":"2026-11-26","invoice_counter":1,"seller":{"tax_number":"11223344","name":"شركة المثال للتجارة","income_source_sequence":"7654321"},"buyer":{"id_type":"TN","id":"55667788","name":"Example Customer LLC","city_code":"JO-AM"},"lines":[{"name":"Office chair","quantity":"2","unit_price":"45.500","discount":"1.000","vat_category":"S","vat_percent":16},{"name":"Printed book","quantity":"1","unit_price":"8.000","vat_category":"Z"}]}'
{
"data": {
"valid": true,
"type_name": "012",
"invoice_type_code": "388",
"id": "INV-1001",
"uuid": "3b9f2c1e-6d4a-4e8b-9c7a-1f2e3d4c5b6a",
"line_count": 2,
"computed_totals": {
"tax_exclusive": "99.000000",
"discount_total": "1.000000",
"special_tax_total": "0.000000",
"vat_total": "14.400000",
"tax_inclusive": "112.400000",
"payable": "112.400000"
},
"errors": [],
"warnings": []
},
"meta": {
"request_id": "req_9350c6dbf812fc0f",
"version": "v1"
}
}
curl --location --request POST 'https://zylalabs.com/api/15706/jordan+jofotara+e-invoice+api+-+ubl+istd/42619/validate+jofotara+xml' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"xml":"\nreporting:1.0 INV-1001 3b9f2c1e-6d4a-4e8b-9c7a-1f2e3d4c5b6a 2026-11-26 388 JOD JOD ICV 1 JO 11223344 VAT شركة المثال للتجارة 55667788 JO-AM JO 55667788 VAT Example Customer LLC 7654321 10 false discount 1.000000 14.400000 99.000000 112.400000 1.000000 112.400000 1 2.000000 90.000000 14.400000 104.400000 14.400000 S 16.00 VAT Office chair 45.500000 false DISCOUNT 1.000000 2 1.000000 8.000000 0.000000 8.000000 0.000000 Z 0.00 VAT Printed book 8.000000 false DISCOUNT 0.000000 "}'
{
"data": {
"environment": "demo",
"accepted": true,
"status": "SUBMITTED",
"jofotara_http_status": 200,
"invoice_number": "DEMO-INV-1001",
"uuid": "3b9f2c1e-6d4a-4e8b-9c7a-1f2e3d4c5b6a",
"qr": {
"text": "REVNT3xJTlYtMTAwMXwzYjlmMmMxZS02ZDRhLTRlOGItOWM3YS0xZjJlM2Q0YzViNmE=",
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 39 39\" shape-rendering=\"crispEdges\"><path fill=\"#ffffff\" d=\"M0 0h39v39H0z\"/><path stroke=\"#000000\" d=\"M1 1.5h7m1 0h1m3 0h1m2 0h2m2 0h2m1 0h2m2 0h1m1 0h1m1 0h7M1 2.5h1m5 0h1m6 0h1m1 0h1m2 0h2m2 0h4m2 0h1m1 0h1m5 0h1M1 3.5h1m1 0h3m1 0h1m2 0h5m2 0h3m4 0h2m1 0h3m1 0h1m1 0h3m1 0h1M1 4.5h1m1 0h3m1 0h1m1 0h3m2 0h2m1 0h3m1 0h1m1 0h4m4 0h1m1 0h3m1 0h1M1 5.5h1m1 0h3m1 0h1m1 0h5m4 0h4m1 0h4m2 0h1m1 0h1m1 0h3m1 0h1M1 6.5h1m5 0h1m1 0h3m1 0h2m1 0h3m1 0h1m2 0h1m2 0h1m1 0h2m1 0h1m5 0h1M1 7.5h7m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h7M9 8.5h1m2 0h1m4 0h1m4 0h5m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VtZT48Y2JjOklEPlZBVDwvY2JjOklEPjwvY2FjOlRheFNjaGVtZT48L2NhYzpQYXJ0eVRheFNjaGVtZT48Y2FjOlBhcnR5TGVnYWxFbnRpdHk+PGNiYzpSZWdpc3RyYXRpb25O...",
"errors": [],
"warnings": [],
"info": [
{
"type": "INFO",
"status": "PASS",
"EINV_CODE": "XSD_VALID",
"EINV_CATEGORY": "XSD validation",
"EINV_MESSAGE": "Complied with UBL 2.1 standards in line with ISTD (demo)"
}
],
"validation": {
"valid": true,
"errors": [],
"warnings": []
},
"demo": true,
"response": {
"EINV_RESULTS": {
"status": "PASS",
"INFO": [
{
"type": "INFO",
"status": "PASS",
"EINV_CODE": "XSD_VALID",
"EINV_CATEGORY": "XSD validation",
"EINV_MESSAGE": "Complied with UBL 2.1 standards in line with ISTD (demo)"
}
],
"WARNINGS": [],
"ERRORS": []
},
"EINV_STATUS": "SUBMITTED",
"EINV_NUM": "DEMO-INV-1001",
"EINV_INV_UUID": "3b9f2c1e-6d4a-4e8b-9c7a-1f2e3d4c5b6a",
"EINV_QR": "REVNT3xJTlYtMTAwMXwzYjlmMmMxZS02ZDRhLTRlOGItOWM3YS0xZjJlM2Q0YzViNmE=",
"EINV_SINGED_INVOICE": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPEludm9pY2UgeG1sbnM9InVybjpvYXNpczpuYW1lczpzcGVjaWZpY2F0aW9uOnVibDpzY2hlbWE6eHNkOkludm9pY2UtMiIgeG1sbnM6Y2FjPSJ1cm46b2FzaXM6bmFtZXM6c3BlY2lmaWNhdGlvbjp1Ymw6c2NoZW1hOnhzZDpDb21tb25BZ2dyZWdhdGVDb21wb25lbnRzLTIiIHhtbG5zOmNiYz0idXJuOm9hc2lzOm5hbWVzOnNwZWNpZmljYXRpb246dWJsOnNjaGVtYTp4c2Q6Q29tbW9uQmFzaWNDb21wb25lbnRzLTIiIHhtbG5zOmV4dD0idXJuOm9hc2lzOm5hbWVzO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Y2FjOlBhcnR5TGVnYWxFbnRpdHk+PGNiYzpSZWdpc3RyYXRpb25O...",
"demo": true
}
},
"meta": {
"request_id": "req_738f4e43544c9bb7",
"version": "v1"
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request POST 'https://zylalabs.com/api/15706/jordan+jofotara+e-invoice+api+-+ubl+istd/42620/submit+invoice+to+istd' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"environment":"demo","credentials":{"client_id":"demo-client-id","secret_key":"demo-secret-key"},"xml":"\nreporting:1.0 INV-1001 3b9f2c1e-6d4a-4e8b-9c7a-1f2e3d4c5b6a 2026-11-26 388 JOD JOD ICV 1 JO 11223344 VAT شركة المثال للتجارة 55667788 JO-AM JO 55667788 VAT Example Customer LLC 7654321 10 false discount 1.000000 14.400000 99.000000 112.400000 1.000000 112.400000 1 2.000000 90.000000 14.400000 104.400000 14.400000 S 16.00 VAT Office chair 45.500000 false DISCOUNT 1.000000 2 1.000000 8.000000 0.000000 8.000000 0.000000 Z 0.00 VAT Printed book 8.000000 false DISCOUNT 0.000000 "}'
{
"data": {
"format": "svg",
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 35 35\" shape-rendering=\"crispEdges\"><path fill=\"#ffffff\" d=\"M0 0h35v35H0z\"/><path stroke=\"#000000\" d=\"M1 1.5h7m2 0h1m1 0h3m2 0h8m2 0h7M1 2.5h1m5 0h1m2 0h1m2 0h4m1 0h1m2 0h3m3 0h1m5 0h1M1 3.5h1m1 0h3m1 0h1m1 0h1m1 0h1m2 0h1m1 0h4m2 0h1m2 0h1m1 0h1m1 0h3m1 0h1M1 4.5h1m1 0h3m1 0h1m1 0h2m1 0h2m1 0h3m3 0h1m1 0h1m3 0h1m1 0h3m1 0h1M1 5.5h1m1 0h3m1 0h1m1 0h1m1 0h3m2 0h1m2 0h1m4 0h2m1 0h1m1 0h3m1 0h1M1 6.5h1m5 0h1m1 0h2m2 0h1m1 0h3m3 0h3m1 0h1m1 0h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4m3 0h2m2 0h1M1 27.5h7m3 0h1m4 0h1m2 0h1m4 0h2m1 0h1m1 0h2m1 0h1M1 28.5h1m5 0h1m1 0h1m4 0h1m1 0h2m2 0h3m2 0h1m3 0h3M1 29.5h1m1 0h3m1 0h1m1 0h1m1 0h1m3 0h2m2 0h1m5 0h6m2 0h1M1 30.5h1m1 0h3m1 0h1m1 0h1m1 0h1m1 0h1m1 0h3m2 0h2m1 0h3m2 0h1m1 0h4M1 31.5h1m1 0h3m1 0h1m1 0h1m1 0h4m7 0h1m2 0h3m2 0h1M1 32.5h1m5 0h1m2 0h1m1 0h2m1 0h1m1 0h1m1 0h5m4 0h1m1 0h2M1 33.5h7m1 0h1m3 0h1m1 0h1m1 0h3m3 0h3m1 0h1m1 0h1m2 0h1\"/></svg>\n"
},
"meta": {
"request_id": "req_881cf66a8edadfb8",
"version": "v1"
}
}
curl --location --request POST 'https://zylalabs.com/api/15706/jordan+jofotara+e-invoice+api+-+ubl+istd/42621/render+qr+code' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"text":"DEMO|INV-1001|3b9f2c1e-6d4a-4e8b-9c7a-1f2e3d4c5b6a","format":"svg"}'
{
"data": {
"version": "istd-guide-1.5",
"invoice_types": [
{
"name": "011",
"track": "income",
"payment": "cash",
"label_en": "Income invoice, cash",
"label_ar": "فاتورة دخل نقدية"
},
{
"name": "021",
"track": "income",
"payment": "receivable",
"label_en": "Income invoice, receivable",
"label_ar": "فاتورة دخل ذمم"
},
{
"name": "012",
"track": "general_sales",
"payment": "cash",
"label_en": "General sales invoice, cash",
"label_ar": "فاتورة مبيعات عامة نقدية"
},
{
"name": "022",
"track": "general_sales",
"payment": "receivable",
"label_en": "General sales invoice, receivable",
"label_ar": "فاتورة مبيعات عامة ذمم"
},
{
"name": "013",
"track": "special_sales",
"payment": "cash",
"label_en": "Special sales invoice, cash",
"label_ar": "فاتورة مبيعات خاصة نقدية"
},
{
"name": "023",
"track": "special_sales",
"payment": "receivable",
"label_en": "Special sales invoice, receivable",
"label_ar": "فاتورة مبيعات خاصة ذمم"
}
],
"invoice_type_codes": [
{
"code": "388",
"meaning": "Invoice"
},
{
"code": "381",
"meaning": "Credit note (sales return)"
}
],
"tax_categories": [
{
"code": "S",
"label_en": "Standard rated (rate from the list)",
"label_ar": "خاضع للنسبة العامة",
"vat_rate_allowed": "listed"
},
{
"code": "Z",
"label_en": "Exempt (0%)",
"label_ar": "معفى",
"vat_rate_allowed": "zero"
},
{
"code": "O",
"label_en": "Zero rated (0%)",
"label_ar": "خاضع لنسبة الصفر",
"vat_rate_allowed": "zero"
}
],
"vat_rates": [
0,
1,
2,
3,
4,
5,
7,
8,
10,
16
],
"id_schemes": [
{
"code": "TN",
"label_en": "Tax number",
"label_ar": "الرقم الضريبي"
},
{
"code": "NIN",
"label_en": "National number (Jordanian)",
"label_ar": "الرقم الوطني"
},
{
"code": "PN",
"label_en": "Personal number (non-Jordanian)",
"label_ar": "الرقم الشخصي"
}
],
"city_codes": [
{
"code": "JO-AM",
"name_en": "Amman",
"name_ar": "عمّان"
},
{
"code": "JO-AZ",
"name_en": "Zarqa",
"name_ar": "الزرقاء"
},
{
"code": "JO-IR",
"name_en": "Irbid",
"name_ar": "إربد"
},
{
"code": "JO-BA",
"name_en": "Balqa",
"name_ar": "البلقاء"
},
{
"code": "JO-MN",
"name_en": "Maan",
"name_ar": "معان"
},
{
"code": "JO-MD",
"name_en": "Madaba",
"name_ar": "مادبا"
},
{
"code": "JO-MA",
"name_en": "Mafraq",
"name_ar": "المفرق"
},
{
"code": "JO-KA",
"name_en": "Karak",
"name_ar": "الكرك"
},
{
"code": "JO-JA",
"name_en": "Jerash",
"name_ar": "جرش"
},
{
"code": "JO-AT",
"name_en": "Tafilah",
"name_ar": "الطفيلة"
},
{
"code": "JO-AQ",
"name_en": "Aqaba",
"name_ar": "العقبة"
},
{
"code": "JO-AJ",
"name_en": "Ajloun",
"name_ar": "عجلون"
}
],
"payment_means": [
{
"code": "10",
"list_id": "UN/ECE 4461",
"meaning": "In cash (used on every document; on returns InstructionNote holds the reason)"
}
],
"limits": {
"cash_buyer_name_required_above_jod": "10000"
},
"refresh": {
"version": "istd-guide-1.5",
"source": "bundled",
"last_refresh_at": null,
"last_attempt_at": "2026-11-26T15:05:26.780Z",
"last_error": "no feed configured (JOFOTARA_CODE_LISTS_URL)",
"url": null
}
},
"meta": {
"request_id": "req_86896ceb210b4494",
"version": "v1"
}
}
curl --location --request GET 'https://zylalabs.com/api/15706/jordan+jofotara+e-invoice+api+-+ubl+istd/42623/list+code+lists' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"number": "11223344",
"type": "TN",
"valid": true,
"format": "8 digits",
"reason": null,
"checked": "format_only"
},
"meta": {
"request_id": "req_7e5c2826e1a7f09d",
"version": "v1"
}
}
curl --location --request GET 'https://zylalabs.com/api/15706/jordan+jofotara+e-invoice+api+-+ubl+istd/42656/check+tax+number&tax_number=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 Jordan JoFotara E-Invoice API - UBL ISTD 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.
Jordan e-invoicing (ISTD JoFotara): build UBL 2.1 invoices from JSON (income, general and special sales, cash or receivable, credit notes) with exact totals and VAT/special tax, validate XML, submit
The Jordan JoFotara E-Invoice API supports the generation of various invoice types, including income invoices, general sales invoices, special sales invoices, cash or receivable invoices, and credit notes.
The API generates invoices in the UBL 2.1 XML format, which is a standard for electronic invoicing.
The API accepts invoice data in a JSON format, which is then used to construct the UBL 2.1 XML invoices.
The API is designed to calculate and include exact totals, VAT, and special taxes within the generated UBL 2.1 invoices, ensuring compliance with Jordanian e-invoicing regulations.
The API can be used by businesses operating in Jordan to automate the creation, validation, and submission of electronic invoices, streamlining their billing processes and ensuring regulatory adherence.
Yes, the API includes a feature to validate the generated UBL 2.1 XML invoices, ensuring they meet the required structural and content standards before submission.
The core value proposition lies in its ability to simplify and automate the complex process of generating compliant UBL 2.1 e-invoices from readily available JSON data, saving businesses time and reducing the risk of errors.
Yes, the API is designed to be integrated into existing business systems. After building and validating UBL 2.1 invoices from JSON, the API also supports the submission of these invoices, facilitating a complete e-invoicing workflow.
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