Good Day,
Im getting a 401 error Invalid Auth credentials when trying to validate an invoice at endpoint : /api/v1/invoice/validate
{
"code": 401,
"data": null,
"message": "error has occurred",
"error": {
"id": "d3698ed9-79be-4d57-a304-794865a07058",
"handler": "handler",
"public_message": "invalid auth credentials"
}
}
Im an SI and also have access to our Taxpayer credentials.
Questions
1.What api key and secret api key do we use when sending invoices for validation as SI and Taxpayer have their own set of these keys.
- Business ID is correct in my load and I have tried this with both sets of secret and api keys(SI set and Taxpayer Set) and still get the same error.
Are business_ID and irn the only fields that are used in the security check.Im not sure this is causing the 401 error.
"business_id": "redacted",
"irn": "INV00XXX-redacted-20250729",
- Do I need to whitelist an IP on the portal?
Thanks,
Jeremy