Create

Returns the matching owner-counterparty-type-currency draft invoice, or creates one when absent. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceClientCreate1) -> (PydanticObjectId)

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
currency_codeenumRequired
invoice_typeenumRequired
Allowed values:
schema_versionintegerRequired
counterparty_off_chrt_org_data_idstringOptional
counterparty_org_idstringOptional

Must be a string starting with org_

descriptionstringOptional<=32768 characters
export_ref__sage__customer_idstringOptional<=255 characters
export_ref__sage__department_idstringOptional<=255 characters
namestringOptional<=255 characters

Response

Successful Response

Errors

422
Invoices Create V1request Unprocessable Entity Error