ErrorsAll codes

MARK_SENT_FROM_LATER_STATE

Cannot mark an invoice in {0} status as SENT. The invoice is already in a later state.


Category: Invoices

Example response

When this error occurs, the API returns a JSON response with the following shape:

{
  "type": "https://docs.beel.es/errors/MARK_SENT_FROM_LATER_STATE",
  "title": "MARK_SENT_FROM_LATER_STATE",
  "detail": "Cannot mark an invoice in {0} status as SENT. The invoice is already in a later state.",
  "instance": "/v1/<resource>",
  "errors": [],
  "success": false,
  "error": {
    "code": "MARK_SENT_FROM_LATER_STATE",
    "message": "Cannot mark an invoice in {0} status as SENT. The invoice is already in a later state.",
    "details": {}
  },
  "meta": {
    "timestamp": "2026-05-21T10:00:00Z",
    "request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
  }
}

The type URI is stable and always resolves to this page.

Message

Cannot mark an invoice in {0} status as SENT. The invoice is already in a later state.
No se puede marcar como ENVIADA una factura en estado {0}. La factura ya se encuentra en un estado posterior.
No es pot marcar com a ENVIADA una factura en estat {0}. La factura ja es troba en un estat posterior.

Send the request with Accept-Language: <es|en|ca> to receive the message in your preferred language.

Tokens like {0} are runtime arguments — the backend fills them with actual values before responding.

Other errors in this category

Keep exploring