The invoice has a discount. Did it apply only once?
When an order sends product lines and a separate discount to an invoice, verify the saved invoice before you switch on automatic sending. The line-building step can look right even if a second discount field or a rerun changes the final result.
Synthetic example in USD. The order has two products totalling $180 and one agreed $20 discount, before tax and shipping.
| What the saved invoice shows | Pre-tax net | Check |
|---|---|---|
| $120 item, $60 item, −$20 discount line | $160 | Matches the order |
| Same three lines plus another $20 header discount | $140 | Discount applied twice |
| Two product lines and no discount | $180 | Expected discount missing |
Keep an order ID and an invoice ID in the export. Compare the product subtotal, the discount recorded in the invoice lines and any header discount. Check how your finance system represents a discount before adding line and header values together. Some exports repeat an invoice-level value on every line.
Before enabling the send step, test an order with no discount and replay one discounted order. The same order should still have one invoice and the right pre-tax total. If a replay creates a second invoice ID, flag it even when both invoices show $160.
Source for the scenario: Make Community discussion on adding a discount row to an invoice.
Comments
Post a Comment