Add Forecast Transactions

POST {{base_url}}/forecasting/v2/transactions

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

Attributes

FieldTypeDescription
bankIdintegerUnique identifier for the bank
accountIdstringUnique identifier for the bank account
forecastIdstringUnique identifier for the forecast (that is being adjusted)
valueDatedatetimeValue date for the transaction
currencystringTransaction currency
amountintegerTransaction amount
typestringTransaction type {DEBIT,CREDIT}
merchantstringName of the merchant
categorystringName of the category

Request Body

{"values"=>[{"bankId"=>"16", "accountId"=>"accountId1234", "forecastId"=>"forecastId1234", "valueDate"=>"2020-11-18T03:59Z", "amount"=>"10000.00", "currency"=>"GBP", "type"=>"DEBIT", "merchant"=>"HMRC", "category"=>"Tax"}, {"bankId"=>"18", "accountId"=>"accountId2345", "forecastId"=>"forecastId2345", "valueDate"=>"2020-12-18T03:59Z", "amount"=>"10500.00", "currency"=>"GBP", "type"=>"DEBIT", "merchant"=>"HMRC", "category"=>"Tax"}]}

HEADERS

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