InvoiceLine
Definition of an invoice line
This page contains
Fields
| id: ID! | ID of the invoice line (an integer) |
| invoiceId: ID! | ID of the invoice that holds this line (a UUID) |
| description: String | Description of invoice line |
| quantity: Decimal! | Number of units |
| unitPrice: Decimal! | Price per unit |
| total: Decimal! | Total price |
| buyer: Party PREVIEW | Item buyer |
| provider: Party PREVIEW | Item provider |
| period: Period PREVIEW | Subscription period |
| cost: CostInfo PREVIEW | Subscription cost |
| subscription: SubscriptionInfo PREVIEW | Subscription |
| billingCharge: InvoiceBillingCharge PREVIEW | Billing charge |
| product: ProductInfo PREVIEW | Product |
| edition: EditionInfo PREVIEW | Edition |
| pricingPlan: PricingPlanInfo PREVIEW | Pricing plan |
| discount: DiscountInfo PREVIEW | Discount |
| costPeriod: CostPeriodInfo PREVIEW | Cost period |
| msrp: Decimal | Manufacturer's Suggested Retail Price per unit |
| billToType: BillToType PREVIEW | Bill to type. Ie CUSTOMER or RESELLER |
| subscriptionOwner: Party PREVIEW | Subscription owner |
| type: InvoiceLineType PREVIEW | Line Type |
| taxAmount: Decimal | Tax contained in this line, summed from the invoice tax report for this line. Present only for marketplaces that include tax in prices, and only when the invoice carries a per-line tax breakdown. Omitted together with totalWithTax and unitPriceWithTax otherwise. |
| totalWithTax: Decimal | Total plus taxAmount, the gross line total to display for a marketplace that includes tax in prices. Omitted whenever taxAmount is omitted. |
| unitPriceWithTax: Decimal | Unit price grossed up by this line's effective tax rate (unitPrice * totalWithTax / total), so the gross unit price keeps the same relationship to the gross total that unitPrice has to total on a prorated line. Omitted whenever taxAmount is omitted, and omitted when unitPrice is null. |
| orderRef: String | ID of the order that created this invoice line |
| orderLineId: String | ID of the purchase order line that created this invoice line |
| internalId: Int! @deprecated( reason: "No longer supported" )PREVIEW | Internal Id of the invoice line |
| balanceCreatedOn: DateTime! PREVIEW | Creation date of the invoice in customer balance service |
| balance: Decimal PREVIEW | Invoice Line Balance |
| invoiceLineItems: [InvoiceLineItem] PREVIEW | Invoice Lines Items |
Parent objects of InvoiceLine
| CreditMemoLine PREVIEW | Definition of an credit memo line |
| Invoice PREVIEW | Definition of an invoice |
| InvoiceLineConnection PREVIEW |
Queries for InvoiceLine
| invoice PREVIEW | Retrieve an invoice by id |