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
Field | Type | Description |
---|---|---|
bankId | integer | Unique identifier for the bank |
accountId | string | Unique identifier for the bank account |
forecastId | string | Unique identifier for the forecast (that is being adjusted) |
valueDate | datetime | Value date for the transaction |
currency | string | Transaction currency |
amount | integer | Transaction amount |
type | string | Transaction type {DEBIT,CREDIT} |
merchant | string | Name of the merchant |
category | string | Name 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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
X-Partner-Id | string | ||
X-Api-Key | string | ||
X-Company-Id | string | ||
Authorization | string |