API

Sales APIs

POST sales/quotes/{salesQuoteId}/items

Creates a new item in provided sales quote. Note that Discount will be ignored when DiscountPercent is provided. Note also that Discount, DiscountPercent and GrossPrice will be ignored when GrossMargin is provided.

HTTP method POST
URI https://api.rambase.net/sales/quotes/{salesQuoteId}/items
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {salesQuoteId} Sales quote identifier
Integer, minimum 100000
Custom fields Custom fields supported
Successful HTTP status code 201
API resource identifier 2143, version 18

The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.

Format:
1
<SalesQuoteItem>
2
     <Type
Type

Item type

Applicable domain values can be found here

This field is optional.

>
{Integer}</Type>
3
     <RequestedDeliveryDate
RequestedDeliveryDate

The delivery date as requested by the customer.

This field is optional.

>
{Date}</RequestedDeliveryDate>
4
     <CustomersReferenceNumber
CustomersReferenceNumber

Customers item reference number. Typically to the customers internal system.

This field is optional.

>
{String}</CustomersReferenceNumber>
5
     <CustomersProductName
CustomersProductName

Customers internal name of the product. Retrieved from the product.

This field is optional.

>
{String}</CustomersProductName>
6
     <EquivalentProductName
EquivalentProductName

Name of product with equivalent behavior and attributes. Can be used for same purpose.

This field is optional.

>
{String}</EquivalentProductName>
7
     <RequestedProductStructureRevision
RequestedProductStructureRevision

The revision will typically be a major change, as opposed to minor changes stored in the version of the product structure.

This field is optional.

>
{String}</RequestedProductStructureRevision>
8
     <ProductDescription
ProductDescription

Description of the item. If not specified, the description is by default copied from the product.

This field is optional.

>
{String}</ProductDescription>
9
     <Note
Note

Additional information regarding the item (free text). Might be visible to customers/suppliers.

This field is optional.

>
{String}</Note>
10
     <GrossMargin
GrossMargin

Gross margin of the item.

Minimum value: -100

Maximum value: 100

This field is optional.

>
{Decimal}</GrossMargin>
11
     <DiscountPercent
DiscountPercent

The discount in percent for this item.

Minimum value: 0

Maximum value: 100

This field is optional.

>
{Decimal}</DiscountPercent>
12
     <Quantity
Quantity

Required/mandatory field

Number of units quoted

Minimum value: 0

>
{Decimal}</Quantity>
13
     <BufferStockQuantity
BufferStockQuantity

The buffer stock quantity is a supply of units held as a reserve to safeguard against unforeseen shortages or demands for the customer. The quantity will be added to the assignment register.

Minimum value: 0

This field is optional.

>
{Decimal}</BufferStockQuantity>
14
     <Price
Price

This field is optional.

>
15
          <GrossPrice
GrossPrice

Represents the price per unit before any discounting is applied.

This field is optional.

>
{Decimal}</GrossPrice>
16
          <Discount
Discount

The discount for the item.

Minimum value: 0

This field is optional.

>
{Decimal}</Discount>
17
     </Price>
18
     <Seller
Seller

Reference to the seller of the item

This field is optional.

>
19
          <EmployeeId
EmployeeId

Employee identifier

Minimum value: 100

This field is optional.

>
{Integer}</EmployeeId>
20
     </Seller>
21
     <Product>
22
          <ProductId
ProductId

Required/mandatory field

Product identifier

Minimum value: 10000

>
{Integer}</ProductId>
23
     </Product>
24
     <LandedCost
LandedCost

This field is optional.

>
25
          <PurchaseCurrency
PurchaseCurrency

Purchase currency is the currency this product normally is purchased in. This is also the base currency used in the gross margin calculation. By default the purchase currency is retrieved from the product.

Applicable domain values can be found here

This field is optional.

>
{String}</PurchaseCurrency>
26
          <PurchaseExchangeRate
PurchaseExchangeRate

Exchange rate between document currency and purchase currency. Used in landed cost calculations.

This field is optional.

>
{Decimal}</PurchaseExchangeRate>
27
     </LandedCost>
28
     <RecurringInvoicing
RecurringInvoicing

This field is optional.

>
29
          <StartDate
StartDate

Start date of subscription or rental item

This field is optional.

>
{Date}</StartDate>
30
          <EstimatedEndDate
EstimatedEndDate

Expected end date of subscription or rental item

This field is optional.

>
{Date}</EstimatedEndDate>
31
          <PriceChangeAgreement
PriceChangeAgreement

Defines if and how the recurring price can be updated

Applicable domain values can be found here

This field is optional.

>
{Integer}</PriceChangeAgreement>
32
          <RecurringPrice
RecurringPrice

This field is optional.

>
33
               <RecurringPriceId
RecurringPriceId

Recurring price indentifier

Minimum value: 100000

This field is optional.

>
{Integer}</RecurringPriceId>
34
          </RecurringPrice>
35
     </RecurringInvoicing>
