Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Special characters in invoiceNumber cause post-purchase flow to fail
Special characters in invoiceNumber cause post-purchase flow to fail
ID: 953285
Backlog
Published on 12/14/2023
Last update on 12/14/2023

Summary

Currently, SNO (Shipping Notification Order) accepts that an invoice number (invoiceNumber) is sent via API and UI with a "special character" at the end or beginning of the data, for example: "#123456".

However, when invoices are received in this format, some flows carried out by the system involved in the post-purchase flow end up returning an error because they are unable to process or pass on the amount received. Examples of flows that may fail include tracking updates, order status updates for invoiced orders, communication with the gifcard hub system, and any other system that uses invoiceNumber data may have its flow compromised due to the use of special characters in the invoiceNumber field.

Simulation

1- Invoice an order by entering the following example invoice number: "#123456"; (special characters at the beginning of the number or at the end)

2- Note that the order will not be updated to invoiced status

3- In the case of flows involving a seller, in the Get Order of the seller's order it will be possible to see the saved invoice, but even then the marketplace order will not be updated to invoiced, as the system will not be able to pass on the invoice.

Workaround

For these cases, the alternative solution is not to use the "special characters" in the invoiceNumber composition.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback