Types > Invoice
Commerce APITypesInvoice
Invoice

Description

Topics: Invoices, Plan

Fields

amount_due: Int!

Amount due of the invoice (TODO)


client_secret: String!

Client secret (for a case when action is required)

Example: "pi_1EaAoC2eZvKYlo2C6OmgnpXw_secret_tYSeiTjxphYCjZNjrcaCFRa5v"


date: String!

The date and time when the invoice was created

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


date_due: String!

The date on which payment for this invoice is due

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


ending_balance: Int!

Ending balance of the user (TODO)


id: String!

Unique invoice id


lines: [InvoiceLine!]!


number: String!

User-friendly invoice number


source_brand: String!


source_last4: String!


starting_balance: Int!

Starting balance of the user (TODO)


status: InvoiceStatus!

Invoice status

Example: "paid"


subtotal: Int!

Subtotal sum of the invoice (TODO)


total: Int!

Total sum of the invoice (TODO)


Used By

Mutations

planPreview

Queries

invoices

Types

InvoicePage

Preview (typescript)

Loading module