Skip to main content

InvoiceStatus

Current status of the invoice. Every issue starts with DRAFT and ends with SUCCESS or STORNO.

enum InvoiceStatus {
DATA_ERROR
DRAFT
ISSUED
SENT
STORNO
SUCCESS
TECHNICAL_ERROR
WARNING
}

Values

InvoiceStatus.DATA_ERROR

There is some inconsistency regarding the data that the invoice contains, thus it cannot be sent to the data collection point.

InvoiceStatus.DRAFT

The invoice is not yet issued but without any errors.

InvoiceStatus.ISSUED

The invoice is in preparation to be send. (Creating PDFs and DTAs). This is a step between drafting and will automatically be send or returning to an error state.

InvoiceStatus.SENT

The invoice is sent to the data collection point, however its receipt is still not confirmed

InvoiceStatus.STORNO

The given invoice has been cancelled. This is a final state. You can't "reactivate" an issue.

InvoiceStatus.SUCCESS

The invoice is successfully sent and received by the data collection point

InvoiceStatus.TECHNICAL_ERROR

There was an error during the sending / issuing process, invoice not received by the data collection point. A user is able to issue this invoice again.

InvoiceStatus.WARNING

The invoice contains some minor issues, but still be ready to be sent.

Member Of

Invoice object