{"section":"known-issues","requestedLocale":"en","requestedSlug":"inference-invoice-system-is-not-working-properly-when-there-are-same-skuid-in-different-array-items","locale":"en","slug":"inference-invoice-system-is-not-working-properly-when-there-are-same-skuid-in-different-array-items","path":"docs/en/known-issues/Order Management/inference-invoice-system-is-not-working-properly-when-there-are-same-skuid-in-different-array-items.md","branch":"main","content":"## Summary\n\n\nSome orders has same SKUid in separated array of items it happens at the purchase moment on checkout for different reasons as discount to be apllied for example.\nThis not a problem but a condition for a purchase calculation.\n\nThe problem is at the phase of invoice for that items. Sometimes the inference system can not match the itens to be insert correctly at the refrence items on packageAttachment, because of the same SKUid and selling prices.\nEven the customer sends the quantity of itens correctly on the inference it will be wrong.\n\nIs possible to see the difference on SNO system versus the packageAttachment items on order.\n\n\n##\n\n## Simulation\n\n\nCreate a order with a more than one quantity items and apply some discount, creating an order with more than one array of itens with different selling price. After that try to invoice all items of order.\n\n\n\n##\n\n## Workaround\n\n\nThere is no workarround for that."}