Hi, I noticed calling the report e-invoice endpoint (base_url/api/v1/vat/postpayment) returns the error:
{
"code": 404,
"data": null,
"message": "no route found for this path. kindly check your request and try again"
}
this is the curl request:
curl --location 'https://eivc-k6z6d.ondigitalocean.app/api/v1/vat/postpayment' \
--header 'x-api-key: xxxxxx' \
--header 'x-api-secret: xxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
"agent_tin": "xxxxxxxxx-xxxxxxx",
"base_amount": "100000",
"beneficiary_tin": "xxxxxxxxx-xxxxxxx",
"currency": "NGN",
"item_description": "Items",
"irn": "xxxxxxxxx-xxxxxxxx-xxxxxxxxxx",
"other_taxes": "5000",
"total_amount": "112500",
"transaction_date": "2024-11-18",
"integrator_service_id":"xxxxxxx",
"vat_calculated": "7500",
"vat_rate": "7.5",
"vat_status": "STANDARD_VAT"
}'
Pls can you let me know what the correct request looks like.
Best Regards