Skip to navigation

Approve many

Atomically approves draft line items owned by the caller’s organization. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemsApproveManyReq) -> (list[InvoiceLineItem1])

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
invoice_line_item_idslist of stringsRequired

Response

Successful Response
_idstring
created_at_timestampstringformat: "date-time"
created_by_user_idstring or null
currency_codeenum
descriptionstring1-32768 characters
invoice_typeenum
Allowed values:
last_edited_at_timestampstringformat: "date-time"
last_edited_by_user_idstring or null
line_item_typeenum
owned_by_org_idstring

Must be a string starting with org_

quantitydouble
schema_versioninteger
total_amountdoubleRead-only
unit_pricedouble
awb_numberstring or nullOptionalformat: "^\d{3}-\d{8}$"
billing_line_keystring or nullOptional1-1024 characters
billing_period_idstring or nullOptional
counterparty_driver_idstring or nullOptional
counterparty_off_chrt_org_data_idstring or nullOptional
counterparty_org_idstring or nullOptional
currency_conversionobject or nullOptional
edited_by_userbooleanOptionalDefaults to false
export_ref__sage__item_idstring or nullOptional<=255 characters
generated_by_pricingbooleanOptionalDefaults to false
invoice_idstring or nullOptional
needs_reviewbooleanOptionalDefaults to false
order_idstring or nullOptional
rate_sheet_idstring or nullOptional
rate_sheet_revisioninteger or nullOptional>=1
shipper_account_idstring or nullOptional
source_order_billing_quote_idstring or nullOptional
statusenumOptional
Allowed values:
task_group_idstring or nullOptional
task_idslist of stringsOptional
task_short_idslist of stringsOptional
tax_percentagedouble or nullOptional>=0
unitenum or nullOptional

Errors

422
Unprocessable Entity Error