Skip to main content

Add a Sales Opportunity Financial Line

Adding a sales opportunity financial line.

Query String Parameters

NameTypeDescriptionRequired
ActionStringAddSalesOppFinancialLineRequired
SalesOpportunityIdIntId of the sales opportunity to associate the financial line with. Returned from adding or editing a sales opportunityRequired
PredefinedItemIdIntId of predefined invoice item to associate with sales opportunity. Returned from Pre-defined invoicing items serviceRequired
ItemTypeIntSpecifies the line type to associate with sales opportunity. See Notes.Required
DescriptionStringDescription of the line to be associated with the sales opportunity.Required
CurrencyCodeStringCurrency of the line to be associated with the sales opportunity. See Notes.Required
NominalCodStringNominal code to associate with financial line. If no code is passed the service will attempt to add the nominal code of 4001 if it exists within your BigChange setupOptional
DepartmentCodeStringDepartment code to associate with financial lineOptional
CostDoubleCost of the line item to associate with the sales opportunity. Defaults to null if none passed.Optional
UnitPriceDoubleUnit price of the line item to associate with the sales opportunity. Defaults to 0 if none passed.Optional
DiscountedPercentageDouble <=100Discounted percentage of the line item to associate with the sales opportunity. Must be <= 100Optional
DiscountedValueDoubleDiscounted value of the line item to associate with the sales opportunity.Optional
QuantityDoubleNo of unitsOptional
VatRateDoubleTotal, including tax payable, on sales opportunity. Generally calculated from financial lines added when a document is createdOptional

Notes

Item Types:

  • freetext
  • predefined (ItemId Required)
  • stock
  • drivingplanned
  • drivingactual
  • workplanned
  • workactual
  • expense

Currency Codes:

  • AUD
  • BGN
  • CAD
  • CHF
  • CZK
  • DKK
  • EUR
  • GBP
  • HUF
  • ILS
  • LTL
  • LVL
  • MXN
  • NOK
  • PLN
  • RON
  • RUB
  • SEK
  • USD

Response Codes

Example

Request URL

https://webservice.bigchange.com/v01/services.ashx?action=action=AddSalesOppFinancialLine&SalesOpportunityId=2135467&PredefinedItemId=348572&ItemType=predefined&Description=test desc&CurrencyCode=GBP