Skip to content
BOOK A 20-MINUTE CALL

HOW TO · 11 MIN READ

Fawtara API integration: connecting your ERP to Oman e-invoicing

By the Seamwire team · Updated

THE SHORT ANSWER

A Fawtara API integration connects your ERP to the API of an accredited service provider, not to the Oman Tax Authority. Your ERP sends each invoice as a UBL 2.1 XML file in Oman's PINT OM format, or sends data that the provider turns into that XML. The provider validates it, delivers it to your buyer over the Peppol network and reports it to the Tax Authority. Business-to-business invoices go in real time, consumer invoices within 24 hours. The mandate starts on 1 April 2027 for businesses with annual supplies above OMR 5 million and on 1 October 2027 for all other VAT-registered businesses.

What Fawtara requires, and from when

Fawtara is Oman's mandatory e-invoicing system. It was given its legal basis by Tax Authority Decision No. 189/2026, issued in August 2026. An e-invoice under Fawtara is a structured XML file, not a PDF or a scan, and it is exchanged through accredited service providers who also report tax data to the Tax Authority.

The Tax Authority's published guidance gives two dates, decided by the annual value of your supplies. We last checked these on 3 December 2026; confirm the date that applies to you with the Tax Authority, which also runs a rollout checker.

The test is your total annual supplies as of 31 March 2027. You start on 1 April 2027 if either your supplies from April 2026 to 31 March 2027 exceed OMR 5 million, or your expected supplies from 1 April 2027 to 31 March 2028 do. Otherwise you start on 1 October 2027. VAT groups are tested as a group.

WhoE-invoicing is mandatory from
Businesses with annual supplies above OMR 5 million1 April 2027
All other VAT-registered businesses1 October 2027

How an invoice travels: the five-corner model

Oman uses the Peppol five-corner model. You do not send invoices to the Tax Authority yourself, and you do not send them straight to your customer.

  • Corner 1 is you, the seller, and your ERP or billing system.
  • Corner 2 is your accredited service provider. Your system hands the invoice to them.
  • Corner 3 is your buyer's service provider, which receives the invoice over the Peppol network.
  • Corner 4 is your buyer, who receives it from their provider.
  • Corner 5 is the Oman Tax Authority. Both providers report a Tax Data Document about the invoice to it.

Exports follow a shorter path: the invoice goes from you to your provider and is reported to the Tax Authority, and your foreign customer receives it outside the network. Imports are reported as self-billed invoices.

Is a Fawtara invoice XML or JSON?

XML. The legal e-invoice is a UBL 2.1 XML document that follows OpenPeppol's PINT OM specification. JSON only appears between your ERP and your service provider: some providers let your system send invoice data as JSON through their API and build the XML for you, others expect the finished XML. Either way, the file that reaches your buyer and the data reported to the Tax Authority come from that XML.

This is the start of a valid Fawtara invoice. It is a made-up invoice that passes the published PINT OM 1.0.1 rules in our checker.

ElementWhat it carriesWhat goes wrong
CustomizationIDThe specification the file follows: urn:peppol:pint:billing-1@om-1A UAE or EU identifier copied from another project
IDYour own invoice numberNumbers reused across branches or systems
UUIDA version 5 UUID that identifies this invoiceA random version 4 UUID, the default in most systems
IssueDate and IssueTimeWhen the invoice was issuedTime left out, because the old invoice had a date only
InvoiceTypeCode380 for an invoice; the name attribute holds the 20-character transaction typeA transaction type of the wrong length or with other characters
DocumentCurrencyCodeOMR, or the invoice currency plus VAT repeated in rialsForeign-currency invoices with no rial VAT
CompanyIDThe VAT number: OM followed by 10 digitsSpaces, missing digits or a missing OM
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" ...>
  <cbc:CustomizationID>urn:peppol:pint:billing-1@om-1</cbc:CustomizationID>
  <cbc:ProfileID>urn:peppol:bis:billing</cbc:ProfileID>
  <cbc:ID>INV-2026-0142</cbc:ID>
  <cbc:UUID>a64054c5-c058-53ad-8d90-8e1952ea6f71</cbc:UUID>
  <cbc:IssueDate>2026-11-10</cbc:IssueDate>
  <cbc:IssueTime>09:30:00</cbc:IssueTime>
  <cbc:InvoiceTypeCode name="10000000000000000000">380</cbc:InvoiceTypeCode>
  <cbc:DocumentCurrencyCode>OMR</cbc:DocumentCurrencyCode>
  ...
      <cac:PartyTaxScheme>
        <cbc:CompanyID>OM1000000001</cbc:CompanyID>
The header of a PINT OM invoice (shortened). The full file continues with the seller, buyer, tax totals and lines.

