CamFinTech
PracticeRegulatoryPublicationsAboutContact

CamFinTech

A fee-only regulatory and compliance practice in Phnom Penh, working on the approvals, compliance programmes and client-side integrations that connect institutions to the Kingdom of Cambodia's national digital infrastructure.

CAMFINTECH CO., LTD. (ខេមហ្វីនថេក ឯ.ក), Private Limited Company, Kingdom of Cambodia

Ministry of Commerce registration no. 1000648818 · Incorporated 9 October 2026

VAT TIN K003-902604575 · General Department of Taxation

Registered office: Room 203, 2nd Floor, BRED Bank Building, No. 30 Preah Norodom Boulevard, Village 9, Sangkat Phsar Thmey 3, Khan Daun Penh, Phnom Penh 12210

Registered activity scope, KHNSIC-2015: 62010 computer programming · 62020 computer consultancy and systems integration · 62090 information-technology advisory · 70200 management consultancy · 85499 professional training.

Publications

  • Regulatory instruments
  • Knowledge base
  • Explainers
  • Insights
  • Engagement scenarios
  • Glossary

Practice

  • Practice
  • Digital-asset service providers
  • How the firm is constituted
  • About
  • Careers
  • The Riel Report
  • Contact
  • Privacy
  • Terms

Fee-only · No client funds held · No rail operated · Reserved work to licensed professionals

© 2024–2026 CamFinTech. Established 2024, Phnom Penh.

  1. CamFinTech
  2. /
  3. Knowledge Base
  4. /
  5. CamInvoice Technical Compliance: API Integration and Data Specifications
Knowledge Base

CamInvoice Technical Compliance: API Integration and Data Specifications

CamInvoice, the Cambodia E-Invoicing System, is operated by the General Department of Digital Economy (GDDE) of the Ministry of Economy and Finance (MEF), which launched it officially on 22 January 2025. Its first phase applies to suppliers invoicing the budget entities of designated ministries. For developers, the system publishes its own technical documentation: invoices are XML documents structured on the Universal Business Language (UBL), submitted through an API that uses OAuth 2.0 credentials, validated, and then notified to both parties by webhook or polling. This article sets out what that documentation and the MEF's instruments state, and how to approach an integration around them. It does not reproduce limits, error codes or field-level rules that the documentation read for it does not state. An earlier version did, and those specifics could not be traced to any source.

Updated November 2026·6 min read

The General Department of Digital Economy of the MEF is the secretariat that manages, operates and monitors the Cambodia E-Invoicing System. An invoice validated and identified by the system is recognised as an original digital record, and is stored in digital form for 10 years.

— Ministry of Economy and Finance, Prakas 075 on the launch of the Cambodia E-Invoicing System (Khmer), Article 4 (page 2) and Article 6 (page 3), 2025

Phase 1, Step 1 applies to the central-level budget entities of two ministries (Economy and Finance; Environment) and their suppliers, covering invoices for expenditure payment requests under public procurement from fiscal year 2025.

— Ministry of Economy and Finance, Circular 003 on mandatory e-invoicing via the Cambodia E-Invoicing System, Phase 1, Step 1 (Khmer), page 1, 2025

Who Operates the System and Whom It Applies To

The Cambodia E-Invoicing System was launched by MEF Prakas 075 of 22 January 2025. Article 4 makes the MEF's General Department of Digital Economy (GDDE) the secretariat that manages, operates, supervises and monitors it. Article 6 gives an invoice validated and identified by the system the status of an original digital record, stored in digital form for 10 years. The first phase is business-to-government. Under MEF Circular 003 (Step 1), suppliers invoicing the central-level budget entities of the Ministry of Economy and Finance and the Ministry of Environment, for expenditure payment requests under public procurement, do so through the system from fiscal year 2025. Circular 012 (Step 2) adds six ministries, Circular 017 (Step 3) adds six more, and Circular 007 (Step 4, 2026) adds 14 further ministries and institutions. For any obligation beyond these, the reader should check the MEF's current circulars rather than rely on secondary summaries. The practical consequence for an integration: whether a business must connect at all, and from when, follows from whom it invoices. That question comes before any of the technical work below.

How the System Works, per Its Developer Documentation

CamInvoice publishes technical documentation for integrators at developer.e-invoice.gov.kh. It is written on the assumption that the reader has already contacted CamInvoice and received credentials. The live site currently returns a bot challenge to automated clients, so this article reads it from Internet Archive snapshots of June 2024 and December 2025. Snapshots can lag the live documentation. Treat what follows as an orientation, and the documentation supplied with your credentials as the reference. The Introduction page (June 2024) describes the flow. A CamInvoice user generates an XML e-invoice, either in its own system or in CamInvoice's free Merchant Portal, and sends it to CamInvoice via the API. CamInvoice validates it through several checks, including XML structure, UBL fields, General Department of Taxation rules, and e-KYB (electronic know-your-business). An invoice that passes is attested and stored on blockchain via CamDL. CamInvoice then notifies both the sender's and the receiver's systems by webhook. The December 2025 version organises the documentation into Getting Started (an overview and an OAuth 2.0 integration guide), an API Reference, Receive Update Events (webhooks, including setting up and unsetting a webhook, and a polling alternative), the Invoice Structure for invoices, credit notes and debit notes, and Data Types (document status, document type, event type, HTTP status codes, tax category and tax scheme).

