OBJECT

InvoiceLine

link GraphQL Schema definition

1type InvoiceLine {
2id: Int!
3
4quantity: Int!
5
6size: String
7
8productNumber: String
9
10productName: String
11
12productVariantName: String
13
14brandName: String
15
16# Arguments
17# includingTax: (self-explanatory)
18unitPrice(includingTax: Boolean! = false): MonetaryValue!
19
20# Arguments
21# includingTax: (self-explanatory)
22unitOriginalPrice(includingTax: Boolean! = false): MonetaryValue!
23
24lineValue: MonetaryValue!
25
26# Cost of goods sold ([wiki](https://en.wikipedia.org/wiki/Cost_of_goods_sold))
27cogs: MonetaryValue
28
29discountPercent: Float!
30
31taxPercent: Float!
32
33harmonizedCommodityCode: String
34
35harmonizedCommodityDescription: String
36
37# Required permission: InvoiceLine.countryOfOrigin:read
38countryOfOrigin: Country
39
40# Required permission: Product:read
41product: Product
42
43# Required permission: ProductSize:read
44productSize: ProductSize
45
46# Required permission: ProductVariant:read
47productVariant: ProductVariant
48
49# Required permission: Invoice:read
50#
51# Store restrictions apply.
52invoice: Invoice!
53
54# Required permission: Order:read
55orderLine: OrderLine
56
57# Required permission: Shipment:read
58shipmentLine: ShipmentLine
59
60}