跳到主要内容

征税发票查询

此端点用于查询征税发票信息。

征税发票

此类账单由服务特许经营商(水、电、电话和燃气账单)和政府机构(税务)开具。它们未在银行间支付结算所(CIP/Núclea)登记,因此返回的信息与银行票据不同。您可以通过此链接查看 QI Tech 接受的协议列表及各自的支付截止时间。

Request

请求端点

ENDPOINT
/bill_payment/collection_slip/DIGITABLE_LINE or BARCODE
MÉTODO
GET

请求路径参数

字段类型描述字符数
digitable_linestring待查询的数字行。48
barcodestring待查询的条形码。44

Response

成功响应

STATUS
200
Response Body: 征税发票可支付
{
"barcode": null,
"digitable_line": "836200000138892100450006762142420244046000010192",
"collection_name": "CIA ULTRAGAZ SA-COD",
"expiration_date": "2024-04-15",
"total_amount": 1389.21
}

Response Body 参数

字段类型描述
barcodestring条形码。
digitable_linestring数字行。
collection_name *string协议名称。
expiration_date *string到期日期。
total_amount *number总金额。

错误响应

STATUS
4XX
Response Body
{
"title": "Título",
"description": "Description in english",
"translation": "Descrição em português",
"code": "Código"
}
HTTP 代码QI 代码标题描述(英文)描述(葡文)
400BIP000033Bad RequestCollection slip not found.Fatura de recolhimento não encontrada.
400BIP000034Bad RequestIt 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.
403BIP000010ForbiddenUser is not allowed to do this actionUsuário não tem autorização para fazer essa ação