Skip to main content

How to Upload AR Sales Invoices to Tofu and Sync Them with Xero

This guide shows how to upload AR invoices to Tofu, keep data in sync with Xero, and train Tofie AI.

Jessica Beronque avatar
Written by Jessica Beronque
Updated over a week ago

1. Turn on AR Invoice as an Extraction Type

Note: AR Invoices is an early feature. Your organization’s owner must opt in before it can be enabled at the entity level.

  1. Go to Entity Settings → Features.

  2. Under Document Extraction Types, toggle AR Invoice ON.

Once enabled, Tofu will extract invoice numbers, customer details, dates, amounts, and line item information from every AR invoice you upload.


2. Configure AR Invoice Settings for Xero

Connect Tofu to your Xero organization and activate your AR Invoice settings:

  1. Go to Settings → Integrations → Xero.

  2. Open your Xero configuration panel.

  3. Under AR Invoices, choose your preferred sync settings.

  4. Click Activate to save.

💡 Recommended Settings for Xero

We recommend turning all available options ON for the smoothest AR invoice workflow:

  • Auto-publish – Tofu automatically sends extracted invoices to Xero.

  • Auto-import – Updates from Xero sync back into Tofu.

  • Allow Tax Amount Override – Lets you manually adjust tax amounts in Tofu.

  • Invoice Status on Verify – Choose whether invoices publish to Xero as Awaiting Approval or Awaiting Payment, depending on your internal process.

  • Self-Prompt – Tofie learns your patterns from Xero and applies your formatting rules automatically.

Note:
If your Xero integration existed before AR Invoices, Self-Prompt may not appear here. To enable it:
Go to Settings → Entity Knowledge Base → AR Invoices → Self-Prompt.


3. Upload an AR Invoice

You can upload AR invoices automatically via a cloud integration or manually from your computer.

  1. Go to your Source Document column.

  2. Click Upload document.

  3. Select your AR invoice file.

💡 Recommended: Connect Google Drive or SharePoint

For the easiest AR invoice workflow, we recommend integrating Google Drive or SharePoint with Tofu. Once connected, any invoices you upload to your chosen folder will automatically sync into Tofu, so you don’t have to upload documents manually every time.


4. Review the Extracted Data and Verify

Once the AR invoice is extracted:

  1. Review the extracted data, including:

    • Customer

    • Invoice number

    • Dates

    • Line items (description, quantity, rate)

    • Tax amount

  2. Before verifying or publishing to Xero, ensure the following fields meet requirements (common blockers):

    • Customer – Must be assigned to a valid customer in Xero.

    • Invoice Date – Cannot be blank.

    • Due Date – Must not be earlier than the Invoice Date.

    • Line Item Description – Required if no product/service is selected.

If you see something incorrect, edit it directly in Tofu. When everything looks correct, click Verify.

💡 Tip: Keep Tofu and Xero in Sync

With auto-publish, auto-import and allow tax amount override enabled, changes from Tofu can sync into Xero, and updates you make in Xero can sync back into Tofu. No need to edit the same invoice twice.

Troubleshooting

If an extraction in Tofu is meant to be an AR Invoice but appears in Xero as a Bill, check:

  1. Extraction Type

    • Confirm the document is extracted as AR Invoice (not AP Bill).

    • If needed, re-extract with the correct extraction type enabled for the entity.

  2. Contact type / selection

    • Confirm the contact selected is a Customer (AR) rather than a Supplier (AP).

    • If your entity is non-integrated or uses a shared contacts table, ensure the contact is marked as Customer (or Both).

  3. Integration settings

    • Confirm AR Invoice settings are enabled under Settings → Integrations → Xero.

    • Confirm your AR Invoice “Invoice Status on Verify” setting is correct for your workflow.

  4. Retry after correction

    • Save Draft after fixes, then Verify again (or Publish, depending on your workflow).


💡 Tips & Tricks: Train Tofie AI for Your Preferred AR Invoice Format

To keep your invoices clean and consistent, you can train Tofie to automatically apply your formatting rules.

How to Set It Up

  1. Click Tofie at the upper-right corner of Tofu.

  2. In Knowledge Type, select AR Invoices.

  3. In the prompt box, enter the rules you want Tofie to follow. For example:

  • “Put "2025-" before invoice number for AR invoices

  1. Click Generate to teach Tofie your instructions.

  2. Click Save.

Tofie will now automatically apply this rule to every AR invoice you upload moving forward.

All synced and stress-free!

With AR invoices flowing smoothly between Tofu and Xero, you’ll spend less time on manual data entry and more time supporting your customers—and growing your business. 🚀📘 Happy bookkeeping! 😄📊

Did this answer your question?