/billing_new
/billing_new/rate_sheet_defaults

Sets the rate sheet used for one counterparty, direction, service line and segment type when no sheet is chosen by hand; a null rate_sheet_id marks those segments not billed. | authz: allowed_org_types=[provider], min_org_role=operator | (RateSheetDefaultClientCreate1) -> (RateSheetDefault1)

put/billing_new/rate_sheet_defaults/set/v1

Request

Request body

schema_version1 required
counterparty_org_idstring nullable

Must be a string starting with org_

counterparty_off_chrt_org_data_idstring nullable
counterparty_driver_idstring nullable
invoice_type'accounts_receivable' | 'accounts_payable' required
service_line'on_demand' | 'routed' required
task_group_type'chrt_ground_provider' | 'cargo_on_flight' | 'cargo_on_vessel' | 'onboard_courier' required
rate_sheet_idstring nullable required

Response

Successful Response

schema_version1 required
counterparty_org_idstring nullable

Must be a string starting with org_

counterparty_off_chrt_org_data_idstring nullable
counterparty_driver_idstring nullable
invoice_type'accounts_receivable' | 'accounts_payable' required
service_line'on_demand' | 'routed' required
task_group_type'chrt_ground_provider' | 'cargo_on_flight' | 'cargo_on_vessel' | 'onboard_courier' required
rate_sheet_idstring nullable required
_idstring required
owned_by_org_idstring required

Must be a string starting with org_

created_by_user_idstring required

Must be a string starting with user_

created_at_timestampstring date-time required
last_edited_by_user_idstring required

Must be a string starting with user_

last_edited_at_timestampstring date-time required

Changes