documentv2

convertToInvoice

Internal documentv2/convertToInvoice operation. Authentication requirements are derived from the active route allowlist.

post/documentv2/convertToInvoice

Request body

copy_paid_invoicesstring
doc_num_suggestionstring
idstring

Example request

{
  "copy_paid_invoices": "1",
  "doc_num_suggestion": "example_doc_num_suggestion",
  "id": "926"
}

Response

Standard successful response envelope.

status'success' required
statusCodeinteger required
messagestring required
dataobject required
{"stackTrail":"components:schemas:SuccessEnvelope:properties:error","oasType":"schema","type":"unknown","example":null,"nullable":true}

Example response

{
  "statusCode": 200,
  "message": "OK"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.