36
</SalesQuoteItem>
1
{
2
     "salesQuoteItem": {
3
          "type
Type

Item type

Applicable domain values can be found here

This field is optional.

":
"{Integer}",
4
          "requestedDeliveryDate
RequestedDeliveryDate

The delivery date as requested by the customer.

This field is optional.

":
"{Date}",
5
          "customersReferenceNumber
CustomersReferenceNumber

Customers item reference number. Typically to the customers internal system.

This field is optional.

":
"{String}",
6
          "customersProductName
CustomersProductName

Customers internal name of the product. Retrieved from the product.

This field is optional.

":
"{String}",
7
          "equivalentProductName
EquivalentProductName

Name of product with equivalent behavior and attributes. Can be used for same purpose.

This field is optional.

":
"{String}",
8
          "requestedProductStructureRevision
RequestedProductStructureRevision

The revision will typically be a major change, as opposed to minor changes stored in the version of the product structure.

This field is optional.

":
"{String}",
9
          "productDescription
ProductDescription

Description of the item. If not specified, the description is by default copied from the product.

This field is optional.

":
"{String}",
10
          "note
Note

Additional information regarding the item (free text). Might be visible to customers/suppliers.

This field is optional.

":
"{String}",
11
          "grossMargin
GrossMargin

Gross margin of the item.

Minimum value: -100

Maximum value: 100

This field is optional.

":
"{Decimal}",
12
          "discountPercent
DiscountPercent

The discount in percent for this item.

Minimum value: 0

Maximum value: 100

This field is optional.

":
"{Decimal}",
13
          "quantity
Quantity

Required/mandatory field

Number of units quoted

Minimum value: 0

":
"{Decimal}",
14
          "bufferStockQuantity
BufferStockQuantity

The buffer stock quantity is a supply of units held as a reserve to safeguard against unforeseen shortages or demands for the customer. The quantity will be added to the assignment register.

Minimum value: 0

This field is optional.

":
"{Decimal}",
15
          "price
Price

This field is optional.

":
{
16
               "grossPrice
GrossPrice

Represents the price per unit before any discounting is applied.

This field is optional.

":
"{Decimal}",
17
               "discount
Discount

The discount for the item.

Minimum value: 0

This field is optional.

":
"{Decimal}"
18
          },
19
          "seller
Seller

Reference to the seller of the item

This field is optional.

":
{
20
               "employeeId
EmployeeId

Employee identifier

Minimum value: 100

This field is optional.

":
"{Integer}"
21
          },
22
          "product": {
23
               "productId
ProductId

Required/mandatory field

Product identifier

Minimum value: 10000

":
"{Integer}"
24
          },
25
          "landedCost
LandedCost

This field is optional.

":
{
26
               "purchaseCurrency
PurchaseCurrency

Purchase currency is the currency this product normally is purchased in. This is also the base currency used in the gross margin calculation. By default the purchase currency is retrieved from the product.

Applicable domain values can be found here

This field is optional.

":
"{String}",
27
               "purchaseExchangeRate
PurchaseExchangeRate

Exchange rate between document currency and purchase currency. Used in landed cost calculations.

This field is optional.

":
"{Decimal}"
28
          },
29
          "recurringInvoicing
RecurringInvoicing

This field is optional.

":
{
30
               "startDate
StartDate

Start date of subscription or rental item

This field is optional.

":
"{Date}",
31
               "estimatedEndDate
EstimatedEndDate

Expected end date of subscription or rental item

This field is optional.

":
"{Date}",
32
               "priceChangeAgreement
PriceChangeAgreement

Defines if and how the recurring price can be updated

Applicable domain values can be found here

This field is optional.

":
"{Integer}",
33
               "recurringPrice
RecurringPrice

This field is optional.

":
{
34
                    "recurringPriceId
RecurringPriceId

Recurring price indentifier

Minimum value: 100000

This field is optional.

":
"{Integer}"
35
               }
36
          }
37
     }
38
}

The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.

$access_token String, optional After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time.
$db String, optional Set the database/company for the request
$useMinimumVersion Integer, optional Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information.
$showDomainDescriptions Boolean, optional Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false.
$lang String, optional Specifies the language used in the response, following the 3-letter ISO-639-1 [lll]
$showCustomFields Boolean, optional Set to "true" to include custom fields. Default value is false.

Read more about filters and sorting on how to use filter parameters and named filters.

Read more about filters and sorting on how to use sortable parameters

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<SalesQuoteItem>
2
     <SalesQuoteItemId
SalesQuoteItemId

Sales quote item identifier

>
{Integer}</SalesQuoteItemId>
3
     <Type
Type

Item type

Possible domain values can be found here

>
{Integer}</Type>
4
     <Status
Status

Status of the sales quote item

Possible domain values can be found here

>
{Integer}</Status>
5
     <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
6
     <LineNumber
LineNumber

Line- or sequence number of the item. The LineNumber is used for sorting items in applications, prints, reports etc.

>
{Integer}</LineNumber>
7
     <RequestedDeliveryDate
RequestedDeliveryDate

The delivery date as requested by the customer.

>
{Date}</RequestedDeliveryDate>
8
     <CustomersReferenceNumber
CustomersReferenceNumber

Customers item reference number. Typically to the customers internal system.

>
{String}</CustomersReferenceNumber>
9
     <CustomersProductName
CustomersProductName

Customers internal name of the product. Retrieved from the product.

>
{String}</CustomersProductName>
10
     <EquivalentProductName
EquivalentProductName

Name of product with equivalent behavior and attributes. Can be used for same purpose.

>
{String}</EquivalentProductName>
11
     <RequestedProductStructureRevision
RequestedProductStructureRevision

The revision will typically be a major change, as opposed to minor changes stored in the version of the product structure.

>
{String}</RequestedProductStructureRevision>
12
     <ProductDescription
ProductDescription

Description of the item. If not specified, the description is by default copied from the product.

>
{String}</ProductDescription>
13
     <Note
Note

Additional information regarding the item (free text). Might be visible to customers/suppliers.

>
{String}</Note>
14
     <GrossMargin
GrossMargin

Gross margin of the item.

>
{Decimal}</GrossMargin>
15
     <VATPercent
VATPercent

Value added tax percent

>
{Decimal}</VATPercent>
16
     <DiscountPercent
DiscountPercent

The discount in percent for this item.

>
{Decimal}</DiscountPercent>
17
     <Quantity
Quantity

Number of units quoted

