Error Handling

This topic explains how to handle errors and other messages.

HTTP Status Codes

The service's API uses standard HTTP Status codes, including:

CodeDescription
200Successful request.
400 invalid requestIt can also signify a business error. You can review the error's details for further information.
401 unauthorizedThe request is not allowed.
500 internal server errorGenerally, the operation should be retried later and if the error persists, support should be contacted.

Error Information in API Responses

Whenever possible, the API will return an application/json response with error information, such as below:

{
    "documentId": null,
    "status": "SchemaIsNonCompliantError",
    "rejectMessage": "Validation Error: The element 'PartyTaxScheme' in namespace 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2' has incomplete content. List of possible elements expected: 'CompanyID, TaxLevelCode, ExemptionReasonCode, ExemptionReason' in namespace 'urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2' as well as 'RegistrationAddress, TaxScheme' in namespace 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2'."
}

This data structure contains error type (category) and message with additional details.

Error Status

The status field shows one of the status listed below and in the Document Status Fields topic:

FieldDisplay NameDescription
NoneAwaiting ProcessingYour invoice is ready and waiting to be processed
InitializedPreparation CompleteYour invoice is initialized for the next steps
ValidatingInvoice ValidationYour invoice is being reviewed to ensure it meets the criteria.
MimeCheckingFile Type VerificationThe invoice file types are being verified to confirm that they are valid and supported.
UploadedToQuarantineBucketQuarantined for SafetyYour invoice was uploaded to a quarantine bucket and is awaiting further safety checks.
VirusScanningSourceXmlSource XML Virus ScanThe XML is being scanned for viruses.
ExtractingAttachmentsRetrieving AttachmentsWe are extracting the attachments from your invoice for processing
VirusScanningAttachmentsAttachments Virus ScanAll attachments are being scanned for viruses
VssCompleteVirus Scan CompleteThe virus scan completed successfully
VerifyingInvoice VerificationThe invoice is being verified
DeduplicatingDuplicate Check in ProgressWe are comparing your invoice for duplicates in the system
LoadingInvoice LoadingYour invoice is being loaded for processing.
LoadCompleteInvoice LoadedYour invoice was loaded and is ready for the next step
VirusScannedSourceXmlXML Virus Scan CompleteThe invoice XML file successfully passed the virus scan
VirusScannedAttachmentsAttachments Virus Scan CompleteAll attachments passed the virus scan
ExtractedAttachmentsAttachments retrievedThe attachments for the invoice were extracted.
ValidatedInvoice ValidatedThe invoice was validated for accuracy and completeness
MimeCheckedFile Types VerifiedThe invoice file types were verified as valid and supported
VerifiedVerification SuccessYour invoice details were verified
DedupledDuplicate Check CompleteNo duplicates found
MovingFilesFile Transfer in ProgressYour invoice files are being transferred
MovedFilesFile Transfer CompleteYour invoice files were transferred successfully
SendingToPartnerPreparing to SendYour invoice is being prepared for transmission to the partner
SentToPartnerTransmission InitiatedYour invoice is on its way to the partner
ApplyingSchemaRulesExecuting schema rulesYour invoice is being evaluated against schema rules
SchemaRulesCheckPassedFile is compliant with schema rulesYour invoice is compliant with applied schema rules
CheckingTransmissionStatusChecking Transmission StatusThe partner is processing your invoice. Confirmation will be provided once the invoice is accepted
TransmittedTransmission completedThe files have been transmitted to the Tax Authority.
CompletedProcessing CompleteInvoice pdf has been retrieved successfully
EnqueuingBackgroundProcessInvoice QueuedYour invoice is scheduled for background processing
BackgroundEntryProcessProcessing InitiatedYour invoice is being processed now
ValidationErrorValidation Issues DetectedReview your invoice for errors and resubmit it
DuplicationErrorDuplicate Invoice FoundThere is a duplicate of your invoice in our system
VssCheckErrorVirus DetectedYour invoice contains a virus. Please ensure that your files are clean
AttachmentIsNotAllowedErrorUnsupported Attachment TypeThere are one or more attachments of an unsupported file type
SchemaIsNotCompliantErrorSchema Non-ComplianceYour invoice format does not match our required schema
XmlIsInvalidErrorXML Is Invalid ErrorYour invoice XML file has a formatting issue
AttachmentMaxSizeExceededAttachment Max Size ExceededYour attachment exceeds the maximum allowed size
VssRetrieveResultsCheckErrorVirus Scan Retrieve Results Check ErrorThere was an error while retrieving the results of the virus scan.
SentToPartnerErrorTransmission to Partner errorAn error occurred while transmitting the invoice to the partner
RejectedInvoice RejectedYour invoice was rejected due to specific issues
UnknownErrorUnexpected Error OccurredAn unspecified error occurred. Try again or contact support
FileMaxSizeExceededErrorFileMaxSizeExceededErrorYour invoice exceeds the maximum allowed size
SchemaRulesCheckFailedErrorFile is non-compliant with schema rulesYour invoice is non-compliant with applied schema rules
FileTransferringFromSFTPSFTP Transmission InitiatedYour invoice is being transferred from your SFTP host
FileTransferedFromSFTPSFTP Transmission CompletedYour invoice was transferred from your SFTP host.
InvoiceIgnoredForDeliveryInvoice Ignored For DeliveryThis invoice was not delivered because the SFTP configuration was disabled or the Final Invoices feature was not activated at the time it was processed.
InvoiceDeliveredInvoice Delivered SuccessfullyThis invoice was delivered successfully.
InvoiceUndeliverableInvoice UndeliverableThis invoice was marked as Undeliverable after multiple attempts to deliver failed.
FileTransferringToSFTPSFTP Transfer InitiatedYour invoice is being transferred to your SFTP host.
FileTransferredToSFTPSFTP Transfer CompletedYour invoice was transferred to your SFTP host.

Error Messages

Error messages are based on the Rules. These are displayed on the Vertex e-Invoicing UI: