Skip to main content
Version: Next

Provider invoice statuses

1Invoice

Status codeStatus name
0Original
1Cancelled
2Adjusted
3Replaced
4Explanation
5Being replaced
6Being adjusted

one-invoice (1Invoice)

Status codeStatus name
0Original
1Cancelled
2Adjusted
3Replaced
4Explanation
5Being replaced
6Being adjusted

FPT

Status codeStatus name
1Awaiting numbering
2Awaiting approval
3Approved
4Cancelled

Viettel

Status codeStatus name
1Original invoice
3Replacement invoice
5Adjustment invoice
7Deleted invoice
9Amount adjustment invoice

Tax authority response statuses

1Invoice

Status codeStatus name
0Awaiting approval
1 (Sign allowed)Awaiting signature
2Signed
3Sent
4Success
5Error
6Signing

one-invoice (1Invoice)

Status codeStatus name
0Awaiting approval
1 (Sign allowed)Awaiting signature
2Signed
3Sent
4Success
5Error
6Signing

FPT

Note: an unsigned invoice will not have a tax authority status

Status codeStatus name
0Awaiting sending to tax authority
1Sent to tax authority
2Sending failed (invoice without a valid code)
8Validity check
9Invalidity check
10Code issued (valid coded invoice issued a code by the tax authority)

Viettel

Status codeStatus name
INVOICE_HAS_CODE_NOT_SENTNot sent to tax authority (invoice with tax authority code)
INVOICE_NO_CODE_NOT_SENTNot sent to tax authority (invoice without tax authority code)
INVOICE_NO_CODE_SENTSent to tax authority (invoice without tax authority code)
INVOICE_HAS_CODE_SENTSent to tax authority (invoice with tax authority code)
INVOICE_NO_CODE_APPROVEDAccepted by tax authority
INVOICE_HAS_CODE_APPROVEDCode issued by tax authority
INVOICE_HAS_CODE_DIS_APPROVEDRejected by tax authority (invoice with tax authority code)
INVOICE_NO_CODE_DIS_APPROVEDRejected by tax authority (invoice without tax authority code)

Some common errors

Code/Error codeDescriptionResolution
88sid already existed previouslyChange the sid
DuplicateInvoiceRefIDsid already existed previouslyChange the sid
TokenExpiredCodeToken has expiredCall the token API again
InvoiceTemplateNotExistInvoice template does not existThe serial does not exist in the system
SignSoftDream78ExceptionHSM digital signing error
InvoiceDuplicatedDuplicate invoice - the invoice has already been issued