invoices_read
Arguments
String
Opaque cursor from the preceding page.
String
Opaque cursor from the following page.
String
Optional numeric bill ID; omit for the full billing report.
Int
Charges to return, 1 to 100; defaults to 25.
Int
Charges to return before a cursor, 1 to 100.
Returns
required
A paginated list of BillingBillCharge items.
Show fields
Show fields
required
The list of edges (each a node plus its pagination
cursor).Show fields
Show fields
String!
required
Opaque cursor for this item; pass to
after/before to page from here.required
The item at this edge.
Show fields
Show fields
String
Currency of the owning bill.
String!
required
Owning bill ID.
String
Related campaign ID.
String!
required
Carrier fees in millionths of the charge currency.
String
Related customer email.
String
Related customer first name.
String
Related customer last name.
String
Related fulfillment group ID.
String!
required
Stable charge ID.
String!
required
Stable source charge key.
String!
required
Included units on this charge.
String!
required
MMS messages counted by this charge.
String
Charge note in the Billing report.
String!
required
Orders counted by this charge.
String
Related order ID.
String
Related order name.
String
Related order number.
String!
required
Overage units on this charge.
String
Redo product.
String
Related return ID.
String
Charge ID reversed by this row.
String
Related shipment ID.
String
Related Shopify order ID.
String!
required
SMS messages counted by this charge.
String
Charge subtype.
String!
required
Charge type.
required
The nodes in this page, without the edge/cursor wrapper — a convenience over
edges.Show fields
Show fields
String
Currency of the owning bill.
String!
required
Owning bill ID.
String
Related campaign ID.
String!
required
Carrier fees in millionths of the charge currency.
String
Related customer email.
String
Related customer first name.
String
Related customer last name.
String
Related fulfillment group ID.
String!
required
Stable charge ID.
String!
required
Stable source charge key.
String!
required
Included units on this charge.
String!
required
MMS messages counted by this charge.
String
Charge note in the Billing report.
String!
required
Orders counted by this charge.
String
Related order ID.
String
Related order name.
String
Related order number.
String!
required
Overage units on this charge.
String
Redo product.
String
Related return ID.
String
Charge ID reversed by this row.
String
Related shipment ID.
String
Related Shopify order ID.
String!
required
SMS messages counted by this charge.
String
Charge subtype.
String!
required
Charge type.
Pagination metadata for the current page.
Show fields
Show fields
String
Cursor of the last edge in this page; pass to
after to page forward.Boolean!
required
Whether more items exist after this page (drives forward pagination with
first/after).Boolean!
required
Whether more items exist before this page (drives backward pagination with
last/before).String
Cursor of the first edge in this page; pass to
before to page backward.Example
query {
billingCharges(after: "...", before: "...", billId: "...", first: 10, last: 10) {
nodes {
billCurrency
billId
campaignId
carrierFeesMicros
createdAt
customerEmail
customerFirstName
customerLastName
# ...
}
pageInfo { hasNextPage endCursor }
}
}