Authorization: ********************
{ "documentType": "388", "reason": "ลูกค้าขอยกเลิก" }
curl --location 'https://api.gofive.co.th/etaxgo/Documents//cancel' \ --header 'Ocp-Apim-Subscription-Key: a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "documentType": "388", "reason": "ลูกค้าขอยกเลิก" }'
status.isSuccess
{ "status": { "isSuccess": true }, "data": { "documentNumber": "T2024001234", "rdSubmissionStatus": "CANCELLED", "cancelledAt": "2024-01-15T11:00:00" } }