The parent line number, is the line has a relationship to another line, like a bundle or an accessory grouped together in the purchase (warrantied, services, etc.).
The status identifier, common values are Created (0), Allocation (1), Confirmed (2), Delivered (4), Invoiced (5), Cancelled (6), Partly delivered (8).
The optional external part number, not commonly used.
The stock unit of measurement count, should be same as unit of measurement count on the ProductSku, commonly 1.000.
The price unit of measurement count, should be same as unit of measurement count on the ProductSku, commonly 1.000.
The price sale, unit price excluding VAT when order was created, including any discounts.
The discount percentage, from promotions only, campaign price lists are not included.
The discount amount excluding VAT, from promotions only, campaign price lists are not included.
Indicates whether the order item is part delivery, can be true if quantity ordered is partly delivered by a DeliveryNote.
The recommended price, when order was created, commonly used as reference to undiscounted price when campaign price lists are applied to SalePrice, if null check PriceStandard instead.
The Sale price from the parent price list if parent exists, when order was created, can be used as reference to undiscounted price when campaign price lists are applied to SalePrice, if PriceRecommended is null.
{ "id": 0, "orderId": 0, "lineNumber": 0, "parentLineNumber": 0, "statusId": 0, "partNo": "string", "externalPartNo": "string", "productName": "string", "stockUnitOfMeasurementCount": 0, "priceUnitOfMeasurementCount": 0, "warehouseId": 0, "locationId": 0, "qtyOrdered": 0, "currencyId": 0, "vatRate": 0, "costUnit": 0, "priceSale": 0, "discountPercentage": 0, "discountAmount": 0, "lineAmount": 0, "deliveryMode": "string", "isPartDelivery": true, "expectedDeliveryDate": "2019-08-24T14:15:22Z", "confirmedDeliveryDate": "2019-08-24T14:15:22Z", "salesRepContactId": 0, "ledgerAccount": "string", "department": "string", "centre": "string", "transId": 0, "externalStatusText": "string", "created": "2019-08-24T14:15:22Z", "createdBy": 0, "updated": "2019-08-24T14:15:22Z", "updatedBy": 0, "lineNumberString": "string", "priceRecommended": 0, "priceCatalog": 0, "priceStandard": 0, "clientId": 0, "deliveryNoteItem": [ { … } ], "invoiceItem": [ { … } ], "order": { "buyerCustomer": { … }, "id": 0, "clientId": 0, "applicationId": 0, "quotationId": 0, "orderNo": "string", "orderDate": "2019-08-24T14:15:22Z", "buyerCompanyCode": "string", "buyerCompanyId": 0, "buyerCustomerCode": "string", "buyerCustomerId": 0, "payerCompanyCode": "string", "payerCompanyId": 0, "payerCustomerCode": "string", "payerCustomerId": 0, "resellerCompanyCode": "string", "resellerCompanyId": 0, "resellerCustomerCode": "string", "resellerCustomerId": 0, "groupCode": "string", "statusId": 0, "salesRepContactId": 0, "source": "string", "deliveryTerms": "string", "deliveryMode": "string", "deliveryDate": "2019-08-24T14:15:22Z", "isPartDelivery": true, "paymentTerms": "string", "currencyId": 0, "vatRate": 0, "cashDiscount": 0, "lineDiscount": 0, "freightCost": 0, "orderFee": 0, "deliveryAttention": "string", "deliveryCareOf": "string", "deliveryAddressLine1": "string", "deliveryAddressLine2": "string", "deliveryZipCode": "string", "deliveryCity": "string", "deliveryRegion": "string", "deliveryCountryId": 0, "ledgerAccount": "string", "department": "string", "centre": "string", "externalPurchaseNo": "string", "salesCode": "string", "deliveryMark": "string", "invoiceMark": "string", "created": "2019-08-24T14:15:22Z", "createdBy": 0, "updated": "2019-08-24T14:15:22Z", "updatedBy": 0, "payerCustomerInfoId": 0, "estimatedDeliveryTime": "2019-08-24T14:15:22Z", "deliveryTime": "2019-08-24T14:15:22Z", "buyerCustomerInfoId": 0, "shipToCustomerInfoId": 0, "externalRef": "string", "paymentMethodId": 0, "deliveryMethodId": 0, "orderTypeId": 0, "isForgotten": true, "forgottenBy": 0, "forgottenDate": "2019-08-24T14:15:22Z", "dropPointCustomerInfoId": 0, "dropPointCode": "string", "year": 0, "week": 0, "tmsReference": "string", "buyer": { … }, "deliveryNote": [ … ], "dropPoint": { … }, "invoice": [ … ], "infos": [ … ], "items": [ … ], "payer": { … }, "quotation": { … }, "shipTo": { … } }, "infos": [ { … } ] }