Autoflow: Automated E-Invoicing API for UAE Businesses
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
- EV charging operators — invoice per charging session, mixed B2B fleet customers and B2C consumers
- Parking operators — high-volume micro-transactions, VAT-compliant invoicing
- SaaS platforms — billing end-customers on behalf of merchants, multi-tenant invoicing
- E-commerce fulfillment — automated invoicing for each order shipment
- Subscription billing — recurring charges with automatic invoice generation
- Ride-hailing & mobility — per-ride invoicing with TRN-based B2B detection
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
Charged for each invoice successfully generated, regardless of delivery method (email, Peppol, or both). Credit notes count against this fee.
Annual Integration & Certificate Plans
| Plan | Annual Fee | Monthly Limit | Best For |
|---|---|---|---|
| Autoflow 1K | AED 18,000/year | 1,000 invoices/month | Small operators, pilot integrations |
| Autoflow 2.5K | AED 22,000/year | 2,500 invoices/month | Mid-size operators, growing networks |
| Autoflow Unlimited | AED 35,000/year | Unlimited | Large 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:
- A Revenue Invoice with correct line items, VAT breakdown, and customer link
- A Journal Entry debiting Receivables and crediting Revenue + VAT Payable
- Automatic inclusion in your quarterly VAT return (FTA Box 1–9)
- Payment matching when bank feeds pick up incoming payments with matching references
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
- Maya Finance — the bookkeeping platform Autoflow integrates with
- Zoho Books Alternative — why UAE founders switch to Maya Finance
- Dubai Business Setup — set up your company and activate Maya Finance with 6 months free