Skip to main content

Arguments

accountNumber : String! required

The account number of the account to which the charges belong.

billingDocumentIdentifier : String! required

The identifier of the billing document.

Returns

[ChargeType]

Allowed Viewers

Customer Partner User Third party

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

query Charges( $accountNumber: String!, $billingDocumentIdentifier: String! ) { charges( accountNumber: $accountNumber, billingDocumentIdentifier: $billingDocumentIdentifier ) { grossAmount lineItems { ...LineItemTypeFragment } salesTaxAmount } }

Variables

{ "accountNumber": "A-AC76027E", "billingDocumentIdentifier": "30116719" }

Response

{ "data": { "charges": [ { "grossAmount": 1, "lineItems": [LineItemType], "salesTaxAmount": 1 } ] } }