What your ERP has to produce

The format is OpenPeppol's PINT OM Billing specification, version 1.0.1 at the time of writing. These are the points that most often need changes in an ERP.

  • A UBL 2.1 Invoice or CreditNote, with the specification identifier urn:peppol:pint:billing-1@om-1.
  • A unique identifier for every invoice that is a version 5 UUID. A random version 4 UUID, which most systems generate by default, is rejected.
  • An issue date and an issue time.
  • A transaction type: a 20-character string of 0s and 1s that says whether this is a full or simplified tax invoice, an export, a self-billed invoice and so on.
  • VAT numbers in the Oman format: OM followed by exactly 10 digits.
  • The seller's full postal address, including three address lines, city and postal code, and a contact telephone number.
  • For each line: a VAT category, the VAT rate (5 for standard-rated items), the line VAT amount and the line total including VAT.
  • Item classification: whether each item is goods or a service, and the classification codes the specification asks for.
  • Amounts with at most three decimal places, with document totals that add up when compared to two decimals.
  • On an invoice in another currency: the exchange rate (at most 7 decimals) and the VAT amounts repeated in rials.
  • On a credit or debit note: the original invoice's number, issue date and UUID.

Fawtara API integration: what your ERP connects to

There is no Tax Authority endpoint that a business posts invoices to. A Fawtara API integration is a link between your ERP and the API of your accredited service provider. Your system sends the invoice, the provider checks it against the PINT OM rules, passes it to your buyer's provider over the Peppol network and reports the Tax Data Document to the Tax Authority.

The invoice of record is UBL 2.1 XML. A provider's API may accept JSON or another format from your ERP and build the XML for you, or it may expect finished XML. Before you choose a provider, ask for its API documentation, a sandbox, and the list of rejection codes it returns.

The Tax Authority says businesses can keep their current ERP; what changes is the mapping, which has to follow the Oman PINT specifications. You work with one service provider at a time, and you can switch.

Build these in from the start

Safe resending. Networks fail halfway. Use the invoice UUID as the key, so an invoice sent twice is recognised as the same invoice and not created again.

A queue. If the provider's API is slow or down, invoices should wait in a queue and go out in order when it recovers, not fail silently or block the person at the counter.

Two directions. You also receive e-invoices from your suppliers through the same provider, so plan where incoming invoices land in your ERP.

Separate paths for business and consumer sales. Business invoices go in real time and consumer invoices within 24 hours, and consumer invoices need a QR code on the printed copy. Point-of-sale systems usually need their own route.

StepWhat happensWhat your ERP has to do
1. IssueYour ERP finalises the invoiceGive it a version 5 UUID, store that UUID, fix the totals
2. SendYour ERP calls the provider's API with the XML or the provider's data formatSend business invoices at once; consumer invoices within 24 hours
3. ValidateThe provider checks the file against the PINT OM rulesRead the answer: accepted, or rejected with rule codes
4. DeliverThe provider passes the invoice to your buyer's provider over PeppolNothing, unless the buyer cannot be reached
5. ReportBoth providers send a Tax Data Document to the Tax AuthorityNothing directly; the provider does this
6. RecordThe status comes back to youSave the status, the XML sent and the reply; route rejections to a person

Questions to ask a service provider about its API

  • Do you accept finished PINT OM XML, your own JSON, or both?
  • Is there a sandbox we can test against with our real invoices before go-live?
  • Do you return results straight away, by callback, or do we have to ask for the status?
  • What rejection codes do you return, and do they map to the PINT OM rule identifiers?
  • How do we receive supplier invoices from you, and in what format?
  • How do consumer invoices and the QR code work with your service?
  • If we switch provider later, how do we get our invoice history out?

The work, step by step

  • Map your fields. Lay your current invoice data beside the PINT OM fields and mark what is missing, what is in the wrong format and what has to be calculated.
  • Fix the master data. Customer and supplier VAT numbers, addresses and item classification codes are usually the largest gap, and they have to be right before any file passes.
  • Build the output. Either generate the XML in your ERP, or send your invoice data to your service provider's interface and let them build it. Which is better depends on your ERP and on what your provider offers.
  • Test with real invoices. Run a spread of your own invoices, including credit notes, exports and foreign-currency invoices, through a checker and then through your provider's test environment.
  • Handle the answers. Your ERP needs to record whether each invoice was accepted or rejected, show the reason to someone who can act on it, and resend after correction.
  • Keep the records. Oman's VAT law sets the record-keeping period, and archiving remains your duty, not your provider's.

