Update Sales Transaction Proposal

Update sales transaction proposal from Basecone by its unique identifier.

This API resource is only available to Premium APPs.

PUT transactionproposals/:id

Example request

{
    "transactionDate": "2014-08-08T00:00:00",
    "dueDate": "2014-09-07T00:00:00",
    "period": "2014/8",
    "description": "",
    "invoiceNumber": "hyrht54654",
    "customer": {
        "code": "1002"
    },
    "isInPaymentBatch": true,
    "isCreditNote": false,
    "totalAmount": 500,
    "currency": {
        "code": "EUR"
    },
    "additionalField1": "Some text",
    "transactionLines": [
        {
            "transactionLineId": "0a20f63a-9a7e-48e3-9c05-0344bf990077",
            "intraCommunity": {
                "countryCode": "nl",
                "VatNumber": "NL3298742987",
                "Date": "2014-08-05T00:00:00",
                "IcpDeliveryType": "goods",
            },
            "description": "Some description",
            "additionalField1": "Some text",
            "destinationCompany": {
                "code": "9901"
            },
            "generalLedger": {
                "code": "0090"
            },
            "costCenter": {
                "code": "00013"
            },
            "costUnit": {
                "code": "D0001"
            },
            "project": {
                "code": "P0008"
            },
            "amount": 500,
            "vatCode": {
                "code": "IV21"
            },
            "vatAmount": 120
        }
    ]
}

Sales transaction proposal properties

Properties specific to sales transaction proposals are printed bold, other properties are shared between all types of transactions.

Property Type Description Optional
Description String Description Yes
DueDate DateTime (nullable) Due date Yes
InvoiceNumber String Invoice number Yes
Customer Customer object Customer Yes
IsInPaymentBatch Bool This indicates and provides a trigger if the transaction needs to be taken into account for any payment run in the 3rd party application. Yes
IsCreditNote Bool Indicates whether this transaction is a credit note. Yes
TotalAmount Decimal (nullable) Total amount Yes
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

Sales transaction line properties

Property Type Description Optional
AdditionalField1 String Additional text field I Yes
IntraCommunity IntraCommunity object This indicates if the VAT code is related to an Intra Community Transaction/delivery. 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.

IntraCommunity

Property Type Description
CountryCode String Two letter country ISO code.
VatNumber String The applicable vat number.
Date DateTime (nullable) The date of the icp delivery.
IcpDeliveryType String The type of icp delivery, possible value are goods,services