Documentation
Integration logs
Check in the dashboard the errors returned by the bank and SEFAZ to find out why a Pix charge, boleto or invoice failed.
What gets recorded
Intopays writes a log whenever the bank, SEFAZ (the state tax authority) or the Sefin Nacional (the national NFS-e system) returns an error for an operation of your organization. Only errors are recorded: an operation that succeeds creates no log.
| Operation | When the error is recorded | reference |
|---|---|---|
pix.create | the bank refused to create the Pix charge (Pix is Brazil's instant payment system) | the identifier generated for the charge that failed |
pix.update | the status check at the bank failed while reading a Pix charge | the charge's transactionId |
boleto.create | the bank refused to issue the boleto (Brazilian bank payment slip) | the boleto's reference code |
boleto.update | the boleto check at the bank failed | the boleto's reference code |
boleto.delete | the bank refused to cancel the boleto | the boleto's reference code |
fiscal.create | issuing the invoice at SEFAZ or at the Sefin Nacional failed | the referenceCode sent when issuing, if any |
fiscal.update | checking the invoice at SEFAZ or at the Sefin Nacional failed | the invoice's access key (for an NFS-e without a key yet, the DPS id) |
fiscal.delete | cancelling the invoice was refused or got no answer | the invoice's access key |
The periodic status check Intopays runs against the banks does not create logs.
View in the dashboard
Logs live only in the dashboard, under Integração → Logs (Integration → Logs). The API does not list logs with a token: you read them with your signed-in session.
The list shows Provedor (Provider), Operação (Operation), Referência (Reference), Status and Data (Date), newest first. You can search by reference (TXID or code) and filter by Provedor and Operação. Click a row to see the details. Exportar (Export) downloads the filtered list as an .xlsx spreadsheet, with the message and the provider's response.
Organization members need the Logs permission of the Integração area.
What each log shows
| Information | Use |
|---|---|
| Provedor (Provider) | who returned the error: the credential's bank (SICOOB, SICREDI, BANCODOBRASIL, BRADESCO, SANTANDER, INTER), SEFAZ (NFC-e and NF-e) or SEFIN NACIONAL (NFS-e) |
| Operação (Operation) | the operation that failed, as in the table above |
| Referência (Reference) | identifier to match the log with the charge or invoice; may be empty |
| Status | HTTP status returned by the provider; empty when there was no response |
| Mensagem (Message) | error message, up to 500 characters |
| Resposta do provedor (Provider response) | the provider's response body, as text, up to 2000 characters; empty when there was no response |
| Data (Date) | date and time of the error |
Sensitive data
The log stores only what the provider returned. The data you sent in the request is not recorded.
Before saving, the message and the provider's response are cleaned:
- Values of secret fields, such as
password,senha,token,secret,authorization,certificate,client_secret,cscandpixKey, become[REDACTED]. - Sequences of 11 or more digits, such as CPF and CNPJ (Brazilian individual and company taxpayer IDs) and access keys, become
[REDACTED]. - Text over the limit is cut and ends with
….
Diagnose a failure
- Note the operation that failed and the time of the call.
- In Integração → Logs, filter by Operação. For Pix and boleto, also filter by Provedor with the credential's bank. For invoices, use the
SEFAZprovider (NFC-e and NF-e) orSEFIN NACIONAL(NFS-e). - If you have the reference, such as the Pix
transactionIdor the invoice's access key, search for part of it. - Open the log and read the Status and the Resposta do provedor: that is the bank's or SEFAZ's answer for that operation.
| What the log shows | Meaning |
|---|---|
| Status filled in | the provider answered with that status; the reason is in Resposta do provedor |
| Status empty | the provider did not answer; Mensagem gives the cause |
The API's own validations, such as a missing field or a credential that does not exist, do not create logs: the reason comes in the request's response. See the errors in Create a Pix charge, Issue an NFC-e, Issue an NF-e and Issue an NFS-e.
Missing something on this page? Contact support from the dashboard and we'll update the docs.
