Use Datamolino bill lines with Xero Projects
Capture and review the supplier bill in Datamolino, then export its lines to Xero. Assign the relevant expenses to projects inside Xero and decide how to charge them to the customer. Exporting the bill does not choose the project for you.
Can one bill contain costs for different projects?
Yes. Xero supports assigning different lines on the same bill to different projects. Leave non-project costs unassigned and check the treatment of each project expense.

Prepare a bill with separate lines
Start with an invoice whose detail you need for job costing. For example, a builder's merchant bill might contain timber for one job and paint for another. If those costs stay as separate lines, you can allocate them without recreating the invoice in Xero.
Confirm that Projects is enabled in your Xero subscription and that the people doing the work have the relevant access. Xero's getting started guide explains that setup.
In Datamolino, open the invoice in the Line items view. Check the descriptions, quantities, amounts, tax and coding against the source document. A ledger account is an accounting choice made during preparation; it is not a value automatically read from the supplier's invoice.
The line-item guide explains the view and coding controls. If you want to work with several rows together, use the fullscreen editing tools.
Export the reviewed bill to Xero
Export the document, then open the resulting Xero bill. Compare its line detail and total with the reviewed document. Check that you are in the correct Xero organisation before assigning project costs.
This workflow uses Datamolino for document capture and accounting preparation. Project assignment happens in Xero. The Xero integration guide covers the connection.
Assign the expenses in Xero
Xero allows different bill lines to belong to different projects. The project must be in progress, rather than draft or closed. Its expense assignment guide explains the supported transaction states.
In the current Quick View interface, set the customer or project in the bill's line-item grid. The older separate assignment window shown in earlier versions of this tutorial has been replaced. See Xero's Quick View update for that interface change.
For the example above, assign the timber line to the first job and the paint line to the second. A separate line for general office supplies can stay outside Projects. Review the allocation before saving.
Choose what the customer will pay
Recording a cost against a project and charging it to a customer are separate decisions. In the project expense, choose the treatment agreed with your customer: pass on the cost, add a percentage markup, set a custom price or keep the expense non-chargeable.
For example, you may pass materials on at cost while keeping an internal delivery expense non-chargeable. The Xero expense guide describes those charge settings.
Check the project and customer invoice
Open the project and check that the intended expenses appear against it. When you are ready to bill the customer, create a Tasks & expenses invoice. Select the costs to include, choose the detail you want to show and save a draft for review.
Xero can display individual expenses or group actual expenses that relate to the same estimate. Check that the draft invoice follows your agreement with the customer. See Xero's tasks and expenses invoicing instructions.
If an assignment or charge treatment needs correcting, check the expense and transaction state first. Once an expense has been invoiced, Xero does not allow it to be deleted from the project. Correcting the bookkeeping record may also require attention to the customer invoice, so inspect both before sending it.
What do I need before starting?
Use a Datamolino subscription with line items and a folder connected to Xero. Your Xero subscription and user access must include Projects, and the project must be in progress to receive assigned expenses.


