Add Forecast Balance

POST {{base_url}}/forecasting/v2/balances

Balances can be added to a particular forecast (forecastId) by calling the Add Forecast Balances endpoint.

Attributes

FieldTypeDescription
bankIdintegerUnique identifier for the bank
accountIdstringUnique identifier for the bank account
forecastIdstringUnique identifier for the forecast (that is being adjusted)
datedatetimeValue date for the balance
currencystringBalance currency
amountintegerBalance amount
typestringBalance type {DEBIT,CREDIT}

Request Body

{"values"=>[{"bankId"=>"16", "accountId"=>"accountId1234", "forecastId"=>"forecastId1234", "date"=>"2020-11-30T03:59Z", "amount"=>"100000.00", "currency"=>"GBP", "type"=>"CREDIT"}, {"bankId"=>"18", "accountId"=>"accountId2345", "forecastId"=>"forecastId2345", "date"=>"2020-12-30T03:59Z", "amount"=>"110000.00", "currency"=>"GBP", "type"=>"CREDIT"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
X-Partner-idstring
X-Api-Keystring
Authorizationstring
X-Company-Idstring