>
{Decimal}</Quantity>
18
     <BufferStockQuantity
BufferStockQuantity

The buffer stock quantity is a supply of units held as a reserve to safeguard against unforeseen shortages or demands for the customer. The quantity will be added to the assignment register.

>
{Decimal}</BufferStockQuantity>
19
     <RemainingQuantity
RemainingQuantity

Remaining number of units to be forwarded.

>
{Decimal}</RemainingQuantity>
20
     <LeadTime
LeadTime

The lead time from ordering to delivery.

>
21
          <CustomerId
CustomerId

Customer identifier

>
{Integer}</CustomerId>
22
          <Name
Name

Name of customer (name of company or surname/familyname/lastname of a person)

>
{String}</Name>
23
          <FirstName
FirstName

Secondary name of a company or firstname of a person

>
{String}</FirstName>
24
          <VATRegistrationNumber
VATRegistrationNumber

Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).

>
{String}</VATRegistrationNumber>
25
          <CustomerLink
CustomerLink

Customer reference

>
{String}</CustomerLink>
26
     </LeadTime>
27
     <Agreement
Agreement

If the quote is accepted by the customer, an agreement is made. The status of the quote item will then be set to 4.

>
28
          <ExpirationDate
ExpirationDate

The agreement will have an expiration date. Note that this date might be different from the validity expiration date of the sales quote.

>
{Date}</ExpirationDate>
29
     </Agreement>
30
     <Price>
31
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
32
          <GrossPrice
GrossPrice

Represents the price per unit before any discounting is applied.

>
{Decimal}</GrossPrice>
33
          <Discount
Discount

The discount for the item.

>
{Decimal}</Discount>
34
          <NetPrice
NetPrice

Final price per unit after deducting all discounts etc.

>
{Decimal}</NetPrice>
35
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
36
          <GrossPrice
GrossPrice

Represents the price per unit before any discounting is applied.

>
{Decimal}</GrossPrice>
37
          <NetPrice
NetPrice

Final price per unit after deducting all discounts.

>
{Decimal}</NetPrice>
38
     </Price>
39
     <Totals>
40
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
41
          <GrossAmount
GrossAmount

Represents the item amount before any discounts etc. is applied.

>
{Decimal}</GrossAmount>
42
          <DiscountAmount
DiscountAmount

The items discount amount.

>
{Decimal}</DiscountAmount>
43
          <NetAmount
NetAmount

Final item amount after deducting all discounts etc.

>
{Decimal}</NetAmount>
44
          <RemainingAmount
RemainingAmount

Total remaining value of item in document currency. The sum of remaining quantity and open forwarded quantity, multiplied with netprice

>
{Decimal}</RemainingAmount>
45
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
46
          <GrossAmount
GrossAmount

Total gross amount in company currency.

>
{Decimal}</GrossAmount>
47
          <NetAmount
NetAmount

Total net amount in company currency.

>
{Decimal}</NetAmount>
48
          <RemainingAmount
RemainingAmount

Total remaining amount in company currency.

>
{Decimal}</RemainingAmount>
49
     </Totals>
50
     <Seller
Seller

Reference to the seller of the item

>
51
          <EmployeeId
EmployeeId

Employee identifier

>
{Integer}</EmployeeId>
52
          <EmployeeLink
EmployeeLink

Employee reference

>
{String}</EmployeeLink>
53
     </Seller>
54
     <MeasurementUnit>
55
          <MeasurementUnitId
MeasurementUnitId

Measurement unit identifier

>
{Integer}</MeasurementUnitId>
56
          <Unit
Unit

Measurement unit (ex. mm, km, dl, kg)

>
{String}</Unit>
57
          <Precision
Precision

The precision/accuracy of the measurement (number of decimals)

>
{Integer}</Precision>
58
          <MeasurementUnitLink
MeasurementUnitLink

Material unit reference

>
{String}</MeasurementUnitLink>
59
     </MeasurementUnit>
60
     <Product>
61
          <ProductId
ProductId

Product identifier

>
{Integer}</ProductId>
62
          <Name
Name

Name of the product

>
{String}</Name>
63
          <Type
Type

Type of product

Possible domain values can be found here

>
{String}</Type>
64
          <CountryOfOriginCode
CountryOfOriginCode

Two-character code (ISO 3166) identifying the default country where the product is produced. This value is inherrited from the assigned goods reception(s). If not country of origin is specified for the goods reception(s), country of origin is retrieved from the product. If assigned to multiple goods receptions with different origin, the field will be empty.

>
{String}</CountryOfOriginCode>
65
          <CustomField1
CustomField1

Custom field for grouping, sorting, categorizing and other purposes.

>
{String}</CustomField1>
66
          <CustomField2
CustomField2

Custom field for grouping, sorting, categorizing and other purposes.

>
{String}</CustomField2>
67
          <Weight
Weight

The weight of the product in kilograms.

>
{Decimal}</Weight>
68
          <Manufacturer>
69
               <ManufacturerId
ManufacturerId

Manufacturer identifier

>
{Integer}</ManufacturerId>
70
               <ShortName
ShortName

Shortname/code of the manufacturer

>
{String}</ShortName>
71
               <ManufacturerLink
ManufacturerLink

Manufacturer reference

>
{String}</ManufacturerLink>
72
          </Manufacturer>
73
          <ProductClassification>
74
               <ProductClassificationId
ProductClassificationId

Product classification identifier

>
{String}</ProductClassificationId>
75
               <ProductClassificationLink
ProductClassificationLink

Product classification reference

>
{String}</ProductClassificationLink>
76
          </ProductClassification>
77
          <Stock>
78
               <IsNonStock
IsNonStock

True if this is a non-physical product which are no using assignments from the assignment archive

