Menu
Feedback
Start here

Known issues

Known issues
Orders invoicing calculation using input invoice value in output invoice validation
Order Management
ID: 930491
Fixed
Published on11/6/2023
Last updated on11/9/2023
1 min read

Summary

During the process of sending invoices, it is possible for the user to send output and input invoices, but if two partial invoices are made in an order, one for output and one for input, the system adds up these values to validate whether the order can receive a new invoice, making it impossible for orders whose item was invoiced and then returned not to have their total value invoiced.

This is because the Orders API currently performs a value validation to determine whether it should allow a new output invoice to be made for the order, but the calculation is considering the sum of all invoices regardless of their type (input or output), making the system understand that there is no more value to be invoiced.

Simulation

1- Create an order with two units of the same SKU 2- Invoice only one of these units 3- Now make a new input invoice for the unit invoiced in the previous step. 4- Now try to invoice the remaining unit of the order. 5- At this point you will receive a generic message in the UI indicating that it is not possible to invoice the item.

Workaround

There is no workaround available.

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback