GetIncomeReport

API Method = GetIncomeReport

This method makes it possible to consult information from the Account Income Report.

{
  "Method": "GetIncomeReport",
  "PartnerId": 93234,
  "BusinessUnitId": 40380,
  "TaxNumber": "30934646000107",
  "Bank": "621",
  "BankBranch": "3212",
  "BankAccount": "51351",
  "BankAccountDigit": "5",
  "ReferenceYear": "2023"
}
{
  "Success": "true",
  "Entry": [
    {
      "Date": "2022-12-31T00:00;00",
      "Balance": 5
    },
    {
      "Date": "2023-12-31T00:00;00",
      "Balance": 10
    }
  ]
}

Definition of request fields

FieldTypeDescription
MethodStringMethod name
PartnerIdIntegerInformation provided by FitBank
BusinessUnitIdIntegerInformation provided by FitBank
TaxNumberStringTaxnumber account holder.
BankStringBank Code (Ex.: “450”)
BankBranchStringBank Agency Code (Ex.: “0001”)
BankAccountStringBank Account (Ex.: “146492”)
BankAccountDigitStringAccount Digit (Ex.: “1”)
ReferenceYearIntegerReference year for the consultation

Error scenarios responses

  1. It will only be possible to consult the reference year prior to the current year.
{
"Success": "false",
"Message": "ISE0004 - O ano de referência não pode ser maior ou igual ao ano atual",
"Validation": null
}

Important: When using the GetIncomeReport method to consult the income report, an Income Report in PDF format will be automatically sent to the email provided in the account.


Did this page help you?