Skip to main content

Add or Update a Contract Financial Line

This is used to create or amend an invoice line on a financial contract.

When creating a new financial line, you must specify the Id of the contract and the parameters below. To amend a contract financial line, you only need to pass in the item Id. An output of the financial line details is provided.

Query String Parameters

NameTypeDescriptionRequired
ActionStringAddContractFinancialLineRequired
ContractIdIntThe contracts Contract Id. Must be specified if adding a new item or amending an existing contract.Required
ItemidIntFinancial item Id. Must be specified if amending an existing item.Required
QuantityDoubleFinancial line quantity. Must be specified if creating a new item line.Required
InvoiceDescriptionStringFinancial line invoice description. Must be specified if creating a new item line and not using a stock or predefined item.Required
UnitPriceDoubleFinancial line unit price. Must be specified if creating a new item line.Required
VatCodeStringFinancial line vat code. Must be specified if creating a new item line or where a stock item does not have a vat code specified.Required
CurrencyCodeStringFinancial line currency code. Must be specified if creating a new item line.Required
ItemidIntFinancial item Id. Specify if amending an existing item.Optional
NominalCodeStringFinancial line nominal code.Optional
DepartmentCodeStringFinancial line department code.Optional
DescriptionStringFinancial line item description.Optional
CurrencyCodeStringFinancial line currency code.Optional
CostPriceDoubleFinancial line cost.Optional
UnitPriceDoubleFinancial line unit price.Optional
DiscountedPercentageDoubleFinancial line discounted percentage.Optional
DiscountedValueDoubleFinancial line discounted value.Optional
QuantityDoubleFinancial line quantity.Optional
VatCodeStringFinancial line VAT Code.Optional
PredefinedItemIdIntFinancial line predefined Id.Optional
InvoiceDescriptionStringFinancial line invoice description.Optional
StockItemIdIntFinancial line stock item Id.Optional
ItemTypeStringFinancial line item type. Stock , Predefined or freetext.Optional

Response Codes

Example

Request URL

https://webservice.bigchange.com/v01/services.ashx?action=AddContractFinancialLine&ContractId=304734&Quantity=2&InvoiceDescription=New Fin Line&UnitPrice=100&VatCode=001&CurrencyCode=GBP&NominalCode&DepartmentCode&Description&CurrencyCode&CostPrice&UnitPrice&DiscountPercentage&DiscountedValue&PredefinedItemId&StockItemId&ItemType