post https://apigwws.bizapis.com/v2/documents/at-divida
Endpoint to retrieve the document "Dívida/Não Dívida" from Autoridade Tributária
What's New in bizAPIs 3.0Enhanced Error Responses with bizAPIs Status Codes
bizAPIs 3.0 introduces structured error responses with dedicated bizAPIs status codes, making debugging faster and support interactions more efficient. All error responses now include detailed metadata like
requestId,errorCode, anderrorNameto help you quickly identify and resolve issues.
Availability by Environment
Environment Status 📚 Documentation ✅ Available 🧪 QUAL ✅ Available 🚀 Production ⏳ Coming Soon
Download Project
DOWNLOAD PROJECT
To watch the video click here
JSON Schema API Response
Portuguese
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"requestId": {
"type": "string",
"description": "Identificador único do pedido"
}
}
},
"file": {
"type": "string",
"description": "Ficheiro PDF em base 64"
}
}
}English
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"requestId": {
"type": "string",
"description": "Unique request identifier"
}
}
},
"file": {
"type": "string",
"description": "Encoded base 64 file."
}
}
}Best Practices
- Always log the
requestId- Include it when contacting support for faster issue resolution - Use
errorCodeorerrorNamefor programmatic error handling in your application - Reference the timestamp for correlating errors with your application logs