bill
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
id | String! | Yes | ||
analyze | Boolean | No | If true, the query will only be analyzed (cost estimated) without executing it. |
Return Type
Query
query bill(
$id: String!,
$analyze: Boolean
) {
bill(
id: $id,
analyze: $analyze
) {
request_id
complexity
data {
id
legacy_id
status
customer_name
profile_name
created_at
due_date
amount
totals {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
amount
label
category
quantity
}
cursor
}
}
bill_exports {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
status
file_url
}
cursor
}
}
billing_period {
start
end
}
billing_frequency
}
}
}Variables
{
"id": "abc123",
"analyze": true
}Response
{
"data": {
"bill": {
"request_id": "abc123",
"complexity": 987,
"data": Bill
}
}
}