Where projects usually go wrong

  • Rounding. Line VAT is calculated to three decimals and a difference of 0.001 OMR per line is tolerated, but document totals are compared at two decimals. Systems that round at a different point produce totals that do not add up.
  • Identifiers. Version 4 UUIDs, VAT numbers with spaces or missing digits, and transaction types of the wrong length are all rejected outright.
  • Credit notes. A credit note that does not carry the original invoice's UUID fails, so the UUID of every issued invoice has to be stored.
  • Foreign currency. An invoice in dollars or euros still needs its VAT in rials and the exchange rate used.
  • Timing. The Tax Authority's guidance treats business-to-business invoices as real time, so batch jobs that run overnight need rethinking.
  • Leaving it late. The data clean-up takes longer than the technical build, and it cannot be bought from a provider.

Check your files before you send them

Our free checker reads an Oman e-invoice XML file in your browser, shows it as a normal invoice and lists what fails, with the official rule identifier and the fix. Nothing is uploaded. It is a pre-check: your service provider's validation is the one that counts.

Built for Saudi ZATCA? What carries over to Oman

Many Gulf businesses already integrated with Saudi Arabia's FATOORA. The format family is the same, but the model is different, so a ZATCA build does not work in Oman as it is.

Oman (Fawtara)Saudi Arabia (ZATCA)
FormatUBL 2.1 XML, PINT OMUBL 2.1 XML, ZATCA's own data dictionary
Who you send toYour accredited service providerZATCA's FATOORA platform, from your own invoicing system
Business invoicesReal time, through the Peppol networkCleared by ZATCA before you share them
Consumer invoicesWithin 24 hoursReported within 24 hours
SigningHandled in the provider networkYour system stamps invoices with a ZATCA certificate and chains them with the previous invoice hash

What carries over is the hard part: clean VAT numbers, addresses, item codes, rounding rules and the habit of storing every invoice UUID.

Should you use a ready connector or build the integration?

If you run a mainstream ERP on a supported version and your invoices are simple, a service provider's ready-made connector is usually the fastest route. If you run a custom or older system, several systems that each issue invoices, or invoice types the connector does not cover, you need integration work: something that gathers the data, fills the gaps, produces a valid file and brings the answer back.

Either way, start with the field mapping. It tells you which route fits before you commit to one.

Questions people ask

When is Fawtara e-invoicing mandatory in Oman?

The Oman Tax Authority's guidance sets 1 April 2027 for businesses whose annual supplies exceed OMR 5 million, and 1 October 2027 for all other VAT-registered businesses. We checked this on 16 November 2026; confirm your own date with the Tax Authority.

Can I keep sending PDF invoices?

A PDF is not an e-invoice under Fawtara. Once the mandate applies to you, the legal invoice is the structured XML file exchanged through your service provider. You can still give customers a readable copy alongside it.

Do I send invoices to the Tax Authority myself?

No. In Oman's five-corner model you send each invoice to your accredited service provider. They deliver it to the buyer's provider and report the tax data to the Tax Authority.

What format is a Fawtara invoice?

UBL 2.1 XML following OpenPeppol's PINT OM Billing specification, identified by urn:peppol:pint:billing-1@om-1. The specification, its rules and example files are published by OpenPeppol.

Is there a Fawtara API?

Not one that a business calls directly. Your ERP integrates with the API of your accredited service provider, and the provider exchanges the invoice over the Peppol network and reports it to the Tax Authority.

Is a Fawtara invoice XML or JSON?

XML. The invoice of record is UBL 2.1 XML under PINT OM. A service provider's API may accept JSON from your ERP and convert it, so check what your provider expects.

Does Fawtara cover sales to consumers?

Yes. The Tax Authority's guidance says business-to-consumer invoicing is implemented at the same time as business-to-business and business-to-government, with consumer invoices submitted within 24 hours.

How fast must a Fawtara invoice be submitted?

The Tax Authority's FAQ says business-to-business invoices are submitted in real time and business-to-consumer invoices within 24 hours.

Does an Oman e-invoice need a QR code?

The QR code is generated by the seller and is required on the human-readable invoice, not in the e-invoice file. The Tax Authority says it is mandatory for all business-to-consumer transactions, full or simplified.

Do we have to change our ERP for Fawtara?

No. The Tax Authority says ERP systems can be kept, depending on your arrangement with your service provider. The ERP's invoice data has to be mapped to the Oman PINT specification.

SOURCES

  1. 1Oman Tax Authority, e-invoicing FAQ
  2. 2Oman Tax Authority, Fawtara FAQ (PDF)
  3. 3ZATCA, e-invoicing specifications for developers
  4. 4Oman Tax Authority, rollout checker
  5. 5OpenPeppol, Oman specifications (PINT OM 1.0.1)
  6. 6Oman Tax Authority, VAT law and regulations
→

MORE GUIDES