3.1 - Generate

Generate a Future Posting

API Method = GenerateFuturePosting

This method makes it possible to record the Future Posting on the account, to charge amounts from the source account to a Future Posting clearing account and to distribute the payments on the scheduled day.

Generates a new version, with the data:

• Bank details of the payer's account;
• Documents of the payer;
• Bank details of the target account;
• Recipient documents;
• Debit form data;
• Start date;
• End date (expiration);
• Launch values;
• Fees and type of fees.

{
    "Method": "GenerateFuturePosting",
    "PartnerId": "{{PartnerId}}",
    "BusinessUnitId": "{{BusinessUnitId}}",
    "InitialDate": "2024/08/09",
    "DueDate": "2034/01/01",
    "TaxNumber": "45748851000155",
    "Bank": null,
    "BankBranch": null,
    "BankAccount": null,
    "BankAccountDigit": null,
    "Identifier": "{{$guid}}",
    "ReceiverName": "João",
    "ReceiverTaxNumber": "12345678963",
    "ReceiverBank": "450",
    "ReceiverBankBranch": "0001",
    "ReceiverBankAccount": "123575",
    "ReceiverBankAccountDigit": "9",
    "DebitType": 1,
    "Value": 0.01,
    "AutomaticType": 3,
    "RateValueType": 2,
    "RateValue": 0,
    "OriginatorRestrictionType": 2,
    "OriginatorTaxNumber": "093961465347",
    "Description": "teste fp",
    "Tags": [
        "boleto fp"
    ],
    "ReceiverBankingData": {
        "FuturePostingPayeeType": 1,
        "PayeeBusinessUnitId": 494,
        "PayeeTaxNumber": "12546998756",
        "PayeeName": "Maria",
        "BankCode": null,
        "BankBranch": null,
        "BankAccount": null,
        "BankAccountDigit": null,
        "OurNumber": "12345678",
        "ExternalNumber": "1234567"
    }
}
{
    "Success": "true",
    "DocumentNumber": 447839
}

Description

ParameterTypeDescriptionMandatory
MethodStringGenerateFuturePostingYES
PartnerIdLongFitBank provided IDYES
BusinessUnitIdLongFitBank provided IDYES
InitialDateStringInitial DateNO
DueDateStringDue DateYES
TaxNumberStringPayer's CPF/CNPJYES
BankCodeStringPayer's BankNO
BankBranchStringPayer's Bank BranchNO
BankAccountStringPayer's Bank AccountNO
BankAccountDigitStringPayer's Bank Account DigitNO
IdentifierStringExternal identification number(It cannot be repeated).YES
ReceiverNameStringPayee's NameYES
ReceiverTaxNumberStringPayee's CPF/CNPJYES
ReceiverBankStringPayee's BankNO
ReceiverBankBranchStringPayee's Bank BranchNO
ReceiverBankAccountStringPayee's Bank AccountNO
ReceiverBankAccountDigitStringPayee's Bank Account DigitNO
DebitTypeLongDebitType: Total = 0 / Partial = 1YES
ValueLongFuture Posting ValueYES
AutomaticTypeLongAutomatic Bank Transfer: Nothing (default) = 0 / AutomaticFuturePosting = 1YES
RateValueTypeLongRate Value Type: Sent = 0 / Default = 1 / None = 2YES
RateValueLongRate ValueYES
DescriptionStringDescriptionNO
TagsStringTagsNO
ReceiverBankingDataObjectAn object that contains the information for the TED or Boleto.NO
FuturePostingPayeeTypeLongType of boleto generation: 0 - Boleto generated in the same BU as the FP / 1 - Boleto generated in a different BU from the FP issuance.YES
PayeeBusinessUnitIdLongIndicates the BU issuing the boleto when BoletoPayeeType = 1.YES
PayeeTaxNumberStringCPF/CNPJ of the receiving account/beneficiary of the boleto (regular/specific account).YES
PayeeNameStringName of the receiving account/beneficiary of the boleto (regular/specific account).YES
BankCodeStringPayee's External Bank CodeNO
BankBranchStringPayee's External Bank BranchNO
BankAccountStringPayee's External Bank AccountNO
BankAccountDigitStringPayee's External Bank Account DigitNO
OurNumberLong"Our Number" indicated on the boleto.YES
ExternalNumberLong"ExternalNumber" indicated on the boleto.YES
OriginatorRestrictionTypeString0: When the client does not include the originator in the request, but the originator is active in the Person or BU, the generated FP checks the originator list during settlement.

1: The client provides the originator in the OriginadorTaxNumber field, and during the generation of the FP, the originator information is saved in the generated FP record.

2: When there is no originator, the scraping analysis can consider both the current account balance and the future balance to be credited starting from the initial date.
NO
OriginatorTaxNumberStringWhen the originator type is 1, the taxnumber field must be provided along with the originatortaxnumber for the originator to be properly registered in the FP.NO