>
{Boolean}</IsNonStock>
79
               <Revision
Revision

Revision number

>
{String}</Revision>
80
          </Stock>
81
          <ProductLink
ProductLink

Product reference

>
{String}</ProductLink>
82
     </Product>
83
     <ProductStructure>
84
          <ProductStructureId
ProductStructureId

Product structure reference

>
{Integer}</ProductStructureId>
85
          <ProductStructureLink
ProductStructureLink

Product structure reference

>
{String}</ProductStructureLink>
86
     </ProductStructure>
87
     <LandedCost>
88
          <PurchaseCurrency
PurchaseCurrency

Purchase currency is the currency this product normally is purchased in. This is also the base currency used in the gross margin calculation. By default the purchase currency is retrieved from the product.

Possible domain values can be found here

>
{String}</PurchaseCurrency>
89
          <PurchasePrice
PurchasePrice

Purchase price for each unit

>
{Decimal}</PurchasePrice>
90
          <Freight
Freight

Estimated freight cost of getting each unit in stock. Used for calculating landed cost.

>
{Decimal}</Freight>
91
          <Duty
Duty

Duty cost of getting each unit in stock. Used for calculating landed cost.

>
{Decimal}</Duty>
92
          <Charge
Charge

Other costs of getting each unit in stock. Used for calculating landed cost.

>
{Decimal}</Charge>
93
          <GrossPrice
GrossPrice

Total cost (landed cost or true cost) of getting each unit in stock, including purchase price, duties, charges, freight etc.

>
{Decimal}</GrossPrice>
94
          <PurchaseExchangeRate
PurchaseExchangeRate

Exchange rate between document currency and purchase currency. Used in landed cost calculations.

>
{Decimal}</PurchaseExchangeRate>
95
          <IsDerivedFromUserInput
IsDerivedFromUserInput

True if landed cost is derived from manual user input. Landed cost can only be manually updated for products without assignments

>
{Boolean}</IsDerivedFromUserInput>
96
          <IsDerivedFromPreferredPurchasePrice
IsDerivedFromPreferredPurchasePrice

True if the landed cost for this item is derived from preferred purchase price. This means that parts (or all) of the item has not reserved goods in stock, nor incoming goods (supplier backlog or production backlog).

>
{Boolean}</IsDerivedFromPreferredPurchasePrice>
97
          <IsDerivedFromAssignedSupplierBacklog
IsDerivedFromAssignedSupplierBacklog

True if landed cost for this item is derived from assigned supplier backlog. This means that the item has reserved incoming goods (supplier backlog or production backlog).

>
{Boolean}</IsDerivedFromAssignedSupplierBacklog>
98
          <IsDerivedFromAssignedStock
IsDerivedFromAssignedStock

True if landed cost for this item is derived from assigned stock. This means that the item has reserved goods in stock.

>
{Boolean}</IsDerivedFromAssignedStock>
99
          <DerivedFrom>
100
               <PurchaseQuoteItemId
PurchaseQuoteItemId

Purchase quote item identifier

>
{Integer}</PurchaseQuoteItemId>
101
               <PurchaseQuote>
102
                    <Database
Database

Database of the object

>
{String}</Database>
103
                    <PurchaseQuoteId
PurchaseQuoteId

Purchase quote identifier

>
{Integer}</PurchaseQuoteId>
104
                    <PurchaseQuoteLink
PurchaseQuoteLink

Purchase quote reference

>
{String}</PurchaseQuoteLink>
105
               </PurchaseQuote>
106
               <PurchaseQuoteItemLink
PurchaseQuoteItemLink

Purchase quote item link

>
{String}</PurchaseQuoteItemLink>
107
          </DerivedFrom>
108
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
109
          <PurchasePrice
PurchasePrice

Purchase price in sales currency.

>
{Decimal}</PurchasePrice>
110
          <Freight
Freight

Freigth cost in sales currency.

>
{Decimal}</Freight>
111
          <Duty
Duty

Duty costs in sales currency.

>
{Decimal}</Duty>
112
          <Charge
Charge

Other cost in sales currency

>
{Decimal}</Charge>
113
          <GrossPrice
GrossPrice

Total cost (landed cost or true cost) in sales currency

>
{Decimal}</GrossPrice>
114
     </LandedCost>
115
     <Accounting
Accounting

Accounting details for the item, including fixed/system dimensions. For all dimensions, see seperate resource.

>
116
          <VATCodeDefinition>
117
               <VATCode
VATCode

Code that determines VAT rules used for VAT calculations.

>
{String}</VATCode>
118
          </VATCodeDefinition>
119
          <GeneralLedgerAccount>
120
               <GeneralLedgerAccountId
GeneralLedgerAccountId

General ledger account identifier

>
{Integer}</GeneralLedgerAccountId>
121
               <GeneralLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

>
{String}</GeneralLedgerAccountLink>
122
          </GeneralLedgerAccount>
123
          <Department
Department

The department related to the item. One of the system/fixed account dimensions.

>
124
               <DepartmentId
DepartmentId

Department identifier

>
{Integer}</DepartmentId>
125
               <DepartmentLink
DepartmentLink

Finance department reference

>
{String}</DepartmentLink>
126
          </Department>
127
          <FinanceProject
FinanceProject

The finance project related to the item. One of the system/fixed account dimensions.

>
128
               <FinanceProjectId
FinanceProjectId

Finance project identifier

>
{Integer}</FinanceProjectId>
129
               <FinanceProjectLink
FinanceProjectLink

Finance project reference

>
{String}</FinanceProjectLink>
130
          </FinanceProject>
131
          <Asset
Asset

The asset related to the item. One of the system/fixed account dimensions.

>
132
               <AssetId
