Skip to main content

Issue a New Bank Slip

API data

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

This endpoint issues a new bank slip by adding it to the issuance/registration queue. After processing, the bank slip will be available for printing.

POST /api/billissuer/new?accountNumber={accountNumber}

This method receives billing data to issue the bank slip.

Request
{
"issuerConfiguration": "00000000-0000-0000-0000-000000000000",
"value": 0.00,
"dueDate": "2023-01-01",
"payerDocument": "string",
"payerName": "string",
"payerZipCode": "string",
"payerCity": "string",
"payerCityState": "string",
"payerStreetAndNumber": "string",
"payerNeighborhood": "string",
"payerPhoneNumber": "string",
"messageToThePayer": "string",
"referenceCode": "string",
"acceptOverduePayment": "string",
"penaltyPercentMonth": 0.00,
"interestPercentMonth": 0.00,
"maxOverdueDays": 0
}

Data dictionary - Parameters

HEADERDESCRIPTIONTYPESIZENOTES
accountNumberAccount number that will issue the bank sliplong--
IssuerConfigurationAdditional issuance configurationGUID-Used for issuance settings with interest/penalty. If not provided, the default configuration will be used.
ValueOriginal bank slip amountdecimal11, 2Format: 0.00
DueDateDue datedate-Format: YYYY-MM-DD
PayerDocumentPayer documentstring14Numbers only.
PayerNamePayer namestring50-
PayerZipCodePayer ZIP codestring8Numbers only.
PayerCityPayer citystring100-
PayerCityStatePayer state (UF)string2-
PayerStreetAndNumberPayer street and numberstring100-
PayerNeighborhoodPayer neighborhoodstring50-
PayerPhoneNumberPayer phone numberstring15Numbers only.
MessageToThePayerMessage to the payerstring165-
ReferenceCodeReference codestring20Optional. Custom bank slip identifier.
AcceptOverduePaymentAllow payment after due datestring1Optional. "S" = Yes, "N" = No. If not provided, the default configuration is used.
PenaltyPercentMonthLate payment penalty (%)decimal5, 2Optional. Range: 0.50 to 40.00. Format: 0.00. If not provided, the default configuration is used.
InterestPercentMonthLate payment interest per month (%)decimal5, 2Optional. Range: 0.50 to 40.00. Format: 0.00. If not provided, the default configuration is used.
MaxOverdueDaysMaximum overdue period (days)int-Optional. Range: 2 to 365 days. If not provided, the default configuration is used.
Response
{
"id": "00000000-0000-0000-0000-000000000000",
"success": true,
"message": "string"
}

Data dictionary - Response

HEADERDESCRIPTIONTYPESIZENOTES
idUnique bank slip identifierString-Bank slip identifier
successIssuance request statusbool-true for accepted issuance requests; false for invalid requests
messageReturn messagestring-Error details, if any

Availability

Requests can be sent at any time.

Additional Information

Issuance process

After issuance is requested, the bank slip is placed in the issuance/registration queue. This process takes about 5 minutes. After that, it can be printed.

Authentication

For all API methods (except the token endpoint), requests must be sent with a header in the following format:

KeyValue
AuthorizationBearer eyJhbGciOiJSUzIlxdWVtZS [...] mj2m65fJfvmjdVXp6dQ

The authentication type Bearer never changes, and the token that follows (as in: “eyJhbGciOiJSUzIlxdWVtZS [...] mj2m65fJfvmjdVXp6dQ”) corresponds to the token obtained via api/Auth/Token.

Attention

Tokens expire. It is the integrator system’s responsibility to request a new token after expiration to keep making API calls.