1. Home
  2. UAE E-Invoicing Hub
  3. Custom ERP & Integration

Custom ERP & Integration

pint-ae: Open-Source PINT AE Generation and Validation for PHP

We built pint-ae from the certification test cases we passed while integrating with an accredited provider. It is free, and it does the part every PHP system needs.

SZ
Sahil ZainiCRM & ERP Development
·2026-11-24·3 min read
Updated 24 Nov 2026 · checked against MoF Guidelines v2.0

pint-ae is an open-source PHP toolkit published by Zaini Developers for generating UAE PINT AE electronic invoices and credit notes from plain data structures and validating them against the UBL 2.1 schemas and the published PINT AE business rules. It is designed to sit inside any PHP application or middleware as the document engine. It does not transmit documents; submission to an Accredited Service Provider is handled by a separate adapter, because transmission is provider-specific and the library should stay neutral.

Key facts at a glance

  • Language: PHP 8.x; licence and installation details in the repository README.
  • Scope: generate UBL 2.1 PINT AE documents and validate them locally.
  • Built from 14 provider certification test cases covering common UAE scenarios.
  • Not included: transmission, provider APIs, archiving (by design).
  • Repository: github.com/Sahil-Zaini/pint-ae.

Why we open-sourced it

Every PHP developer integrating a UAE business with an accredited provider has to solve the same problems: build a correctly ordered UBL document, get the VAT categories and reason codes right, make the arithmetic agree, and find out before submission whether the document will be rejected. Solving that once, in the open, raises the quality floor for everyone and lets providers focus on transmission rather than on explaining schema errors to each customer.

What it covers

AreaSupport
Document typesInvoice (380) and credit note (381) with billing references
PartiesTIN endpoint identifiers (0235), TRN tax scheme, structured addresses
LinesQuantities with unit codes, prices, line allowances/charges, VAT categories and reason codes
Document levelAllowances and charges per VAT category, payment means and terms, references
TotalsSingle arithmetic engine producing consistent breakdowns and monetary totals
Foreign currencyDocument currency with AED VAT amount and exchange rate
ValidationXSD and schematron execution with structured results (rule IDs, severities, messages)

How it fits a pipeline

// 1. Build from your data
$invoice = PintAe\Invoice::fromArray($data);
// 2. Generate XML
$xml = $invoice->toXml();
// 3. Validate locally
$result = PintAe\Validator::validate($xml);
if ($result->hasFatal()) { /* show rule IDs to the user; do not submit */ }
// 4. Hand to your provider adapter (not part of pint-ae)
$asp->submit($xml, $invoice->id());

Contributing and roadmap

Issues and pull requests are welcome for new scenarios, rule-set updates when Peppol publishes PINT AE releases, and additional code-list helpers. The roadmap tracks the UAE specification: when the Mandatory Fields document or the schematron changes, the library's test corpus is updated and a release is tagged. Our production platform, FORMA, uses the same engine, so the library is exercised against real provider sandboxes continuously.

Where Zaini Developers fits in

If you are building on pint-ae and want help with the provider adapter, the archive or the finance dashboard around it, that is the work we do every week.

Book a free consultation →

Frequently asked questions

Is pint-ae an accredited solution?

Accreditation applies to service providers that transmit documents. pint-ae is a document library; transmission goes through an accredited provider.

Can I use it commercially?

Check the licence in the repository; it is intended to be usable in commercial projects.

Does it validate against the latest PINT AE release?

The repository states the rule-set version it targets; update when a new release is tagged.

Is there a hosted validator?

Yes, our browser-based PINT AE validator on zainidevelopers.com runs the same rules client-side.

This guide explains published UAE rules in plain language and is not tax or legal advice; confirm your own position with a registered tax adviser. Zaini Developers is not an Accredited Service Provider (ASP); we build and connect systems that transmit through MoF-accredited ASPs. Product names belong to their owners.
Free E-Invoicing Readiness CheckAnswer 8 quick questions and get your score and action plan.
Check my readiness

Let's build together

Need your system e-invoicing ready?
We build and connect it.

We build e-invoicing-ready ERP, CRM and POS systems and connect existing software to UAE e-invoicing.

Chat on WhatsApp