> For the complete documentation index, see [llms.txt](https://help.tahua.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.tahua.io/knowledge-base/administrator-help-guides/milestones/milestone-invoices-xero.md).

# Milestone Invoices (Xero)

When you are setting up your [Milestone Template](/knowledge-base/administrator-help-guides/milestones/milestone-templates.md), you will want to add a "File Upload" field so that Applicants can upload the invoice into the system.

Ensure you have ticked the "Is an invoice" field - this is what enables it to push through to Xero as an attachment.

<figure><img src="/files/3MjX6TVqAChlBcwgt3ND" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Ticking "Is an invoice" only controls whether that file is attached to the bill in Xero — it has no effect on the Milestone's payment amount. If you want the payment amount itself to match whatever the Applicant enters (rather than a fixed amount you set in advance), set the Milestone's amount type to **Form Field** and link it to a Currency field. See [Milestone Templates](/knowledge-base/administrator-help-guides/milestones/milestone-templates.md#choose-how-the-milestone-amount-is-determined) for how to set that up.
{% endhint %}

You can learn more about syncing Milestones via the Xero integration [here](/knowledge-base/integrations-help-guides/xero/xero-faqs.md).
