Retrieve Transaction proposals
Retrieve transaction proposals from Basecone by their unique identifier.
This API resource is only available to Premium APPs.
GET transactionproposals/:id
The following transaction proposals are currently available through the Basecone API and can be distinguished by their type
property
Transaction |
---|
Cash transaction proposals |
Journal transaction proposals |
Purchase transaction proposals |
Sales transaction proposals |
Transaction proposal properties
All transaction proposals share the following properties. Properties specific to one type of transaction are explained in the specific resource pages.
Property | Type | Description |
---|---|---|
TransactionProposalId | Guid | Unique identifier of the transaction. |
Type | String | Indicates the type of transaction, possible value are cash ,sales ,purchase ,journal . |
Document | Document object | This is a reference to the related document resource. |
DestinationCompany | Company object | This is the company that is targeted to receive the posting line details. This differs from the destination company. |
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. |
GeneralLedger | GeneralLedger object | This is the code of the ledger that is selected to book a transaction. This represents the category of booking. |
Period | String | The period of a transaction relates to the transaction date and represents the specific period in the accounts of a company. |
Currency | Currency object | Currency used in transaction. |
AdditionalField1 | String | Additional text field I |
AdditionalField2 | String | Additional text field II |
AdditionalField3 | String | Additional text field III |
IsFinalBooking | Bool | Indicates if this transaction will be booked as a final booking. |
TransactionLines | Array | Collection of transactionlines. Type of transactionline depends on the type of transaction. |
Transaction line properties
All transaction lines share the following properties. Properties specific to one type of transaction are explained in the relevant resource page.
Property | Type | Description | |
---|---|---|---|
TransactionLineId | Guid | Unique identifier of the transaction line. | No |
LineNumber | Int | Line number | No |
Description | String | Description | No |
DestinationCompany | Company object | The destination company is the company to which the header of a transaction in generally booked. | No |
GeneralLedger | GeneralLedger object | This is the code of the ledger that is selected to book a transaction. This represents the category of booking. | No |
CostCenter | CostCenter object | Cost center | No |
CostUnit | CostUnit object | Cost unit.
Note: currently, supported only on Unit4 companies. |
No |
Project | Project object | Project | No |
Amount | Decimal (nullable) | Amount | No |
VatCode | VatCode object | Vat code | No |
VatAmount | Decimal (nullable) | Vat amount | No |