BI
BI Soft Tech Services LLC ASP E-Invoice Compliance Gateway
UAE MoF / PINT AE / Peppol Ready Workspace

BI Soft Tech ASP E-Invoice Compliance API

Operational gateway for ERP invoice import, compliance validation, UBL XML generation, PostgreSQL storage, PDF reporting, audit trail and Access Point submission readiness.

Production Environment API key protected writes Public URL: http://127.0.0.1:8002 PostgreSQL / ERPGlobal ready UBL 2.1 + EN16931 + UAE PINT checks
API Flow59 routes
Validation6 layers
PortalOperational
EvidenceXML + PDF

Start Here

Protected write operations require the configured X-API-Key. Public status links are safe for demos.

Validation Layers

  • Pydantic request schema and payload validation
  • Business-rule validation for totals, VAT, parties, dates, unit codes, allowances and charges
  • UBL 2.1 XSD
  • CEN EN 16931 Schematron
  • PEPPOL BIS Billing 3.0 Schematron
  • UAE MoF / PINT AE mandatory fields profile
  • MoF-style PDF report generation

Operational Modules

Dashboard Client Registration Documents Invoice Management XML Compliance ERP Integration API Management Submission Workflow Reports Security

ERP and Storage

  • POST /v1/erp/invoices/import imports one ERP invoice.
  • POST /v1/erp/invoices/sync handles ERP batch sync.
  • يتم التحكم في حفظ PostgreSQL/ERPGlobal عبر EINVOICE_DATABASE_URL.
  • Stored invoices keep JSON payload, XML, validation result, lifecycle state, audit events and reporting data.

Submission and Evidence

  • POST /v1/invoices/submit validates, stores and submits in one flow.
  • GET /v1/invoices/{id}/audit exposes invoice audit history.
  • GET /v1/invoices/{id}/pdf generates the human-readable MoF-style PDF report.
  • Webhook endpoints support operational callbacks and delivery tracking.

Suggested ASP API Flow

This page reflects the same 59-route flow checked by GET /v1/compliance/api-flow.

