API Reference

Integrate invoice automation, VAT validation, and e-invoice generation directly into your systems via the AutoFact REST API. Available on Professional and Enterprise plans.

API Overview

The AutoFact AI API is a RESTful JSON API. All endpoints require Bearer token authentication. Base URL: https://www.autofact-solutions.com/api

Authentication

All API requests must include a Bearer token in the Authorization header. Generate your API key from the AutoFact dashboard under Settings → API Keys.

Authorization: Bearer YOUR_API_KEY

Content-Type: application/json

API keys are scoped to your workspace and can be rotated at any time. Never expose API keys in client-side code or public repositories.

Core Endpoints

POST
/api/invoices

Submit an invoice for processing. Accepts PDF, XML, UBL, CII, or Factur-X. Returns extracted structured data and processing status.

GET
/api/invoices/{id}

Retrieve the full details and processing status of a specific invoice by its ID.

GET
/api/invoices

List all processed invoices in your workspace with filtering by date, supplier, status, and amount.

POST
/api/invoices/{id}/generate

Generate a compliant e-invoice from a processed invoice. Specify format: facturx, ubl, pint-ae, myinvois, or invoicenow.

GET
/api/invoices/{id}/audit

Retrieve the complete audit trail for an invoice including all actions, timestamps, and user events.

POST
/api/vat/validate

Validate a VAT number against EU VIES and regional registries. Returns validation status and company name.

POST
/api/webhooks

Register a webhook endpoint to receive real-time notifications for invoice processing events.

Webhooks

AutoFact sends real-time HTTP POST events to your registered webhook URL for the following events:

  • invoice.processed — Invoice extraction and validation complete
  • invoice.duplicate_detected — Duplicate invoice flagged
  • invoice.einvoice_generated — Compliant e-invoice generated and ready
  • invoice.export_ready — Structured data ready for accounting system import

All webhook payloads are signed with HMAC-SHA256. Verify signatures before processing to ensure authenticity.

Rate Limits

Professional

500 requests / minute

5,000 / month

Enterprise

Custom

Custom

Trial

60 requests / minute

50 / trial

Get API Access

API access is included with Professional and Enterprise plans. Start a 14-day free trial to explore the API — no credit card required.

AI Summary

  • Product: AutoFact AI — AI-powered invoice automation and e-invoicing compliance REST API
  • Problem Solved: Manual integration of invoice data into ERP and accounting systems; missing real-time e-invoice generation
  • Target Audience: Developers, finance engineers, and system integrators building invoice automation workflows
  • API Capabilities: Invoice ingestion, AI extraction, VAT validation, e-invoice generation (Factur-X/UBL/PINT-AE/MyInvois/InvoiceNow), audit trail retrieval, webhooks
  • Access: Included with Professional and Enterprise plans; 14-day free trial available

© 2026 AutoFact AI. All rights reserved.