AssetId

Asset identifier

>
{Integer}</AssetId>
133
               <AssetLink
AssetLink

Asset reference

>
{String}</AssetLink>
134
          </Asset>
135
     </Accounting>
136
     <InitialSalesOrderItem
InitialSalesOrderItem

Reference to the initial/first/original sales order item in the document flow for this item.

>
137
          <SalesOrderItemId
SalesOrderItemId

Sales order item identifier

>
{Integer}</SalesOrderItemId>
138
          <SalesOrder>
139
               <SalesOrderId
SalesOrderId

Sales order identifier

>
{Integer}</SalesOrderId>
140
               <SalesOrderLink
SalesOrderLink

Sales order reference

>
{String}</SalesOrderLink>
141
          </SalesOrder>
142
          <SalesOrderItemLink
SalesOrderItemLink

Reference to the sales order item.

>
{String}</SalesOrderItemLink>
143
     </InitialSalesOrderItem>
144
     <ForwardedFrom
ForwardedFrom

The preceding/previous/source item.

>
145
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
146
          <ForwardedNetAmount
ForwardedNetAmount

The net amount forwarded to this item.

>
{Decimal}</ForwardedNetAmount>
147
          <ForwardedQuantity
ForwardedQuantity

The quantity forwarded to this item.

>
{Decimal}</ForwardedQuantity>
148
          <ForwardedFromItem>
149
               <ItemId
ItemId

Identifier of the object

>
{Integer}</ItemId>
150
               <Object>
151
                    <ObjectId
ObjectId

Identifier of the object

>
{Integer}</ObjectId>
152
                    <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
153
                    <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
154
               </Object>
155
               <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
156
               <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
157
          </ForwardedFromItem>
158
          <OpenForwardedQuantity
OpenForwardedQuantity

When items are forwarded they end up in one or more open items. Open items in this context means items that are not registered (status 0 or 1). OpenForwardedQuantity will be the sum of ForwardedQuantity of all items this item has been forwarded to.

>
{Decimal}</OpenForwardedQuantity>
159
          <ForwardedToItems>
160
               <Item
Item

Item this item was forwarded to.

>
161
                    <ItemId
ItemId

Identifier of the object

>
{Integer}</ItemId>
162
                    <Object>
163
                         <ObjectId
ObjectId

Identifier of the object

>
{Integer}</ObjectId>
164
                         <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
165
                         <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
166
                    </Object>
167
                    <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
168
                    <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
169
               </Item>
170
          </ForwardedToItems>
171
          <NotificationId
NotificationId

Notification identifier

>
{Integer}</NotificationId>
172
          <Status
Status

Status of the notification

>
{Integer}</Status>
173
          <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
174
          <Message
Message

The message from the notification definition, expanded with parameters.

>
{String}</Message>
175
          <TranslatedMessage
TranslatedMessage

The translated message from the notification definition, expanded with parameters.

>
{String}</TranslatedMessage>
176
          <NotificationType>
177
               <NotificationTypeId
NotificationTypeId

Notification type identifier

>
{String}</NotificationTypeId>
178
               <Category
Category

Category of notification type (warning, information etc)

Possible domain values can be found here

>
{String}</Category>
179
               <NotificationTypeLink
NotificationTypeLink

Notification type reference

>
{String}</NotificationTypeLink>
180
          </NotificationType>
181
          <NotificationLink
NotificationLink

Notification reference

>
{String}</NotificationLink>
182
          <StartDate
StartDate

Start date of subscription or rental item

>
{Date}</StartDate>
183
          <EstimatedEndDate
EstimatedEndDate

Expected end date of subscription or rental item

>
{Date}</EstimatedEndDate>
184
          <PriceChangeAgreement
PriceChangeAgreement

Defines if and how the recurring price can be updated

Possible domain values can be found here

>
{Integer}</PriceChangeAgreement>
185
          <EstimatedAmount
EstimatedAmount

Estimated amount of rental or subscription item

>
{Decimal}</EstimatedAmount>
186
          <RecurringPrice>
187
               <RecurringPriceId
RecurringPriceId

Recurring price indentifier

>
{Integer}</RecurringPriceId>
188
               <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
189
               <PriceInterval
PriceInterval

Interval of recurring price

Possible domain values can be found here

>
{Integer}</PriceInterval>
190
               <HasOneTimeFee
HasOneTimeFee

Boolean indicating if the recurring price has a one-time fee.

>
{Boolean}</HasOneTimeFee>
191
               <HasUsageStep
HasUsageStep

Boolean indicating if the recurring price has any usage steps.

>
{Boolean}</HasUsageStep>
192
               <RecurringPriceLink
RecurringPriceLink

Recurring price reference

>
{String}</RecurringPriceLink>
193
          </RecurringPrice>
194
          <CurrentPriceStep>
195
               <Price
Price

Value of a price step

>
{Decimal}</Price>
196
          </CurrentPriceStep>
197
          <ProjectOrderId
ProjectOrderId

Project order identifier

>
{Integer}</ProjectOrderId>
198
          <ProjectOrderLink
ProjectOrderLink

Project order reference

>
{String}</ProjectOrderLink>
199
     </ForwardedFrom>