Aligned
  1. POST/v1/invoices/validateValidate invoice JSON payload.XML Compliance
  2. POST/v1/invoices/generateGenerate compliant UBL XML.XML Compliance
  3. POST/v1/invoicesCreate, validate and store invoice.Invoice Management
  4. POST/v1/invoices/submitCreate and submit invoice in one workflow.Submission Workflow
  5. GET/v1/document-typesList supported UAE electronic document modules.API Management
  6. POST/v1/documents/{type}/validateValidate any supported document type through the shared document service.XML Compliance
  7. POST/v1/documents/{type}/generateGenerate XML for supported document types.XML Compliance
  8. POST/v1/documents/{type}Create and store supported business documents using shared tables.Invoice Management
  9. POST/v1/documents/{type}/submitCreate and submit supported business documents.Submission Workflow
  10. POST/v1/commercial-invoices/validateDedicated Commercial Invoice validation endpoint.XML Compliance
  11. POST/v1/commercial-invoices/generateDedicated Commercial Invoice XML generation endpoint.XML Compliance
  12. POST/v1/commercial-invoicesDedicated Commercial Invoice create endpoint.Invoice Management
  13. POST/v1/commercial-invoices/submitDedicated Commercial Invoice submit endpoint.Submission Workflow
  14. POST/v1/credit-notes/validateDedicated Credit Note validation endpoint.XML Compliance
  15. POST/v1/credit-notes/generateDedicated Credit Note XML generation endpoint.XML Compliance
  16. POST/v1/credit-notesDedicated Credit Note create endpoint.Invoice Management
  17. POST/v1/credit-notes/submitDedicated Credit Note submit endpoint.Submission Workflow
  18. POST/v1/debit-notes/validateDedicated Debit Note validation endpoint.XML Compliance
  19. POST/v1/debit-notes/generateDedicated Debit Note XML generation endpoint.XML Compliance
  20. POST/v1/debit-notesDedicated Debit Note create endpoint.Invoice Management
  21. POST/v1/debit-notes/submitDedicated Debit Note submit endpoint.Submission Workflow
  22. POST/v1/sales/invoicesCreate Sales Invoice through the sales module route.Sales Documents
  23. POST/v1/sales/credit-notesCreate Sales Credit Note through the sales module route.Sales Documents
  24. POST/v1/sales/debit-notesCreate Sales Debit Note through the sales module route.Sales Documents
  25. POST/v1/sales/proforma-invoicesCreate future-ready Proforma Invoice through the sales module route.Sales Documents
  26. POST/v1/sales/returnsCreate future-ready Sales Return through the sales module route.Sales Documents
  27. POST/v1/purchase/invoicesCreate Purchase Invoice and persist it in purchase module tables.Purchase Documents
  28. POST/v1/purchase/credit-notesCreate Supplier Credit Note and persist it in purchase module tables.Purchase Documents
  29. POST/v1/purchase/debit-notesCreate Supplier Debit Note and persist it in purchase module tables.Purchase Documents
  30. POST/v1/purchase/import-invoicesCreate future-ready Import Purchase Invoice and persist it in purchase module tables.Purchase Documents
  31. POST/v1/purchase/returnsCreate future-ready Purchase Return and persist it in purchase module tables.Purchase Documents
  32. POST/v1/self-billed-invoices/validateDedicated Self-Billed Invoice validation endpoint.XML Compliance
  33. POST/v1/self-billed-invoices/generateDedicated Self-Billed Invoice XML generation endpoint.XML Compliance
  34. POST/v1/self-billed-invoicesDedicated Self-Billed Invoice create endpoint.Invoice Management
  35. POST/v1/self-billed-invoices/submitDedicated Self-Billed Invoice submit endpoint.Submission Workflow
  36. POST/v1/self-billed-credit-notes/validateDedicated Self-Billed Credit Note validation endpoint.XML Compliance
  37. POST/v1/self-billed-credit-notes/generateDedicated Self-Billed Credit Note XML generation endpoint.XML Compliance
  38. POST/v1/self-billed-credit-notesDedicated Self-Billed Credit Note create endpoint.Invoice Management
  39. POST/v1/self-billed-credit-notes/submitDedicated Self-Billed Credit Note submit endpoint.Submission Workflow
  40. GET/v1/invoices/{id}Fetch stored invoice detail.Invoice Management
  41. GET/v1/invoices/{id}/xmlDownload stored XML.Invoice Management
  42. GET/v1/invoices/{id}/pdfDownload MoF-style PDF report.Invoice Management
  43. POST/v1/invoices/{id}/sendSend invoice to access point adapter.Submission Workflow
  44. GET/v1/invoices/{id}/auditReview invoice audit history.Audit
  45. POST/v1/erp/invoices/importImport one ERP invoice payload.ERP Integration
  46. POST/v1/erp/invoices/syncBatch sync ERP invoices.ERP Integration
  47. GET/v1/compliance/rulesExpose UAE MoF mandatory rules and code lists.API Management
  48. GET/v1/compliance/gap-analysisExpose compliance gap analysis.Security
  49. GET/v1/rule-packsList installed validation rule packs.API Management
  50. GET/v1/access-point/configShow masked access point configuration.API Management
  51. GET/v1/access-point/registrationShow provider registration readiness.Admin Panel
  52. GET/v1/production-readinessShow production readiness gaps.Security
  53. POST/v1/xml/validateValidate raw XML.XML Compliance
  54. GET/v1/webhooksList webhook targets.API Management
  55. POST/v1/webhooksCreate webhook target.API Management
  56. GET/v1/webhook-deliveriesReview webhook delivery history and retry outcomes.API Management
  57. DELETE/v1/webhooksClear webhook targets.API Management
  58. PATCH/v1/webhooks/{id}Enable or disable webhook target.API Management
  59. POST/v1/mock-webhookReceive local mock webhook.API Management