Skip to main content
objectPurchaseOrderItemLine

Implements

Fields

id
ID!

The ID of the line item.

purchaseOrderId
ID!

The ID of the purchase order.

sortOrder
Int!

The position of the line on the order. Allowances and charges come last.

name
String!

The name of the line: the item's name when it was added, the text of a custom line, the name of an allowance or charge.

quantity
Decimal!

The ordered quantity. Cancelling reduces it to the delivered quantity.

netUnitPrice
Decimal!

The net price per unit in the order currency. Negative for a discount.

taxRate
Decimal!

The tax rate in percent.

netAmount
Decimal!

The net amount of the line: quantity times unit price. Computed.

note
String

A note on the line, printed on the order documents.

What the supplier confirmed for the line. Empty when nothing is confirmed.

Discriminator: the kind of the line.

deliveredQuantity
Decimal!

The quantity received so far. It can be higher than the ordered quantity.

openQuantity
Decimal!

The quantity still expected: the confirmed quantity, or the ordered quantity when none is confirmed, minus the delivered quantity, never below 0; 0 once the order is completed.

expectedDeliveryDate
DateTime

When the line is expected. The ERP sets it to the day of the receipt that delivers the line completely, and to the day of every receipt booked from an advance shipping notice.

itemId
ID

The ID of the item. Empty when the item was deleted after the line was added.

sku
String

The item number (SKU) when the line was added.

supplierSku
String

The supplier's number for the item.

supplierItemName
String

The supplier's name for the item.

packagingUnit
String

The supplier's packaging unit, for example a carton.

packagingQuantity
Decimal

How many units the packaging unit holds.

deliveryTimeInDays
Int

The supplier's delivery time for the item in days.