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": 341,
"BusinessUnitId": 1265,
"InitialDate": null,
"DueDate": "2022/04/19",
"TaxNumber": "216.490.030-80",
"Bank": null,
"BankBranch": null,
"BankAccount": null,
"BankAccountDigit": null,
"Identifier": "{{$guid}}",
"ReceiverName": "Lothar Mathaus",
"ReceiverTaxNumber": "410.496.990-76",
"ReceiverBank": null,
"ReceiverBankBranch": null,
"ReceiverBankAccount": null,
"ReceiverBankAccountDigit": null,
"DebitType": 1,
"Value": 10.00,
"AutomaticType": 0,
"RateValueType": 1,
"RateValue": 10,
"Description": "Teste FuturePosting",
"Tags": [
"FuturePosting",
],
"ReceiverBankingData": {
"BankCode": "376",
"BankBranch": "1",
"BankAccount": "1100944",
"BankAccountDigit": "6",
"AccountType": 0 }
}
{
"Success": "true",
"DocumentNumber": 447839
}
Description
Parameter | Type | Description | Mandatory |
---|---|---|---|
Method | String | GenerateFuturePosting | YES |
PartnerId | Long | FitBank provided ID | YES |
BusinessUnitId | Long | FitBank provided ID | YES |
InitialDate | String | Initial Date | NO |
DueDate | String | Due Date | YES |
TaxNumber | String | Payer's CPF/CNPJ | YES |
BankCode | String | Payer's Bank | NO |
BankBranch | String | Payer's Bank Branch | NO |
BankAccount | String | Payer's Bank Account | NO |
BankAccountDigit | String | Payer's Bank Account Digit | NO |
Identifier | String | External identification number(It cannot be repeated). | YES |
ReceiverName | String | Payee's Name | YES |
ReceiverTaxNumber | String | Payee's CPF/CNPJ | YES |
ReceiverBank | String | Payee's Bank | NO |
ReceiverBankBranch | String | Payee's Bank Branch | NO |
ReceiverBankAccount | String | Payee's Bank Account | NO |
ReceiverBankAccountDigit | String | Payee's Bank Account Digit | NO |
DebitType | Long | DebitType: Total = 0 / Partial = 1 | YES |
Value | Long | Future Posting Value | YES |
AutomaticType | Long | Automatic Bank Transfer: Nothing (default) = 0 / AutomaticFuturePosting = 1 | YES |
RateValueType | Long | Rate Value Type: Sent = 0 / Default = 1 / None = 2 | YES |
RateValue | Long | Rate Value | YES |
Description | String | Description | NO |
Tags | String | Tags | NO |
ReceiverBankingData | Object | NO | |
BankCode | String | Payee's External Bank Code | NO |
BankBranch | String | Payee's External Bank Branch | NO |
BankAccount | String | Payee's External Bank Account | NO |
BankAccountDigit | String | Payee's External Bank Account Digit | NO |
AccountType | String | Payee's External Account Type | NO |
Updated about 2 months ago