Create a new credit note in UBL format
POST/credit-notes/outgoing/ubl
Send a credit note in either the original XML format or the JSON transposition.
You must send the XML or JSON as the request body along with the right Content-Type header (application/xml or application/json).
Optionally you can send the X-Validation-Rule: {validation-rule-code} where {validation-rule-code} is one of the available validation rules you can use.
You can retrieve a list of the available validation rules using the API GET /validation-rules.
By default the validation rule is autodetected using the latest rule available for the given document.
Request
Responses
- 202
- 400
- 422
CreditNote resource created
Invalid input
An error occurred