Validate an invoice for pre-settlement
GET/v1/pre-settlements/validate-invoice
Check whether one invoice can be included in a pre-settlement (relación de envío), and which invoice group it already belongs to. Call this before POST /v1/pre-settlements/generate so you build the group from invoices that are actually eligible.
Returns the invoice's internal id, the origin_invoice_group_id it is associated with (empty when it is not yet in a group) and its status. Use /validate-invoices-bulk instead when you need to check a whole batch — it returns the same information already grouped.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
Invoice validated
Invalid invoice
Unauthorized
Forbidden
Invoice not found
Validation error
Internal Server Error