Skip to main content

MobileInvoiceItem

One invoice line as the buyer app shows it, drawn the same way as an order line.

type MobileInvoiceItem {
discountAmount: Float
discountPercent: Float
imageUrl: String
lineTotal: Float!
originalUnitPrice: Float
productId: ID!
productName: String!
quantity: Float!
unitLabel: String
unitPrice: Float!
uomId: ID
variantId: ID!
variantLabel: String
}

Fields​

MobileInvoiceItem.discountAmount ● Float scalar​

The discount on the line.

MobileInvoiceItem.discountPercent ● Float scalar​

The discount on the line, in percent.

MobileInvoiceItem.imageUrl ● String scalar​

The URL of the product image.

MobileInvoiceItem.lineTotal ● Float! non-null scalar​

The line total, before tax.

MobileInvoiceItem.originalUnitPrice ● Float scalar​

The price of one unit before discount. Only set when it is above the charged price.

MobileInvoiceItem.productId ● ID! non-null scalar​

The ID of the product.

MobileInvoiceItem.productName ● String! non-null scalar​

The name of the product.

MobileInvoiceItem.quantity ● Float! non-null scalar​

Billed quantity. Float, not Int: an invoice line can be a fractional weight or measure.

MobileInvoiceItem.unitLabel ● String scalar​

The unit of measure.

MobileInvoiceItem.unitPrice ● Float! non-null scalar​

The price charged for one unit, after discount.

MobileInvoiceItem.uomId ● ID scalar​

The ID of the unit of measure.

MobileInvoiceItem.variantId ● ID! non-null scalar​

The ID of the product variant.

MobileInvoiceItem.variantLabel ● String scalar​

The label of the variant.

Member Of​

MobileInvoice object