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"
}'