curl --location '/v1/documents/cancellation-note' \
--header 'Idempotency-Key;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"referenceDocumentDate": "2026-06-10",
"referenceDocumentId": "11111111-1111-1111-1111-111111111111",
"referenceDocumentNo": "INV-2026-0001",
"referenceDocumentTypeCode": "388",
"templateNo": "INV-7QX2K9"
}'{
"data": {
"documentNo": "INV-2026-0001",
"documentType": "388",
"pdf": "string",
"status": "Completed",
"warnings": [
{
"code": "string",
"message": "string"
}
]
},
"error": null,
"success": true
}