curl --request POST \
--url https://test-api.pasca.co/api/v1/einvoice/report-fiscalization \
--header 'API-KEY: <api-key>' \
--header 'API-SECRET: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"agent_tin": "29039239-0001",
"base_amount": "1000",
"beneficiary_tin": "29334238-0001",
"currency": "NGN",
"item_description": "Items",
"irn": "{{IRN}}",
"other_taxes": "5000",
"total_amount": "112500",
"transaction_date": "2024-11-18",
"vat_calculated": "7500",
"vat_rate": "7.5",
"vat_status": "STANDARD_VAT"
}
'{
"status": false,
"code": 400,
"message": "Failed to validate invoice",
"data": null,
"error": {
"id": "5c4c008e-8f1e-4034-a96b-8b352c143da5",
"handler": "invoice_actions",
"details": "this business does not exist",
"public_message": "validation failed"
},
"timestamp": "2025-12-23T14:54:12.477393Z"
}curl --request POST \
--url https://test-api.pasca.co/api/v1/einvoice/report-fiscalization \
--header 'API-KEY: <api-key>' \
--header 'API-SECRET: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"agent_tin": "29039239-0001",
"base_amount": "1000",
"beneficiary_tin": "29334238-0001",
"currency": "NGN",
"item_description": "Items",
"irn": "{{IRN}}",
"other_taxes": "5000",
"total_amount": "112500",
"transaction_date": "2024-11-18",
"vat_calculated": "7500",
"vat_rate": "7.5",
"vat_status": "STANDARD_VAT"
}
'{
"status": false,
"code": 400,
"message": "Failed to validate invoice",
"data": null,
"error": {
"id": "5c4c008e-8f1e-4034-a96b-8b352c143da5",
"handler": "invoice_actions",
"details": "this business does not exist",
"public_message": "validation failed"
},
"timestamp": "2025-12-23T14:54:12.477393Z"
}