input AddBillAdHocChargeInput

Fields

FieldTypeDescription
customer_account_idString!

The customer account to charge

warehouse_idString

Warehouse ID to disambiguate when multiple business relationships exist

nameString!

Name of the ad-hoc charge

descriptionString!

Description of the ad-hoc charge

occurred_atISODateTime!

Date when the charge occurred

labor_unit_idString!

Labor unit ID for the charge

unit_amountDecimal!

Number of units

rateDecimal!

Rate per unit

bill_idString

Optional bill ID to attach the charge to an existing bill

Referenced By

Example

{
  "customer_account_id": "abc123",
  "warehouse_id": "abc123",
  "name": "abc123",
  "description": "abc123",
  "occurred_at": "abc123",
  "labor_unit_id": "abc123",
  "unit_amount": "abc123",
  "rate": "abc123",
  "bill_id": "abc123"
}