Order automation that ends in a correct Xero invoice

Most invoice queries begin with an order that went in wrong. We check every order on the way in, so what reaches Xero has the right customer, prices, PO number and delivery charge.

  • Xero
  • Unleashed
  • Microsoft 365

For Xero users, order automation is mostly about invoices going out right first time. The Zestcode Automation platform reads and checks each order before it reaches your ERP, so when the invoice lands in Xero it already carries the correct customer, your prices, the customer’s PO reference and a delivery charge that reflects what the delivery really cost.

In most of the wholesale businesses we speak to, Xero isn’t where orders are entered. Orders go into an inventory or ERP system such as Unleashed, and that system sends the invoice to Xero. The mistakes that finance chases (a missing PO number, a wrong price, carriage left off) almost always started at order entry, several steps upstream.

Why most Xero invoice queries begin at order entry

In a hypothetical week, three invoices are bounced back by customers’ accounts payable teams because the PO reference was missing. Another carries a price from an old PO instead of the current price list, and a fifth charges carriage at the quoted rate when the pallet cost twice that. Every one of those errors was made when the order was keyed, and Xero recorded each one as entered. Each takes a few minutes to correct, but also means a credit note or a reissued invoice, a delayed payment and an awkward email to the customer.

Order, ERP, then Xero: where the platform sits

The platform works ahead of your ERP. Orders arrive by email, from a web shop or by phone; they’re read, checked against your ERP data and approved by a person; and approval creates the sales order in the ERP with everything in the right field. Where Unleashed is connected to Xero, a common setup, invoicing then follows its usual path and your accountant sees nothing unusual. The ERP integration page covers the mapping in more detail.

A checklist for an invoice nobody queries

These are the things an invoice needs to get right, and how each is covered before the order is created:

  • The right customer. The sender or company name is matched to an existing account, so the invoice goes to the correct contact with the correct terms.
  • The PO reference. The customer’s PO number is captured from the order and stored in the ERP’s customer reference field, which is what usually carries through to the invoice.
  • Your prices. Each line is priced from the ERP. If the PO shows a different figure, the line is flagged with both prices so someone decides.
  • Quantities that match stock. Stock is checked at review, and the warehouse refreshes the order from the ERP when picking starts, so late edits aren’t missed.
  • A delivery charge that holds up. With the shipping stage in place, the real cost is priced from the carrier after packing and compared with the PO.
  • No second invoice. A PO number the customer has already used is caught, so a reply on an old email thread doesn’t become a duplicate order.

How do I get the customer’s PO number onto Xero invoices?

Get it into the order at the start and keep it in the field your ERP passes to Xero. When AI reads an emailed order, the PO number is one of the fields scored for confidence; under 7 out of 10, it’s highlighted for the reviewer. Orders without a PO number can be flagged too, if some of your customers refuse to pay invoices without one.

Delivery charges: the line most often wrong

Customers often state a carriage charge on their PO, or expect one from a quote. When packing records the true weight and dimensions, the platform prices the consignment live and updates the delivery charge. A difference from the PO holds the order for the office, so it can be amended before it is completed and invoiced.

What it costs

Capture, review and ERP sync come with every plan. Your integration connects your inbox and your ERP for a setup fee from £1,500 ex VAT, quoted once we’ve seen how Xero is fed today and waived on Growth. The delivery price check belongs to the shipping stage, an optional extra that’s priced on request alongside your plan.

Plans start at £295 a month ex VAT and run to £995 for Growth, over a 12-month minimum term. If your finance team wants order history kept as long as the books, Growth keeps its audit trail for six years, matching the six years HMRC expects company records to be kept. Hosting, backups and updates sit within every plan, so there’s no separate support contract to arrange.

Common questions

What people usually ask us about this before a call.

  • Does the platform post invoices into Xero itself?

    Usually not. Where you run an ERP such as Unleashed that already sends invoices to Xero, we create the sales order in the ERP and leave that sync alone, so Xero keeps receiving invoices the way it does today. Posting directly to Xero is an option for businesses without an ERP, and the route is agreed during setup.

  • Will the PO number appear on the invoice our customer receives?

    We make sure the PO number reaches the field that feeds the invoice reference, whether that’s the customer reference in your ERP or the reference on a Xero invoice. Whether it prints on the PDF your customer sees depends on the invoice template you use in Xero, so we look at a sample invoice with you when setting up your integration.

  • We don’t have an ERP, only Xero. Is that workable?

    It can be, for businesses whose products, prices and customers are kept in Xero. Orders would be checked against those records and created as invoices, or drafts for someone to finish, through Xero’s API. If you need stock allocation and picking, an inventory system in front of Xero usually serves you better, and we’ll tell you which suits you.

  • Can we hold invoicing until the real delivery cost is known?

    Yes, with the shipping stage in place, which we quote for separately on request. Once a parcel or pallet is packed, the platform prices it with the carrier or your rate card. If that differs from the delivery charge on the PO, the order is held for the office to confirm or amend before it is completed in the ERP, which is the step that leads to invoicing.

  • Does our Xero data go to the AI?

    The AI reads incoming order emails and attachments, through a business AI API, where data sent through it isn’t used to train the provider’s models by default. Your accounts data isn’t sent to it. Matching against products, prices and customers is done by the platform using your ERP records, on UK hosting in a London data centre.