Update Journal Transaction Proposal
Update journal transaction proposal by its unique identifier.
This API resource is only available to Premium APPs.
PUT transactionproposals/:id
Example request
{ "transactionDate": "2014-08-06T00:00:00", "period": "2014/8", "currency": { "code": "EUR" }, "additionalField1": "Additional information", "isFinalBooking": false, "transactionLines": [ { "transactionLineId": "e148e4cd-5fca-49f1-acdb-75e3112e8852", "isCredit": true, "description": "Some description", "destinationCompany": { "code": "9901" }, "generalLedger": { "code": "0110" }, "costCenter": { "code": "00014" }, "costUnit": { "code": "D0001" }, "project": { "code": "P0002" }, "amount": 600, "vatCode": { "code": "IH" }, "vatAmount": 120 } ] }
Journal transaction proposal properties
Properties specific to journal transaction proposals are printed bold, other properties are shared between all types of transactions.
Property | Type | Description | Optional |
---|---|---|---|
Period | String | The period of a transaction relates to the transaction date and represents the specific period in the accounts of a company. | Yes |
TransactionDate | DateTime (nullable) | This is the date of the transaction, in most cases the invoice date. The invoice date is generally mentioned on each invoice and differs from the transaction date. | Yes |
TransactionLines | Array | Collection of transactionlines. | Yes |
AdditionalField1 | String | Additional text field I. | Yes |
IsFinalBooking | Bool | Indicates if this transaction needs to result in a final booking. | Yes |
Currency | Reference object | Mandatory Currency used in transaction. | No |
Journal transaction line properties
Property | Type | Description | Optional |
---|---|---|---|
IsCredit | Bool | This indicates if the line is a credit or a debit. This implies the booking to be posted as a credit against another posting line. The sum of all postings needs to balance. | Yes |
TransactionLineId | Guid | Unique identifier of the transaction line. | Yes |
Description | String | Description | Yes |
DestinationCompany | Reference object | Mandatory The destination company is the company to which the header of a transaction in generally booked. | No |
GeneralLedger | Reference object | This is the code of the ledger that is selected to book a transaction. This represents the category of booking. | Yes |
CostCenter | Reference object | Cost center | Yes |
CostUnit | Reference object | Cost unit.
Note: currently, supported only on Unit4 companies. |
Yes |
Project | Reference object | Project | Yes |
Amount | Decimal (nullable) | Amount | Yes |
VatCode | Reference object | Vat code | Yes |
VatAmount | Decimal (nullable) | Vat amount | Yes |
Reference object properties
A multipurpose reference object that is used to encapsulate a reference to a complex object.
Property | Type | Description |
---|---|---|
Code | String | The code for a particular complex object, typically this will be an externalId. |