Skip to main content

Get Bank Slip PDF

API data

Conciliation & Bank Slips API
These APIs are used for additional features such as bank slip issuance and management:

This endpoint returns the PDF of a bank slip ready for printing. The PDF is returned as base64, which can be easily converted for viewing or storage.

GET /api/billissuer/pdf?accountNumber={accountNumber}&id_bill={id_bill}

Receives the unique bank slip identifier and returns the corresponding PDF.

Request
{
"accountNumber": "long",
"id": "string"
}

Data dictionary - Parameters

PARAMETERDESCRIPTIONTYPESIZENOTES
accountNumberAccount number that issued the bank sliplong--
idUnique bank slip identifierString-Bank slip identifier
Response
{
"id": "string",
"pdfBytes": "JVBERi0xLjQK[...]adsfasd"
}

Data dictionary - Response

FIELDDESCRIPTIONTYPESIZENOTES
IdUnique bank slip identifierString-Bank slip identifier
pdfBytesPDF bytes (Base64-encoded)String--

Availability

Requests can be made at any time.

Additional Information

You can convert the returned base64 to a PDF in your application; the bank slip will be ready for viewing/printing.