Skip to main content

InvoiceItem

invoice-items

type InvoiceItem implements Node {
id: ID!
description: String!
amount: String!
options: GQLTJson!
createdAt: GQLTDate!
updatedAt: GQLTDate!
invoiceId: ID
productId: ID
voucherId: ID
invoice: Invoice
product: Product
voucher: Voucher
}

Fields#

id (ID!)#

The ID of an object

description (String!)#

define the item description

amount (String!)#

define the amount of an invoice item

options (GQLTJson!)#

product options

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

invoiceId (ID)#

The ID of an object

productId (ID)#

The ID of an object

voucherId (ID)#

The ID of an object

invoice (Invoice)#

Show the invoice associated to the invoice item

product (Product)#

Show the product associated to the invoice item

voucher (Voucher)#

Show the voucher used and associated to the invoice

Interfaces#

Node#

An object with an ID