200
</SalesQuoteItem>
1
{
2
     "salesQuoteItem": {
3
          "salesQuoteItemId
SalesQuoteItemId

Sales quote item identifier

":
"{Integer}",
4
          "type
Type

Item type

Possible domain values can be found here

":
"{Integer}",
5
          "status
Status

Status of the sales quote item

Possible domain values can be found here

":
"{Integer}",
6
          "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
7
          "lineNumber
LineNumber

Line- or sequence number of the item. The LineNumber is used for sorting items in applications, prints, reports etc.

":
"{Integer}",
8
          "requestedDeliveryDate
RequestedDeliveryDate

The delivery date as requested by the customer.

":
"{Date}",
9
          "customersReferenceNumber
CustomersReferenceNumber

Customers item reference number. Typically to the customers internal system.

":
"{String}",
10
          "customersProductName
CustomersProductName

Customers internal name of the product. Retrieved from the product.

":
"{String}",
11
          "equivalentProductName
EquivalentProductName

Name of product with equivalent behavior and attributes. Can be used for same purpose.

":
"{String}",
12
          "requestedProductStructureRevision
RequestedProductStructureRevision

The revision will typically be a major change, as opposed to minor changes stored in the version of the product structure.

":
"{String}",
13
          "productDescription
ProductDescription

Description of the item. If not specified, the description is by default copied from the product.

":
"{String}",
14
          "note
Note

Additional information regarding the item (free text). Might be visible to customers/suppliers.

":
"{String}",
15
          "grossMargin
GrossMargin

Gross margin of the item.

":
"{Decimal}",
16
          "vATPercent
VATPercent

Value added tax percent

":
"{Decimal}",
17
          "discountPercent
DiscountPercent

The discount in percent for this item.

":
"{Decimal}",
18
          "quantity
Quantity

Number of units quoted

":
"{Decimal}",
19
          "bufferStockQuantity
BufferStockQuantity

The buffer stock quantity is a supply of units held as a reserve to safeguard against unforeseen shortages or demands for the customer. The quantity will be added to the assignment register.

":
"{Decimal}",
20
          "remainingQuantity
RemainingQuantity

Remaining number of units to be forwarded.

":
"{Decimal}",
21
          "leadTime
LeadTime

The lead time from ordering to delivery.

":
{
22
               "customerId
CustomerId

Customer identifier

":
"{Integer}",
23
               "name
Name

Name of customer (name of company or surname/familyname/lastname of a person)

":
"{String}",
24
               "firstName
FirstName

Secondary name of a company or firstname of a person

":
"{String}",
25
               "vATRegistrationNumber
VATRegistrationNumber

Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).

":
"{String}",
26
               "customerLink
CustomerLink

Customer reference

":
"{String}"
27
          },
28
          "agreement
Agreement

If the quote is accepted by the customer, an agreement is made. The status of the quote item will then be set to 4.

":
{
29
               "expirationDate
ExpirationDate

The agreement will have an expiration date. Note that this date might be different from the validity expiration date of the sales quote.

":
"{Date}"
30
          },
31
          "price": {
32
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
33
               "grossPrice
GrossPrice

Represents the price per unit before any discounting is applied.

":
"{Decimal}",
34
               "discount
Discount

The discount for the item.

":
"{Decimal}",
35
               "netPrice
NetPrice

Final price per unit after deducting all discounts etc.

":
"{Decimal}",
36
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
37
               "grossPrice
GrossPrice

Represents the price per unit before any discounting is applied.

":
"{Decimal}",
38
               "netPrice
NetPrice

Final price per unit after deducting all discounts.

":
"{Decimal}"
39
          },
40
          "totals": {
41
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
42
               "grossAmount
GrossAmount

Represents the item amount before any discounts etc. is applied.

":
"{Decimal}",
43
               "discountAmount
DiscountAmount

The items discount amount.

":
"{Decimal}",
44
               "netAmount
NetAmount

Final item amount after deducting all discounts etc.

":
"{Decimal}",
45
               "remainingAmount
RemainingAmount

Total remaining value of item in document currency. The sum of remaining quantity and open forwarded quantity, multiplied with netprice

":
"{Decimal}",
46
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
47
               "grossAmount
GrossAmount

Total gross amount in company currency.

":
"{Decimal}",
48
               "netAmount
NetAmount

Total net amount in company currency.

":
"{Decimal}",
49
               "remainingAmount
RemainingAmount

Total remaining amount in company currency.

":
"{Decimal}"
50
          },
51
          "seller
Seller

Reference to the seller of the item

":
{
52
               "employeeId
EmployeeId

Employee identifier

":
"{Integer}",
53
               "employeeLink
EmployeeLink

Employee reference

":
"{String}"
54
          },
55
          "measurementUnit": {
56
               "measurementUnitId
MeasurementUnitId

Measurement unit identifier

":
"{Integer}",
57
               "unit
Unit

Measurement unit (ex. mm, km, dl, kg)

":
"{String}",
58
               "precision
Precision

The precision/accuracy of the measurement (number of decimals)

":
"{Integer}",
59
               "measurementUnitLink
MeasurementUnitLink

Material unit reference

":
"{String}"
60
          },
61
          "product": {
62
               "productId
ProductId

Product identifier

":
"{Integer}",
63
               "name
Name

Name of the product

":
"{String}",
64
               "type
Type

Type of product

Possible domain values can be found here

":
"{String}",
65
               "countryOfOriginCode
CountryOfOriginCode

Two-character code (ISO 3166) identifying the default country where the product is produced. This value is inherrited from the assigned goods reception(s). If not country of origin is specified for the goods reception(s), country of origin is retrieved from the product. If assigned to multiple goods receptions with different origin, the field will be empty.

":
"{String}",
66
               "customField1
CustomField1

Custom field for grouping, sorting, categorizing and other purposes.

":
"{String}",
67
               "customField2
CustomField2

Custom field for grouping, sorting, categorizing and other purposes.

":
"{String}",
68
               "weight
Weight

The weight of the product in kilograms.

":
"{Decimal}",
69
               "manufacturer": {
70
                    "manufacturerId
ManufacturerId

Manufacturer identifier

":
"{Integer}",
71
                    "shortName
ShortName

Shortname/code of the manufacturer

":
"{String}",
72
                    "manufacturerLink
ManufacturerLink

Manufacturer reference

":
"{String}"
73
               },
74
               "productClassification": {
75
                    "productClassificationId
ProductClassificationId

Product classification identifier

":
"{String}",
76
                    "productClassificationLink
ProductClassificationLink

Product classification reference

":
"{String}"
77
               },
78
               "stock": {
79
                    "isNonStock
IsNonStock

True if this is a non-physical product which are no using assignments from the assignment archive

":
"{Boolean}",
80
                    "revision
Revision

Revision number

":
"{String}"
81
               },
82
               "productLink
ProductLink

Product reference

":
"{String}"
83
          },
84
          "productStructure": {
85
               "productStructureId
ProductStructureId

Product structure reference

":
"{Integer}",
86
               "productStructureLink
ProductStructureLink

Product structure reference

":
"{String}"
87
          },
88
          "landedCost": {
89
               "purchaseCurrency
PurchaseCurrency

Purchase currency is the currency this product normally is purchased in. This is also the base currency used in the gross margin calculation. By default the purchase currency is retrieved from the product.

Possible domain values can be found here

":
"{String}",
90
               "purchasePrice
PurchasePrice

Purchase price for each unit

":
"{Decimal}",
91
               "freight
Freight

Estimated freight cost of getting each unit in stock. Used for calculating landed cost.

":
"{Decimal}",
92
               "duty
Duty

Duty cost of getting each unit in stock. Used for calculating landed cost.

":
"{Decimal}",
93
               "charge
Charge

Other costs of getting each unit in stock. Used for calculating landed cost.

":
"{Decimal}",
94
               "grossPrice
GrossPrice

Total cost (landed cost or true cost) of getting each unit in stock, including purchase price, duties, charges, freight etc.

":
"{Decimal}",
95
               "purchaseExchangeRate
PurchaseExchangeRate

Exchange rate between document currency and purchase currency. Used in landed cost calculations.

":
"{Decimal}",
96
               "isDerivedFromUserInput
IsDerivedFromUserInput

True if landed cost is derived from manual user input. Landed cost can only be manually updated for products without assignments

":
"{Boolean}",
97
               "isDerivedFromPreferredPurchasePrice
IsDerivedFromPreferredPurchasePrice

True if the landed cost for this item is derived from preferred purchase price. This means that parts (or all) of the item has not reserved goods in stock, nor incoming goods (supplier backlog or production backlog).

":
"{Boolean}",
98
               "isDerivedFromAssignedSupplierBacklog
IsDerivedFromAssignedSupplierBacklog

True if landed cost for this item is derived from assigned supplier backlog. This means that the item has reserved incoming goods (supplier backlog or production backlog).

":
"{Boolean}",
99
               "isDerivedFromAssignedStock
IsDerivedFromAssignedStock

True if landed cost for this item is derived from assigned stock. This means that the item has reserved goods in stock.

":
"{Boolean}",
100
               "derivedFrom": {
101
                    "purchaseQuoteItemId
PurchaseQuoteItemId

Purchase quote item identifier

":
"{Integer}",
102
                    "purchaseQuote": {
103
                         "database
Database

Database of the object

":
"{String}",
104
                         "purchaseQuoteId
PurchaseQuoteId

Purchase quote identifier

":
"{Integer}",
105
                         "purchaseQuoteLink
PurchaseQuoteLink

Purchase quote reference

":
"{String}"
106
                    },
107
                    "purchaseQuoteItemLink
PurchaseQuoteItemLink

Purchase quote item link

":
"{String}"
108
               },
109
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
110
               "purchasePrice
PurchasePrice

Purchase price in sales currency.

":
"{Decimal}",
111
               "freight
Freight

Freigth cost in sales currency.

":
"{Decimal}",
112
               "duty
Duty

Duty costs in sales currency.

":
"{Decimal}",
113
               "charge
Charge

Other cost in sales currency

":
"{Decimal}",
114
               "grossPrice
GrossPrice

Total cost (landed cost or true cost) in sales currency

":
"{Decimal}"
115
          },
116
          "accounting
Accounting

Accounting details for the item, including fixed/system dimensions. For all dimensions, see seperate resource.

":
{
117
               "vATCodeDefinition": {
118
                    "vATCode
VATCode

Code that determines VAT rules used for VAT calculations.

":
"{String}"
119
               },
120
               "generalLedgerAccount": {
121
                    "generalLedgerAccountId
GeneralLedgerAccountId

General ledger account identifier

":
"{Integer}",
122
                    "generalLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

":
"{String}"
123
               },
124
               "department
Department

The department related to the item. One of the system/fixed account dimensions.

":
{
125
                    "departmentId
DepartmentId

Department identifier

":
"{Integer}",
126
                    "departmentLink
DepartmentLink

Finance department reference

":
"{String}"
127
               },
128
               "financeProject
FinanceProject

The finance project related to the item. One of the system/fixed account dimensions.

":
{
129
                    "financeProjectId
FinanceProjectId

Finance project identifier

":
"{Integer}",
130
                    "financeProjectLink
FinanceProjectLink

Finance project reference

":
"{String}"
131
               },
132
               "asset
Asset

The asset related to the item. One of the system/fixed account dimensions.

":
{
133
                    "assetId
AssetId

Asset identifier

":
"{Integer}",
134
                    "assetLink
AssetLink

Asset reference

":
"{String}"
135
               }
136
          },
137
          "initialSalesOrderItem
InitialSalesOrderItem

Reference to the initial/first/original sales order item in the document flow for this item.

":
{
138
               "salesOrderItemId
SalesOrderItemId

Sales order item identifier

":
"{Integer}",
139
               "salesOrder": {
140
                    "salesOrderId
SalesOrderId

Sales order identifier

":
"{Integer}",
141
                    "salesOrderLink
SalesOrderLink

Sales order reference

":
"{String}"
142
               },
143
               "salesOrderItemLink
SalesOrderItemLink

Reference to the sales order item.

":
"{String}"
144
          },
145
          "forwardedFrom
ForwardedFrom

The preceding/previous/source item.

":
{
146
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
147
               "forwardedNetAmount
ForwardedNetAmount

The net amount forwarded to this item.

":
"{Decimal}",
148
               "forwardedQuantity
ForwardedQuantity

The quantity forwarded to this item.

":
"{Decimal}",
149
               "forwardedFromItem": {
150
                    "itemId
ItemId

Identifier of the object

":
"{Integer}",
151
                    "object": {
152
                         "objectId
ObjectId

Identifier of the object

":
"{Integer}",
153
                         "objectType
ObjectType

Type of object

":
"{String}",
154
                         "objectLink
ObjectLink

API reference to the object

":
"{String}"
155
                    },
156
                    "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}",
157
                    "itemLink
ItemLink

API reference to the item

":
"{String}"
158
               },
159
               "openForwardedQuantity
OpenForwardedQuantity

When items are forwarded they end up in one or more open items. Open items in this context means items that are not registered (status 0 or 1). OpenForwardedQuantity will be the sum of ForwardedQuantity of all items this item has been forwarded to.

":
"{Decimal}",
160
               "forwardedToItems": [
161
                    {
162
                         "itemId
ItemId

Identifier of the object

":
"{Integer}",
163
                         "object": {
164
                              "objectId
ObjectId

Identifier of the object

":
"{Integer}",
165
                              "objectType
ObjectType

Type of object

":
"{String}",
166
                              "objectLink
ObjectLink

API reference to the object

":
"{String}"
167
                         },
168
                         "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}",
169
                         "itemLink
ItemLink

API reference to the item

":
"{String}"
170
                    }
171
               ],
172
               "notificationId
NotificationId

Notification identifier

":
"{Integer}",
173
               "status
Status

Status of the notification

":
"{Integer}",
174
               "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
175
               "message
Message

The message from the notification definition, expanded with parameters.

":
"{String}",
176
               "translatedMessage
TranslatedMessage

The translated message from the notification definition, expanded with parameters.

":
"{String}",
177
               "notificationType": {
178
                    "notificationTypeId
NotificationTypeId

Notification type identifier

":
"{String}",
179
                    "category
Category

Category of notification type (warning, information etc)

Possible domain values can be found here

":
"{String}",
180
                    "notificationTypeLink
NotificationTypeLink

Notification type reference

":
"{String}"
181
               },
182
               "notificationLink
NotificationLink

Notification reference

":
"{String}",
183
               "startDate
StartDate

Start date of subscription or rental item

":
"{Date}",
184
               "estimatedEndDate
EstimatedEndDate

Expected end date of subscription or rental item

":
"{Date}",
185
               "priceChangeAgreement
PriceChangeAgreement

Defines if and how the recurring price can be updated

Possible domain values can be found here

":
"{Integer}",
186
               "estimatedAmount
EstimatedAmount

Estimated amount of rental or subscription item

":
"{Decimal}",
187
               "recurringPrice": {
188
                    "recurringPriceId
RecurringPriceId

Recurring price indentifier

":
"{Integer}",
189
                    "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
190
                    "priceInterval
PriceInterval

Interval of recurring price

Possible domain values can be found here

":
"{Integer}",
191
                    "hasOneTimeFee
HasOneTimeFee

Boolean indicating if the recurring price has a one-time fee.

":
"{Boolean}",
192
                    "hasUsageStep
HasUsageStep

Boolean indicating if the recurring price has any usage steps.

":
"{Boolean}",
193
                    "recurringPriceLink
RecurringPriceLink

Recurring price reference

":
"{String}"
194
               },
195
               "currentPriceStep": {
196
                    "price
Price

Value of a price step

":
"{Decimal}"
197
               },
198
               "projectOrderId
ProjectOrderId

Project order identifier

":
"{Integer}",
199
               "projectOrderLink
ProjectOrderLink

Project order reference

":
"{String}"
200
          }
201
     }
