The following errors are specific to the Invoice module.

The %s in error messages are placeholders used to indicate where a specific value, such as an Invoice ID, will be inserted when the actual error message is displayed.

For example, lets assume the error is “The invoice status must be CREATED for this operation, but was %s.” This error occurs when a user tries to modify an invoice that’s currently in a PAID status. However, the system only allows modifications when the invoice is in a CREATED status. This means the error would display “The invoice status must be CREATED for this operation, but was PAID.”

ModuleError CodeMessage
InvoiceINVOICE-2001An invoice is already being processed for Order ID %s.
InvoiceINVOICE-2002Settlement has already been completed for this invoice.
InvoiceINVOICE-2003An invoice %s has already been created for this request.
InvoiceINVOICE-2004The invoice status must be ‘CREATED’ for this operation, but was %s.
InvoiceINVOICE-2005The invoice status must be ‘POSTED’ for this operation, but was %s.
InvoiceINVOICE-2006An invoice has already been created for cancellation counter %s.
InvoiceINVOICE-2007Unable to generate invoice: there are no items to invoice.