bill_add_ad_hoc_charge
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
data | AddBillAdHocChargeInput! | Yes |
Return Type
Mutation
mutation bill_add_ad_hoc_charge(
$data: AddBillAdHocChargeInput!
) {
bill_add_ad_hoc_charge(
data: $data
) {
request_id
complexity
charge {
id
legacy_id
name
description
occurred_at
labor_unit_id
unit_amount
rate
}
}
}Variables
{
"data": {
"customer_account_id": "abc123",
"warehouse_id": "abc123",
"name": "abc123",
"description": "abc123",
"occurred_at": ISODateTime,
"labor_unit_id": "abc123",
"unit_amount": Decimal,
"rate": Decimal,
"bill_id": "abc123"
}
}Response
{
"data": {
"bill_add_ad_hoc_charge": {
"request_id": "abc123",
"complexity": 987,
"charge": AdHocCharge
}
}
}