Zum Hauptinhalt springen

Correct E-Invoice Conversion

PATCH 

/einvoice/conversions/:conversion_id

Applies corrections and confirmations and checks the invoice again before it answers.

  • revision: the revision you read last. It goes up with every change to the conversion; if it changed since, the request is a 409 revision_conflict.
  • data: a JSON merge patch (RFC 7396) of the invoice. In an array of objects, an element with a known key is changed, one with an unknown key or no key is appended, and "_delete": true removes one; null removes a value. Values set here get origin client and count as confirmed.
  • confirm: JSON pointers whose current value you confirm, e.g. a check point. A pointer without a value is a 400 invalid_data naming its index (body.confirm.0).
  • format: switches the output format and with it the checks.
  • reapply_config: applies the project's current seller config again.

Request​

Responses​

The conversion, checked again, with its new revision