Coupons stay visible.
Line discounts are carried across and coupon codes are retained in the Xero invoice reference.
A WooCommerce order shouldn’t create a second job in Xero. This build turns the sale, payment, discounts, shipping, fees and refunds into the right accounting records automatically, with the trail back to the original order intact.
A good sales day shouldn’t create a bad bookkeeping day.
Before the automation
Every completed order created another job: rebuild the same sale in Xero.
A busy sales day became a bookkeeping backlog before anyone had even looked at the awkward orders.
Discounts, coupons, shipping and fees made “just enter the invoice” anything but simple.
Refunds and replayed events created more chances for mismatched or duplicated records.
The connection
WooCommerce still holds the sale. Xero still holds the accounts. The automation keeps the two records tied together.
What can be reused
The build already knows how to
Each store still needs its own
When the tidy version gets messy
Discounts, shipping, fees, refunds and replayed events are where this job gets messy. Ignore them and somebody ends up cleaning it up in Xero later.
Line discounts are carried across and coupon codes are retained in the Xero invoice reference.
They become their own invoice lines instead of disappearing into the product total.
A confirmed WooCommerce refund creates the matching Xero credit note and refund payment.
The build checks Xero before it creates anything, so a replayed order doesn’t make the same records twice.
Show me how sales, payments and refunds are handled now. I’ll sort out the bit between WooCommerce and Xero so the same order isn’t rebuilt twice.