Invoice status

Every Invoice Entity has a marking property that describes it's processing stage.

Invoice Status Description
in_queue Invoice is waiting in queue to be send to the KSeF
processing Invoice is processing by KSeF
valid Valid invoice with KSeF number
invalid Invalid invoice (rejected by KSeF)

Additionally, every invoice has processing_code field which describes internal KSeF status of invoice.

Processing Code Description
100 Invoice accepted for further processing
150 Processing in progress
200 Success
405 Processing cancelled
410 Invalid permission scope
415 Attachments are not allowed
430 Invoice file verification error
435 File decryption error
440 Duplicate invoice
450 Invoice semantic validation error
500 Unknown error