3 - Queries

GetBoletosDDA

The GetBoletosDDA method makes it possible to consult all the boletos registered for the electronic payer. The payer can filter the list of boletos issued in their name using the start and end due date, limiting the display to only boletos due within the defined period. In addition, it is possible to consult the boletos issued to a specific payee, either by name or CPF/CNPJ.

{
  "Method": "GetBoletosDDA",
  "PartnerId": 12345,
  "BusinessUnitId": 12345,
  "ElectronicPayerTaxNumber": "12345678910",
  "PageSize": 10,
  "PageIndex": 1,
  "InitialDueDate": "01/01/2026",
  "FinalDueDate": "31/12/2026",
  "BeneficiaryName": "Company Name",
  "BeneficiaryTaxNumber": "98765432100"
}
{
    "Success": true,
    "Payer": {
        "Name": "Technologies",
        "TaxNumber": "93693236000131"
    },
    "Boletos": [
        {
            "Beneficiary": {
                "Name": "Josh",
                "TradingName": null,
                "TaxNumber": "25975096057"
            },
            "Barcode": "45095956100000010000010000000900621350037120",
            "DigitableLine": "45090010060000090062113500371201595610000001000",
            "DueDate": "10/12/2023",
            "PrincipalValue": 11.00,
            "CalculatedValues": {
                "InterestValue": 0,
                "FineValue": 0,
                "DiscountValue": 0,
                "RebateValue": 0.00,
                "FinalValue": 11.00
            },
            "Situation": "12 - Boleto apto para pagamento"
        },
        {
            "Beneficiary": {
                "Name": "Josh",
                "TradingName": null,
                "TaxNumber": "25975096057"
            },
            "Barcode": "45091956100000010000010000001100621530037150",
            "DigitableLine": "45090010060000110062715300371505195610000001000",
            "DueDate": "11/12/2023",
            "PrincipalValue": 12.00,
            "CalculatedValues": {
                "InterestValue": 0,
                "FineValue": 2,
                "DiscountValue": 0,
                "RebateValue": 0.00,
                "FinalValue": 14.00
            },
            "Situation": "12 - Boleto apto para pagamento"
        },
        {
            "Beneficiary": {
                "Name": "Josh",
                "TradingName": null,
                "TaxNumber": "25975096057"
            },
            "Barcode": "45098956100000010000010000001300621550037190",
            "DigitableLine": "45090010060000130062315500371909895610000001000",
            "DueDate": "12/12/2023",
            "PrincipalValue": 13.00,
            "CalculatedValues": {
                "InterestValue": 0,
                "FineValue": 2,
                "DiscountValue": 0,
                "RebateValue": 10.00,
                "FinalValue": 3.00
            },
            "Situation": "12 - Boleto apto para pagamento"
        }
    ]
}

Request Parameters

FieldTypeRequiredDescription
MethodstringYesMust be GetBoletosDDA
PartnerIdintegerYesPartner identifier
BusinessUnitIdintegerYesBusiness unit identifier
ElectronicPayerTaxNumberstringYesCPF or CNPJ of the electronic payer
PageSizeintegerYesNumber of records per page (recommended: 10-100)
PageIndexintegerYesPage number (starts at 1)
InitialDueDatestringNoInitial due date filter (DD/MM/YYYY)
FinalDueDatestringNoFinal due date filter (DD/MM/YYYY)
BeneficiaryNamestringNoBeneficiary name filter
BeneficiaryTaxNumberstringNoBeneficiary CPF/CNPJ filter

Success Response

{
  "Success": true,
  "Payer": {
    "Name": "John Doe",
    "TaxNumber": "12345678910"
  },
  "Boletos": [
    {
      "Beneficiary": {
        "Name": "Energy Company Ltd",
        "TradeName": "Energy Co",
        "TaxNumber": "98765432100123"
      },
      "Barcode": "45091900200000040000016612345678900000000086",
      "DigitableLine": "450916671234567890300000000869190020000004000",
      "DueDate": "31/12/2026",
      "PrincipalValue": 150.00,
      "CalculatedValues": {
        "InterestValue": 3.00,
        "FineValue": 7.50,
        "DiscountValue": 0.00,
        "RebateValue": 0.00,
        "FinalValue": 160.50
      }
    }
  ]
}

Response Fields

FieldTypeDescription
SuccessbooleanOperation result
Payer.NamestringName of the electronic payer
Payer.TaxNumberstringCPF/CNPJ of the payer
BoletosarrayList of boletos
BeneficiaryobjectBeneficiary information
Barcodestring44-digit barcode
DigitableLinestring47-digit digitable line
DueDatestringDue date (DD/MM/YYYY)
PrincipalValuedecimalOriginal boleto value
InterestValuedecimalCalculated interest
FineValuedecimalCalculated fine
DiscountValuedecimalCalculated discount
RebateValuedecimalRebate value
FinalValuedecimalFinal amount to pay

Error Response

No boletos found:

{
  "Success": false,
  "Message": "Não foram encontrados boletos para o Pagador Eletrônico informado"
}