Document Types and Data Structure

The documentation defines three document types. An INVOICE is issued by a seller to a buyer, indicating products, quantities and agreed prices. A CREDIT_NOTE records a credit given to the buyer, typically for returned goods or overpayment. A DEBIT_NOTE records additional charges or an increase in the amount owed. The Invoice Structure section specifies each document element by element, using UBL element names. The top-level elements of an invoice, as the documentation lists them, are shown in the table. Credit and debit notes follow the same pattern, with credit-note and debit-note lines in place of invoice lines and a BillingReference to the original invoice's document reference. A debit note carries a RequestedMonetaryTotal rather than a LegalMonetaryTotal. Each party block includes an endpoint ID, name, postal address, tax scheme (company ID), legal entity (company ID and registration name) and contact. The pages read for this article list these elements; they do not state field lengths, cardinality, code lists or validation rules. Those belong in the element-level pages of the current documentation, and an integration should be built against them rather than against an assumed UBL profile.
Top-level elements of a CamInvoice invoice, as listed in the developer documentation (December 2025 snapshot)
ElementWhat it holds
ID, IssueDate, DueDateInvoice identifier and dates
InvoiceTypeCode, DocumentCurrencyCodeDocument type code and currency code
AdditionalDocumentReferenceReferenced or attached documents (embedded binary object or external URI)
AccountingSupplierPartyThe seller
AccountingCustomerPartyThe buyer
PaymentTermsPayment terms note
AllowanceChargeDocument-level allowances or charges
TaxExchangeRateSource and target currency and the rate applied
TaxTotalTax amount, with subtotals by tax category and scheme
LegalMonetaryTotalLine total, tax-exclusive and tax-inclusive amounts, allowances, charges, prepaid and payable amounts
InvoiceLineEach line: quantity, amount, allowances, tax, item and price

Authentication and the API

Getting Started sets out the prerequisites. Contact CamInvoice support to obtain API credentials, a client ID and secret. Use the base URL you are given for all API requests. Implement OAuth 2.0 authentication. An access token is obtained by POST to {BaseURL}/api/v1/auth/token. The client ID and secret are sent base64-encoded as HTTP Basic credentials, and the body carries a refresh token, which the documentation says is given when the system is first connected. The response returns a token, its type (usually Bearer) and its lifetime in seconds. The documentation states that tokens expire after 900 seconds (15 minutes). The token is then sent as a Bearer token on every request that needs authentication. The API Reference (December 2025) has endpoints to list CamInvoice members and get a member's details, validate a business (taxpayer), submit and send documents, list documents and get a document's details, accept or reject documents, update document status, revoke a connected member, and download a document as PDF or as XML. The XML download returns the document in UBL format, from {BaseURL}/api/v1/document/{document_id}/xml. The documentation's HTTP status code page lists 200, 401, 403, 422 and 500.

Document Status and Update Events

After submission, a document moves through statuses that both parties can see. The documentation lists the statuses below. A status update is made by PUT to {BaseURL}/api/v1/document/status with a list of document IDs and the new status. The response separates the documents that were updated from those that failed, with a message for each failure; its own example rejects a change from PAID to ACCEPTED. An integration should therefore handle partial success, and should not assume every transition is allowed. Changes reach a connected system in one of two ways: a webhook it registers (and can unset), or polling. Either way, an integration that only sends documents is half built: the documentation also provides for receiving, accepting and rejecting them.
CamInvoice document statuses (developer documentation, December 2025 snapshot)
StatusMeaning, as documented
VALIDValidated by CamInvoice
DELIVEREDSent to the customer on the e-invoicing network
ACKNOWLEDGEDAcknowledged but not yet processed
IN_PROCESSBeing processed
UNDER_QUERYHas issues or queries and is being reviewed
CONDITIONALLY_ACCEPTEDAccepted with conditions to be fulfilled
ACCEPTEDFully accepted and awaiting payment
REJECTEDRejected and will not be processed further
PAIDPaid in full

Approaching an Integration

