SAP Integration for Thailand e-Tax Invoice & e-Receipt

Coordinate invoice generation, customer format, signing, XML submission, acknowledgements and retention.
Country / jurisdiction

Thailand

Article scope

B2B, B2C, Outbound, Tax Reporting

Last checked

2026-08-28

SAP integration in Thailand is a coordinated document process rather than a single outbound XML conversion.

How to use this guide

A useful project outcome is not a document that merely repeats the rule. It is a traceable decision model that connects the rule to legal entities, transaction scenarios, source data, system behaviour, operating ownership and evidence.

Define ownership across the integration boundary

A robust design assigns each fact and status to one authoritative layer. Middleware should transport and orchestrate, not invent missing business facts.

Decision areaWhat must be decidedEvidence to retain
SAP / ERPOwn invoice identity, partner, tax, line, amount, currency and original-document relationships.Validated source snapshot and readiness result.
Integration layerTransform deterministic facts, route by approved rules, apply idempotency and preserve correlation.Mapping version, routing decision, request and response log.
Provider / official channelPerform the selected transport, signing or platform interaction without redefining source truth.Provider reference, timestamps and unmodified responses.
Finance operationsOwn business resolution, customer communication, reconciliation and period-end completeness.Action log, ageing, reconciled status and approval.
Archive / auditRetain source, payload, response, representation and subsequent events under one key.Searchable evidence package with retention controls.

Country-specific decisions

Decision areaWhat must be decided
Separate business facts from representationsSAP remains the source for company, customer, tax, item, amount and document-reference facts. Customer documents and Revenue Department XML are generated from the same checked facts for their respective purposes.
Make signing responsibility explicitThe design must identify whether the enterprise or an appointed provider creates and signs the electronic document, which certificate is used and how signature failures are handled.
Retain the complete evidence setKeep the SAP source, customer document, signature evidence, submitted XML, transmission acknowledgement and any correction together under one traceable business identity.

Use a business state model, not an HTTP result

The integration should make the next action explicit and prevent technical success from being mistaken for legal or operational completion.

  1. Ready
    All required business facts and scope decisions are complete.
  2. Blocked
    A deterministic readiness error prevents generation or transmission.
  3. Queued
    The document is eligible and waiting for controlled processing.
  4. Submitted
    The request has a correlation ID, but no terminal business outcome yet.
  5. Accepted / rejected
    The platform outcome is normalized without losing the original response.
  6. Correction required
    A governed follow-on process is linked to the original document.
  7. Closed
    Platform outcome, customer delivery, ERP status and reconciliation are complete.

Go-live exit criteria

  • Every mapped field has one authoritative source and a blocking rule when absent.
  • Routing is deterministic by entity, transaction and approved channel—not by silent fallback.
  • Timeout, duplicate, rejection, correction and cancellation scenarios pass end-to-end tests.
  • Finance users can resolve exceptions without reading middleware logs.
  • Reconciliation proves completeness between ERP population and terminal electronic-invoice outcomes.
  • The evidence package can be retrieved by business key within the agreed audit time.

Official sources

Information note: This guide provides general business information based on the cited official sources. It is not legal, tax or accounting advice. Confirm the current rules and entity-specific interpretation with local advisers before implementation.
Thailand: Customer E-Documents, Digital Signatures and Tax XML Are Different Outputs
A readable customer document and the standardized XML sent to the Revenue Department serve different purposes.