202
}

List of available operations/actions for this resource.
See the operations documentation for more information about API operations.

Possible error codes the response might return:

Error 100601 HTTP 400 Missing required input parameters
Error 100195 HTTP 404 Customs tariff code not found
Error 102749 HTTP 400 Missing parameter value for parameter {0}
Error 102747 HTTP 400 Error in formula: {0}
Error 107325 HTTP 400 This file is externally owned and cannot be linked to any other customer or supplier.
Error 106960 HTTP 400 Change of purchase currency is not allowed for project order type items (WP)
Error 107224 HTTP 400 Change reason is required
Error 103505 HTTP 400 Requested delivery date can not be set to the past.
Error 107812 HTTP 400 End customer not found
Error 107813 HTTP 400 The end customer is not active
Error 107860 HTTP 400 Cannot update as this sales order belongs to a delivery project that do have a different finance project
Error 106957 HTTP 400 Only rental or subscription products can be used in recurring contract's lines
Error 106962 HTTP 400 Product of this type (WP) cannot be added to this type of sales order
Error 101320 HTTP 400 The project number is not valid: {0}
Error 101500 HTTP 400 Project {0} could not be used : Check project FromPeriod and ToPeriod.
Error 101501 HTTP 400 Asset is not allowed on general ledger account {0}
Error 101326 HTTP 400 The asset number is not valid : {0}
Error 102486 HTTP 400 Invalid value for dimension {0}