> 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)

If you need to collect an Invoice from your Applicants within a Milestone, and want this to automatically push through to Xero via your Xero integration, follow the steps below.

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="https://4124979405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F49pNEQ4fXNtxv0yJ5jgn%2Fuploads%2FYctL69W4j0v22FHS6boZ%2Fimage.png?alt=media&amp;token=2d5f999f-d148-4b22-b957-4bca19a43643" 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).