The documentation gives two ways in: CamInvoice's own Merchant Portal, or a business system connected through the API. A business that issues few invoices to a covered ministry may need nothing more than the portal. One that already keeps its accounts in an ERP or billing system will usually want that system to issue the invoice, so that its records and CamInvoice's agree without re-keying. For a connected system, the work is ordinary integration engineering, shaped by what the documentation specifies: - Map the ERP's invoice, credit-note and debit-note data to the documented element structure, field by field, against the current element-level pages. - Check documents locally against the same structure before submission, so that a malformed document is caught in your system and not returned by the platform. - Manage tokens: obtain, cache for less than their stated lifetime, and renew. - Submit through a durable queue, so that no invoice is lost if a call fails, and retry transient failures with backoff. - Store the document identifier CamInvoice returns against the internal invoice record, and track status from webhooks or polling. - Handle the buyer side: documents received from suppliers, and the accept, reject and status actions on them. - Reconcile internal records against CamInvoice's document list periodically. Test against whatever non-production environment CamInvoice provides with your credentials before going live. Treat the documentation, not this article, as authoritative on every specific.

A CamInvoice user generates an XML e-invoice in its own system or in the free Merchant Portal and sends it to CamInvoice via the API. CamInvoice validates it through checks including XML structure validation, UBL field validation, General Department of Taxation rules validation and e-KYB validation; a validated invoice is attested and stored on blockchain via CamDL, and a webhook notification goes to both the sender's and the receiver's systems.

— CamInvoice developer documentation, Introduction, "How it works" (developer.e-invoice.gov.kh, Internet Archive snapshot of 18 June 2024), 2024

API credentials (a client ID and secret) are obtained from CamInvoice support; authentication is OAuth 2.0. An access token is obtained by POST to {BaseURL}/api/v1/auth/token with the client ID and secret as HTTP Basic credentials and a refresh token, is used as a Bearer token on later requests, and expires after 900 seconds (15 minutes).

— CamInvoice developer documentation, Getting Started and API Reference: Get New Access Token (developer.e-invoice.gov.kh, Internet Archive snapshots of 22 December 2025), 2025

CamInvoice supports three document types: INVOICE, CREDIT_NOTE and DEBIT_NOTE.

— CamInvoice developer documentation, Data Types: Document Type (developer.e-invoice.gov.kh, Internet Archive snapshot of 22 December 2025), 2025

Document statuses: VALID, DELIVERED, ACKNOWLEDGED, IN_PROCESS, UNDER_QUERY, CONDITIONALLY_ACCEPTED, ACCEPTED, REJECTED and PAID.

— CamInvoice developer documentation, Data Types: Document Status (developer.e-invoice.gov.kh, Internet Archive snapshot of 22 December 2025), 2025

A document's XML can be downloaded in UBL format by GET to {BaseURL}/api/v1/document/{document_id}/xml with a Bearer token.

— CamInvoice developer documentation, API Reference: Download Document Xml (developer.e-invoice.gov.kh, Internet Archive snapshot of 22 December 2025), 2025

Frequently Asked Questions

Related Reading

  • What is CamInvoice?Glossary
  • What is the General Department of Taxation (Cambodia)?Glossary
  • What is CamInvoice and Who Must Comply?Learn

Official sources

  • Ministry of Economy and Finance — Prakas 075 on the launch of the Cambodia E-Invoicing System (PDF, Khmer, Open Development Cambodia copy)
  • Ministry of Economy and Finance — Circular 003, mandatory e-invoicing, Phase 1 Step 1 (PDF, Khmer, Open Development Cambodia copy)
  • Ministry of Economy and Finance — Circular 012, mandatory e-invoicing, Phase 1 Step 2 (PDF, Khmer, Open Development Cambodia copy)
  • Ministry of Economy and Finance — Circular 017, mandatory e-invoicing, Phase 1 Step 3 (PDF, Khmer, Open Development Cambodia copy)
  • Ministry of Economy and Finance — Circular 007, mandatory e-invoicing, Phase 1 Step 4 (PDF, Khmer, Open Development Cambodia copy)
  • CamInvoice — Developer documentation, Introduction (Internet Archive snapshot, 18 June 2024)
  • CamInvoice — Developer documentation, Getting Started (Internet Archive snapshot, 22 December 2025)
  • CamInvoice — Developer documentation, Get New Access Token (Internet Archive snapshot, 22 December 2025)
  • CamInvoice — Developer documentation, Document Status (Internet Archive snapshot, 22 December 2025)

Links last checked on 2026-11-06. Home pages are starting points, not citations for a specific statement on this page.

How CamFinTech Can Help

Core Rail Integrations

  • CamDX / eKYC Enablement
  • Bakong / KHQR Integration
  • CamInvoice Readiness
  • CamInvoice SP-Enablement

Strategic Services

  • Licensing-Readiness
  • Market-Entry Consulting

Risk & Security

  • AML-Programme Design
  • Security / Pentesting
  • Data-Protection Protocols
  • DASP Approval-Readiness· flagship

Enablement

  • Professional Training & Knowledge Transfer

Fee-only. We build the client-side integration ourselves, or bring in a platform specialist as a disclosed sub-contract. We never hold client funds and never operate a rail.

Book a Consultation
← All Knowledge Base articles