Quote Configurator, Dynamics 365 Field Service and Xero: Getting On-Site Changes onto the Invoice
How the accepted quote becomes Estimated work order lines, how technicians record changes as Used lines in the mobile app, why the posted work order is the only invoice source, and how one idempotent integration pushes it to Xero once.
On-site changes reach the invoice when the technician records them in the Dynamics 365 Field Service mobile app as work order products and services, not on paper or in a note. The accepted quote from the configurator becomes Estimated lines on the work order. On site, the technician marks what was fitted as Used, adds extra parts and labour as new Used lines, and captures the customer's sign-off. The completed work order, reviewed and set to Posted, is then the only invoice source, and one idempotent integration pushes it to Xero once, keyed on the work order, so nobody re-keys a line. Solzet designs and builds this flow end to end.
Why do on-site changes never reach the Xero invoice?
In almost every case the invoice is being built from the wrong document. The office invoices from the quote, because the quote is clean and already priced, while what actually happened on site lives in a note, a photo of a paper job sheet or a phone call. The technician fitted a second valve, spent two extra hours, or swapped the specified unit for a different model, and none of it exists as a line anybody can price. The causes we find are nearly always the same handful.
- Changes recorded as free text in notes or the service report, not as work order product or service lines.
- Estimated lines from the quote never changed to Used, so the system cannot tell planned work from delivered work.
- Invoices keyed into Xero by hand from the quote, the job sheet and memory, so the person keying decides what is billed.
- Extra parts that have no product record, so the technician cannot add them and writes them on paper instead.
- An integration that fires on every save, or retries without checking, so some jobs are invoiced twice and staff stop trusting it.
- Jobs reopened and changed after the invoice went, with no rule for what happens to the invoice.
How should the quote configurator hand the job over to Field Service?
The quote is the plan, so it should arrive in Field Service as the plan: Estimated work order product lines for parts and kits, Estimated work order service lines for labour, each carrying the quoted quantity and price, with the quote reference on the work order. If the configurator writes to Dynamics 365 quotes, Field Service can generate work orders from a won quote in some configurations; check what your version offers before building anything. If the configurator is a separate tool, a flow or an API call creates the work order and its lines when the quote is accepted. Incident types can add the standard service tasks and estimated lines on top.
The hand-over only works if the three systems share one catalogue. A configured kit that exists only as a price in the configurator cannot become a work order line, and a Field Service product with no matching Xero item cannot be invoiced without someone choosing an account. Agree one code per part, kit and labour type, with the Xero sales account and tax type for each, before the first job runs. Where a configured option is genuinely one-off, map it to a generic product and carry the configured description on the line.
How does the technician record changes in the Field Service mobile app?
Every change on site is a line, set by the technician on the device during the visit. Line status is the whole mechanism: Estimated means planned, Used means delivered, and only Used lines are billable. The table shows how the common situations are recorded. How unit cost and price are filled in, and how fixed price agreement work is kept off the bill, is covered in Field Service job costing, and Used lines as warranty and audit evidence in Field Service proof of work.
| What happened on site | How it is recorded | What reaches the invoice |
|---|---|---|
| Part fitted as quoted | Estimated work order product changed to Used | The line at the quoted price |
| Extra part fitted | New work order product added from the van stock or catalogue as Used | The extra line at the price list price |
| Quoted part not needed | Line left Estimated, or quantity used set to zero with a reason | Nothing, and the difference is visible |
| Extra labour | Work order service set to Used with the actual duration, or a new service line | Duration to bill at the service price |
| Different model fitted | Quoted line left Estimated, the fitted product added as Used | The fitted product, not the quoted one |
| Goodwill or warranty work | Used line with quantity to bill or duration to bill set to zero | A zero line, with the cost still recorded |
- Make every extra part addable from the device: if the technician cannot find it, it goes on paper.
- Require a reason on any Used line not on the original quote, so the office can explain the variation to the customer.
- Capture the customer sign-off on the variations before the booking is completed, as a signature on the service report or a signed note.
- Design the mobile offline profile so products, price lists and van stock are on the device, following our guide to offline field apps that do not lose data.
Why should the posted work order be the only source of the invoice?
Because it is the only document that knows what was delivered. The quote knows what was sold, the job sheet knows what one technician remembered, and Xero knows what someone keyed. The work order, after the technician has completed it and the office has checked it, holds every Used line with its quantity, duration, quantity to bill and price.
Use the two closing statuses Field Service already has as two separate gates. Completed belongs to the technician: the bookings are done and the lines are recorded. Posted belongs to operations or finance: someone has checked every Used line, the variations have reasons and sign-off, and the job is ready to bill. Restrict the move to Posted to that role, and treat a posted work order as locked. Depending on configuration, posting can also create invoice records in Dataverse; whether you use them as a staging step or build the Xero invoice straight from the work order lines is a design decision, so check what your version does on posting. The controls that stop jobs with missing costs or prices from reaching Completed are on Field Service job costing and are not repeated here.
How do you push the work order to Xero exactly once?
We are not aware of a native Microsoft connector between Field Service and Xero for this flow, and third-party apps change, so check Microsoft AppSource and the Xero App Store for anything current before you build. The pattern we use is a small integration of your own on the Xero Accounting API, which uses OAuth 2.0: either a Power Automate cloud flow with a custom connector, or an Azure Function where volume, error handling or testing needs proper code. It triggers when a work order moves to Posted, reads the Used lines, creates one sales invoice and writes the result back.
Idempotent means a retry can never produce a second invoice. Three things make it so. The work order carries an integration status and the Xero invoice ID, and the integration skips any work order that already has one. The work order number goes into the Xero invoice Reference, so a check before creating can find an invoice that was created but whose reply was lost. And the request carries an idempotency key built from the work order ID, which Xero's API documentation describes for create requests; check its current behaviour and rate limits before you rely on them. Failed pushes land in an exception view with the Xero error text, not in a log nobody reads.
| Field Service | Xero sales invoice (ACCREC) | Note |
|---|---|---|
| Billing account on the work order | Contact | Match on a stored Xero contact ID, not on the name |
| Work order number | Reference | Used for the check before creating |
| Used work order product | Line item with item code, quantity and unit amount | Quantity to bill, not quantity used |
| Used work order service | Line item with item code, hours and rate | Duration to bill converted to hours |
| Line reason or description | Line description | So the customer sees why a variation was billed |
| Product or service type | Account code and tax type | Agreed per item in the catalogue step |
| Service territory or work order type | Tracking category | Optional, for reporting by region or job type |
| Integration status and Xero invoice ID | Invoice ID returned by Xero | Written back to the work order |
Should the invoice go to Xero as a draft or approved?
Start with drafts. Creating the invoice in Xero with status DRAFT lets finance review the first weeks of automated invoices in the tool they already use, and approve them in a batch. Once the line mapping is trusted, the integration can create invoices as AUTHORISED and, if you want, email them from Xero. Either way the work order shows the Xero invoice ID and status, so nobody has to search Xero to know whether a job was billed.
When something changes after the invoice has gone, do not reopen and edit the posted work order. Raise a credit note or a supplementary invoice in Xero, recorded against the work order with its own reason, so the work order history and the Xero ledger still agree line for line. If you need payment status in Field Service for the dispatcher or the account manager, a scheduled read from Xero back to the work order is a small addition.
When does Xero stop being the right place to invoice from?
Xero handles invoicing from Field Service well for a single company with straightforward stock. The signals that one Microsoft ERP would serve better are the same ones that show up on the inventory side: van stock and warehouse stock you need valued properly, several legal entities, project billing or a finance team keying journals between systems. That decision is set out in Xero with an inventory app or Business Central. If you move, the custom Xero push is replaced by the standard Field Service integration with Business Central over the Dataverse connection, or by dual-write for Finance and Operations, as described on CRM and ERP integration.
What are the steps to get on-site changes from Field Service onto the Xero invoice?
The order matters: the catalogue comes first, because neither the work order lines nor the Xero invoice can be right while a part has three different codes. The integration comes late, because it can only push what the mobile capture and the posting gate have already made correct.
| Step | What it involves |
|---|---|
| 1. Align the product catalogue across the three systems | Give every part, kit and labour type one code that is the same in the quote configurator, in Field Service products and in Xero items, with the Xero sales account and tax type agreed for each. |
| 2. Turn the accepted quote into Estimated work order lines | When a quote is accepted, create the work order with one Estimated work order product or service per quote line, carrying the quoted price and the quote reference, so the job starts from what was sold. |
| 3. Design the mobile capture of changes | Configure the Field Service mobile app so the technician marks fitted lines Used, adds unplanned parts and labour as new Used lines, records the reason for each variation and captures the customer sign-off before completing the booking. |
| 4. Make Posted the invoice gate | Let technicians complete work orders, and let only an operations or finance role move them to Posted after checking quantity to bill, duration to bill and price on every Used line. |
| 5. Build the idempotent push to Xero | Trigger on the move to Posted, build one Xero sales invoice from the Used lines through a Power Automate custom connector or an Azure Function on the Xero Accounting API, and write the Xero invoice ID and status back to the work order. |
| 6. Handle errors and later corrections | Send failed pushes to an exception view with the Xero error text, retry only work orders without a Xero invoice ID, and correct invoiced jobs with a credit note or a supplementary invoice, never by editing the posted work order. |
| 7. Reconcile the first month | Compare posted work orders with Xero invoices for the first month, line by line, and fix any mapping or capture rule that still lets a change slip through. |
What does Solzet do for Field Service and Xero invoicing?
Solzet aligns the catalogue across the quote configurator, Field Service and Xero, builds the hand-over from accepted quote to work order with Estimated lines, configures the Field Service mobile app and its offline profile for change capture and customer sign-off, sets up the Completed and Posted gates, and builds the idempotent Xero integration in Power Automate or an Azure Function, with the exception view and the first-month reconciliation. Our own senior consultants and developers do the work, and the wider Field Service build is on Dynamics 365 Field Service implementation. Where per-user licensing does not fit a field workforce, a custom CRM on React, Node.js, PostgreSQL and .NET can hold the same quote, job and invoice flow. We recommend the right solution: Dynamics 365 (Customer Engagement, Business Central or Finance and Operations), Power Platform, or a custom-built CRM. One team for CRM, ERP and the integration between them.
What do people ask us?
How do technicians add extra parts to a work order in the Field Service mobile app?
They add a work order product from the catalogue or their van stock and set its line status to Used, with the quantity fitted. For that to work the part must exist as a product and be available offline on the device, so the catalogue and the offline profile are designed first.
What is the difference between Estimated and Used lines on a work order?
Estimated lines are the plan, usually created from the quote or the incident type. Used lines are what was actually delivered, and only Used lines should reach the invoice, with quantity to bill and duration to bill deciding what is charged.
Is there a native connector between Dynamics 365 Field Service and Xero?
We are not aware of a native Microsoft connector for this flow, and third-party apps change, so check Microsoft AppSource and the Xero App Store first. The pattern we build is a Power Automate custom connector or an Azure Function on the Xero Accounting API, triggered when a work order is posted.
How do you stop the integration creating duplicate invoices in Xero?
Store the Xero invoice ID on the work order and skip any work order that already has one, put the work order number in the Xero Reference and check for it before creating, and send an idempotency key built from the work order ID. Retries then find the existing invoice instead of making a new one.
Should we invoice from the quote or from the work order?
From the posted work order. The quote records what was sold, while the work order, after the technician completes it and the office posts it, records what was delivered, including every on-site change.
What happens if a job changes after the Xero invoice has been sent?
Raise a credit note or a supplementary invoice in Xero, recorded against the work order with a reason, rather than reopening the posted work order. The work order history and the Xero ledger then still agree line for line.
Does this change if we move from Xero to Business Central?
Yes. Field Service has a standard integration with Business Central over the Dataverse connection, which replaces the custom Xero push, and Finance and Operations connects through dual-write. The mobile capture and the posting gate stay exactly the same.
Where should you go next?
Field Service job costing
Cost and price on work order lines, contract types, rollups and completion controls.
Field Service proof of work
Estimated and Used lines, parts linked to bookings and evidence that survives audit.
CRM and ERP integration
Field Service with Business Central or Finance and Operations, designed by one team.
Xero or Business Central
When Xero with an inventory app is enough and when one Microsoft ERP pays back.
Dynamics 365 Field Service implementation
Work orders, scheduling, the mobile app and offline design.
Offline field apps that do not lose data
Offline profiles, sync conflicts and reconciliation for field technicians.
Which solution is right for your business?
Tell us what you need. A senior consultant replies within one business day with a recommendation (Customer Engagement, Business Central, Finance and Operations, Power Platform or a custom-built CRM), not a sales script.