Setup guide
Deal Invoicing for Attio. Back to the app page.
On this page
- Before you start
- 1. Connect on the Connections tab
- 2. Allow data sharing and choose defaults on the Settings tab
- 3. Add the widget to record layouts
- Create an invoice from a deal or company
- Track invoice status on the record
- Plans
- What the widget shows instead of invoices
- Withdrawing, disconnecting and deleting data
- Support
Before you start
- A workspace admin: only admins can allow or withdraw sending to Xero; members see the Settings tab read only.
- A Xero login for the organisation you want to create invoices in.
- Deals in Attio: activate the deals object if needed. For the best prefill, a deal has a value and an associated company, in a currency your Xero organisation has enabled (its base currency is safest); otherwise the dialog shows Xero's rejection.
The Create Xero invoice action and the Xero invoices widget appear only on deals and companies; they intentionally render nothing on people and every other object.
To install, open the Deal Invoicing listing in the Attio App Store and click Install.
1. Connect Xero on the Connections tab
Setup starts on the app's built-in Connections tab (Settings > Apps & integrations > Deal Invoicing > Connections). Click Connect under Workspace connection to sign in to Xero and authorise one organisation. Connecting sends no Attio data.
2. Allow data sharing and choose defaults on the Settings tab
Switch to the Settings tab next to Connections:
- Data sharing with Xero: the section lists what is sent to Xero (contact name, line description, quantity, unit amount, currency, invoice and due dates, the status, and the revenue account code if one is set; the contact name is used to find or create the Xero contact) and what is read back (invoice number, status, total, amount due and paid, currency, due date, matching contact names and numbers, the organisation name, short code and base currency, and revenue account names). Click Allow sending to Xero: by allowing, the admin agrees to the terms and privacy policy, and the app records which admin agreed, the date and the version. Only admins can allow or withdraw; the first consent starts the 14-day Pro trial without a card.
- Xero connection: a single authorised organisation is selected automatically (Connected to <organisation name>.); when several are authorised, pick one under Xero organisation.
- Invoice defaults: choose an optional default Revenue account, set Due in (days) (0 to 120, default 14), and optionally enable Allow submitting invoices for approval (requires a selected revenue account).
- Plan: shows Trial, 14 days left, Free, x of 3 invoices used this month, or Pro. Upgrade to Pro (USD 29 per month) opens Stripe checkout; afterwards return to Settings or click Check subscription. Manage subscription opens the Stripe customer portal.
3. Add the Xero invoices widget to record layouts
Add the widget by hand: on a deal or company record, click Record actions (...) > Configure page > Add widget under Highlights > Xero invoices > Save changes. Until the first invoice, the card shows No invoices yet.
Create an invoice from a deal or company
Open any deal or company record and trigger Create Xero invoice from the quick-action bar below the record title or via the command menu (CMD+K).
- Automatic prefill from the record: on a deal record, the form prefills Contact name from the associated company, Description from the deal name, Quantity as 1, Unit amount and Currency from the deal value (falling back to the Xero organisation base currency when the deal has no value), Invoice date as today, and Due date from the workspace default due days. On a company record, Contact name prefills from the company name and Currency prefills from the Xero organisation base currency.
- Contact matching and ambiguity choice: when you submit, Deal Invoicing searches Xero contacts by name. If one active contact matches, the invoice is linked to that contact. If no contact matches, the app creates a new Xero contact using the name only (no email addresses or street addresses are sent). If several Xero contacts share the same name, the dialog presents a dropdown with each matching contact name and contact number so you can pick the right one.
- Draft by default, optional submit for approval: every invoice is created as Draft by default. When a workspace admin enables Allow submitting invoices for approval and selects a default Revenue account in the app settings, the dialog also offers Submitted for approval.
- Duplicate protection: repeating an unchanged submission after a network timeout replays the same request key within Xero's 6-minute window so a retry cannot create a duplicate invoice. If an invoice was created for the same record within the last 10 minutes, the dialog displays a reminder banner before you create another.
Click Create invoice. The dialog confirms the new invoice number with an Open in Xero link.
Track invoice status on the record
Once an invoice is created, Deal Invoicing links the invoice ID to the deal or company record in workspace storage.
- Record widget summary: the Xero invoices widget on the record shows the latest invoice number, current status badge (Draft, Submitted, Awaiting payment, Paid, Voided or Deleted), amount due with currency, and a count of any additional linked invoices (+N more).
- All linked invoices dialog: clicking the widget opens the Xero invoices dialog listing up to 20 linked invoices newest first, showing Invoice, Status, Amount due, Total, Due date, and an Open in Xero link for each row.
- On-demand refresh: status snapshots are cached for 5 minutes so opening a record is fast and stays well within Xero API rate limits. Clicking Refresh in the dialog fetches live status from Xero immediately (allowed once every 30 seconds per record). If Xero is temporarily unavailable, the widget and dialog display the last cached snapshot with a clear timestamp notice.
Plans
- Free: USD 0, up to 3 invoices created per calendar month.
- Pro: USD 29 per month, unlimited invoices.
The 14-day Pro trial without a card starts automatically when an admin first clicks Allow sending to Xero and falls back to Free at trial end with no charge. Invoices created during the trial count toward that calendar month's Free allowance, so a trial that ends mid-month can leave no free invoices for the rest of that month. Status readback and Open in Xero links are unlimited on both plans, within Xero API rate limits. See the plans on the app page.
What the widget shows instead of invoices
- No consent or no connection: the widget shows Not set up; the dialog names the missing step.
- Several organisations, none chosen: the widget shows Choose a Xero organisation; pick one under Xero organisation on the Settings tab.
- Xero access ended: the widget shows Reconnect Xero; the Settings tab offers Reconnect Xero.
- No organisation granted: the Settings tab shows a waiting-list link and Try again. The link opens the waiting list page.
Withdrawing, disconnecting and deleting data
Withdraw consent stops all calls to Xero; existing invoice links stay hidden until sending is allowed again.
Removing the Xero connection on the Connections tab deletes the invoice links, cached summaries, consent, organisation choice, invoice defaults, trial state and usage counts the app stored in Attio. Your invoices stay in Xero.
Uninstalling the app runs the same deletion and also removes the Xero invoices widget from record layouts.
Attio cannot run this deletion when Xero access has ended or the admin who connected has left. Then, or at any time, an admin can click Delete all app data at the bottom of the Settings tab: after a confirmation it deletes everything the app stored in Attio, with or without a Xero connection.
What the app stores and for how long is listed in the Privacy Policy.
Support
Write to [email protected]. We send a first response within 2 business days (Swiss working days) and handle urgent issues as quickly as possible.