Skip to main content
POST
Create a charge line

Request Structure

Required Fields

Optional Fields

While all association fields are technically optional, each charge type has recommended associations based on what you’re charging for:

PICK - Picking/Outbound Charges

Charges for picking and packing operations.

RECEIPT - Receiving/Inbound Charges

Charges for receiving goods into the warehouse.

RENTAL - Storage Charges

Charges for storing goods in the warehouse.

SUNDRY - Miscellaneous Charges

Ad-hoc charges not tied to specific operations.

Important Notes

  • Total calculation: The total field is automatically calculated as quantity × price
  • Invoiced charges: Once a charge line is invoiced (linked to an AR document), it cannot be modified or deleted
  • Warehouse access: Users can only create/update charge lines for warehouses they have access to

Authorizations

Authorization
string
header
required

OAuth 2.0 authentication. Use the client credentials or authorization code flow to obtain an access token.

X-Clarus-Subdomain
string
header
required

The subdomain/tenant name identifying which tenant's data to access. Required for all API requests.

Body

application/json
data
object
required

Response

Charge line created successfully

data
object