1. Documents
The new eTaxGo
Etaxgo V2 Partner API
  • Default module
  • Etaxgo V2 Partner API
  • Authentication
    • Get access token (OAuth 2.0 Client Credentials)
      POST
  • Documents
    • Create tax document
      POST
    • Get document detail and status
      GET
    • Download signed PDF
      GET
    • List / search documents
      POST
  • Schemas
    • TokenRequest
    • TokenResponse
    • BuyerAddress
    • DocumentLineItem
    • CreateDocumentRequest
    • CreateDocumentResponse
    • DocumentSearchRequest
    • DocumentSearchResponse
    • ErrorResponse
  1. Documents

Create tax document

POST
/api/v1/core/documents/jobs
Submit a new tax document for processing. The document is queued asynchronously —
XML generation, digital signing, and PDF creation happen in the background.
Poll GET /api/v1/core/documents/{id}/detail to check status.
Required headers:
Authorization: Bearer <access_token>
X-Selected-Company-Code: <company_code> — your company code issued during onboarding

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Document queued successfully
Bodyapplication/json

🟠400
🟠401
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/api/v1/core/documents/jobs' \
--header 'X-Selected-Company-Code;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "documentType": "388",
    "issueDate": "2026-06-15",
    "buyer": {
        "name": "บริษัท ลูกค้า จำกัด",
        "taxId": "0105567123456",
        "taxIdSchemeId": "TXID",
        "branchNo": "00000",
        "address": {
            "addressLine1": "99/9 ถนนสุขุมวิท",
            "subDistrict": "คลองตัน",
            "district": "คลองเตย",
            "province": "กรุงเทพมหานคร",
            "postalCode": "10110",
            "countryCode": "TH"
        },
        "email": "buyer@example.com"
    },
    "items": [
        {
            "sequence": 1,
            "productName": "บริการพัฒนาซอฟต์แวร์",
            "quantity": 1,
            "unitName": "งาน",
            "unitPrice": 10000,
            "vatRate": 7,
            "total": 10000
        }
    ],
    "emailAddress1": "buyer@example.com"
}'
Response Response Example
200 - Example 1
{
    "success": true,
    "data": {
        "jobTaskId": "04be64c8-8dbd-4b8f-b8b7-3037e77aedad",
        "documentId": "4704590c-004e-410d-adf7-acb7ca0a7052",
        "documentNo": "INV-2026-001",
        "status": "Pending",
        "warnings": [
            "string"
        ]
    }
}
Modified at 2026-06-15 12:21:00
Previous
Get access token (OAuth 2.0 Client Credentials)
Next
Get document detail and status
Built with