Maya AIMaya AISee Maya Finance

Autoflow: Automated E-Invoicing API for UAE Businesses

Updated March 2026·10 min read

If your business processes hundreds or thousands of transactions per month — EV charging sessions, parking tickets, subscription renewals, SaaS billing, ride fares — you need invoices generated automatically, in real time, compliant with UAE tax rules, and posted to your books without manual intervention. That is what Autoflow does.

One API call per transaction. Autoflow handles everything else: invoice number allocation, VAT calculation at 5%, PDF generation, email delivery, PINT AE/Peppol transmission for B2B, and automatic posting to your Maya Finance ledger as a revenue invoice with correct journal entries.

How It Works

# Your system

POST /api/autoflow/v1/transactions

# Autoflow does:

1. Validates & determines invoice type (B2C PDF / B2B PINT)

2. Allocates invoice number

3. Generates UBL 2.1 XML + PDF

4. Posts to Maya Finance ledger (RevenueInvoice + JournalEntry)

5. Delivers to customer (email PDF + Peppol for B2B)

6. Returns invoice_id + status in <200ms

Who Uses Autoflow

PINT AE Ready — Ahead of the UAE E-Invoicing Mandate

The UAE is joining the Peppol network. Mandatory e-invoicing for B2B transactions is expected to phase in starting mid-2026. Autoflow generates invoices in the PINT AE format (Peppol International for UAE) from day one, so when the mandate takes effect, your invoices are already compliant.

For B2B customers with a Peppol participant ID, Autoflow transmits the structured UBL XML directly via the Peppol network. For B2C customers (no TRN) or B2B customers not yet on Peppol, invoices are delivered as PDF by email. The invoice type is determined automatically based on whether a Tax Registration Number is present in the transaction payload.

Pricing

Simple, volume-based pricing with no hidden fees.

Per-Invoice Fee

AED 0.90
per invoice generated via the API

Charged for each invoice successfully generated, regardless of delivery method (email, Peppol, or both). Credit notes count against this fee.

Annual Integration & Certificate Plans

PlanAnnual FeeMonthly LimitBest For
Autoflow 1KAED 18,000/year1,000 invoices/monthSmall operators, pilot integrations
Autoflow 2.5KAED 22,000/year2,500 invoices/monthMid-size operators, growing networks
Autoflow UnlimitedAED 35,000/yearUnlimitedLarge operators, national networks

All prices exclude 5% UAE VAT. Annual plans include Peppol integration, certificate maintenance, and API access. The per-invoice fee (AED 0.90) applies on top of the annual plan.

API Quick-Start

Integration takes under an hour. Here is the core flow:

curl -X POST https://finance.maya-ai.ae/api/autoflow/v1/transactions \
  -H "Authorization: Bearer af_live_sk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "idempotency_key": "ev-session-12345",
    "transaction": {
      "external_id": "SESSION-12345",
      "occurred_at": "2026-03-28T14:30:00Z",
      "description": "EV Charging — 45.2 kWh"
    },
    "lines": [{
      "description": "45.2 kWh @ AED 0.35",
      "quantity": 45.2,
      "unit": "kWh",
      "unit_price": 35,
      "vat_rate": 0.05
    }],
    "customer": {
      "email": "driver@example.com",
      "name": "Ahmed Al Maktoum",
      "trn": "100123456789012"
    }
  }'

Response (within 200ms): invoice_id, invoice_number, status, total_incl_vat, invoice_type. The invoice is generated, posted to your ledger, and delivered to the customer asynchronously.

What the Ledger Integration Means

Every Autoflow invoice creates a real entry in your Maya Finance books:

This means your books are always current. No end-of-month import. No reconciliation gap. No manual data entry for thousands of micro-transactions.

Frequently Asked Questions

What is Autoflow?

Autoflow is Maya Finance's e-invoicing API. Your system sends a single JSON transaction, and Autoflow generates a UAE-compliant invoice, delivers it to the customer, and posts it to your Maya Finance ledger automatically. No manual data entry, no reconciliation gap.

How much does it cost?

AED 0.90 per invoice generated. Annual integration and certificate plans start at AED 18,000/year for up to 1,000 invoices/month, AED 22,000/year for up to 2,500/month, and AED 35,000/year for unlimited volume.

Is Autoflow ready for UAE mandatory e-invoicing?

Yes. Autoflow generates UBL 2.1 XML conforming to PINT AE (Peppol International for UAE) and can transmit via Peppol when configured with an Access Service Provider. When the UAE e-invoicing mandate takes effect, your invoices are already in the right format.

What types of businesses use Autoflow?

Any business that processes high volumes of transactions and needs automated invoicing: EV charging operators, parking systems, ride-hailing, SaaS platforms billing end-customers, e-commerce fulfillment, vending, toll systems, and subscription billing platforms.

Do I need a Maya Finance account?

Yes. Autoflow is an add-on to Maya Finance. Every invoice generated via the API posts directly to your Maya Finance ledger as a revenue invoice with correct VAT treatment. This means your bookkeeping is always current — no manual import or reconciliation step.

How does the API authentication work?

You generate API keys in Maya Finance Settings. Keys use Bearer token authentication. Sandbox keys (af_test_sk_) let you test without generating real invoices. Live keys (af_live_sk_) create production invoices.

Can Autoflow handle B2B and B2C invoices?

Yes. Autoflow automatically determines the invoice type based on whether a Tax Registration Number (TRN) is present. B2C invoices are delivered as PDF by email. B2B invoices with a Peppol ID are transmitted via Peppol. B2B invoices without a Peppol ID receive a PDF with a compliance note.

Related

Stop Generating Invoices Manually

One API call. Compliant invoice. Posted to your books. Delivered to the customer. AED 0.90.

Get Started with Maya Finance
Autoflow E-Invoicing API for UAE Businesses | Maya Finance | Maya AI | Maya AI