征税发票查询
此端点用于查询征税发票信息。
征税发票
此类账单由服务特许经营商(水、电、电话和燃气账单)和政府机构(税务)开具。它们未在银行间支付结算所(CIP/Núclea)登记,因此返回的信息与银行票据不同。您可以通过此链接查看 QI Tech 接受的协议列表及各自的支付截止时间。
Request
请求端点
ENDPOINT
/bill_payment/collection_slip/DIGITABLE_LINE or BARCODEMÉTODO
GET请求路径参数
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
digitable_line | string | 待查询的数字行。 | 48 |
barcode | string | 待查询的条形码。 | 44 |
Response
成功响应
STATUS
200Response Body: 征税发票可支付
{
"barcode": null,
"digitable_line": "836200000138892100450006762142420244046000010192",
"collection_name": "CIA ULTRAGAZ SA-COD",
"expiration_date": "2024-04-15",
"total_amount": 1389.21
}
Response Body 参数
| 字段 | 类型 | 描述 |
|---|---|---|
barcode | string | 条形码。 |
digitable_line | string | 数字行。 |
collection_name * | string | 协议名称。 |
expiration_date * | string | 到期日期。 |
total_amount * | number | 总金额。 |
错误响应
STATUS
4XXResponse Body
{
"title": "Título",
"description": "Description in english",
"translation": "Descrição em português",
"code": "Código"
}
| HTTP 代码 | QI 代码 | 标题 | 描述(英文) | 描述(葡文) |
|---|---|---|---|---|
| 400 | BIP000033 | Bad Request | Collection slip not found. | Fatura de recolhimento não encontrada. |
| 400 | BIP000034 | Bad Request | It was not possible to consult the collection slip at this time. Please try again in a few minutes. | Não foi possível consultar a fatura neste momento. Por favor, tente novamente em alguns minutos. |
| 403 | BIP000010 | Forbidden | User is not allowed to do this action | Usuário não tem autorização para fazer essa ação |