How it works · Xero
Lands in Xero as a Draft bill
Xero › Purchases overview › Bills › Draft
ABCD- Bills, under Purchases overview
- The Draft tab
- Each bill waits as a Draft
- The original, attached
A real screenshot from one of our Xero test companies, so the vendors differ from the document below. Tap it to open full size.

- FromSilvaquist Summit Fleet Services
- ReferenceSSF-68138
- Date12 Sep 2026
- Due date22 Sep 2026
- Lines2 lines, each with an account codeTax is included in the line amounts
- Total$232.91
Original PDF attached
Nothing hits the ledger until you approve it. Then Accounts Payable goes up by $232.91.
A real test page from our accuracy case study, where every scored field on it was read correctly. Every document is synthetic and every business on it is invented. Hover or tap a number to see where it goes.
From the inbox to Xero.
DocStreamAI watches the Gmail or Outlook inboxes you connect. When an invoice, receipt or credit memo arrives, it reads the type of document, the contact, the dates, every line and the total, and matches the contact against the contacts already in your Xero organization.
Every document then passes the same checks before anything is written to your books: a duplicate check against the bills already in Xero, and a check that the lines add up to the total. A document that fails a check waits for you on the dashboard, and your submission setting decides what goes through on its own. Files you upload, or forward to your intake address, take the same route.
A worked example: one bill.


This is a real run on one of our Xero test organizations. Riverdale Apparel Co. emailed an invoice, and DocStreamAI read the vendor, the invoice number, every line, the tax, the dates and the totals, then queued it on the dashboard, where it flagged that the company name on the invoice did not match the company profile.
On approval the same data went to Xero as a draft bill with the contact matched, every line on its account code with tax included in the line amounts, and the original PDF attached. The invoice number shows in Xero as the Reference. A due date printed on the invoice is used as it is; payment terms only set one when none is printed. Nothing hits the ledger until you approve the draft in Xero.
A worked example: receipts.



When a receipt arrives, DocStreamAI reads the merchant, the date and the total and looks for the transaction already in your Xero bank feed. It matches on supplier, amount and date, with a confidence score on every match. The card number is never compared.
A match gets the receipt image attached to that transaction, and the amount, account and contact stay exactly as they were. With no match, the receipt can become a Spend money transaction on the account that paid: the card, when you have mapped it, otherwise your default paying account. It is posted right away with the receipt number as its Reference, and Xero offers it as the match when the card statement line arrives.
What happens to a credit memo.


A credit memo is read like a bill: the contact, the related invoice number, the date, every line and the total credit. It follows the same submission setting as your bills, so on Manual it waits for you, and on Hybrid a contact already in your books is drafted on its own.
In Xero it becomes a draft credit note in Bills to pay, with the related invoice number as its Reference, tax included in the line amounts and the PDF attached. Nothing hits the ledger until you approve it; then Accounts Payable goes down by the credit. DocStreamAI does not allocate it to a bill: you choose the bill it comes off.
You decide what goes through on its own.
Manual
Bills and credit memos
Every bill and credit note waits for you on the dashboard.
Receipts
Exact matches attach. A receipt with no match waits; you create the transaction.
Hybrid
Bills and credit memos
A contact already in your books is drafted on its own. A new contact waits for you.
Receipts
With no match, spend money is created when the merchant is known and the paying account is clear.
Automatic
Bills and credit memos
New contacts are drafted too, with no check that the sender is who they say.
Receipts
With no match, spend money is created right away.
One setting per Xero connection. A new connection starts on Hybrid for bills and Manual for receipts. Before any bill posts it is checked against the bills already in Xero for a duplicate, in every position.
Questions about posting to Xero
Does a bill post to Xero without my approval?
Only as a draft, and only if your setting allows it. A new Xero connection starts on Hybrid for bills: a bill from a contact already in your books is drafted on its own and a new contact waits for you. On Manual every bill waits; on Automatic new contacts are drafted too. A bill that fails the duplicate or totals check waits for you in every mode.
How does DocStreamAI avoid a duplicate bill in Xero?
Before any bill posts, it is checked against the bills already in Xero. The same invoice arriving twice, for example once from the vendor and once forwarded by a colleague, is recognized rather than booked a second time.
Which account does a receipt with no match post to?
The Spend money transaction goes on the account that paid: the card the receipt was paid with, when you have mapped that card, otherwise your default paying account. It is posted right away, and Xero offers it as the match when the statement line arrives.
Are credit memos applied to my bills automatically?
No. A credit memo becomes a draft credit note. Once you approve it, Accounts Payable goes down, and you choose which bill it is allocated to in Xero.
How are invoice lines coded to my chart of accounts?
Each invoice line can get its own account code, or every line on a document can share one; you choose in the connection settings. Accounts are suggested from the industry you chose at setup, and you can pin a vendor to a default account so it is coded the same way every time.
Focus on growing your business,
not data entry.
Start your free trial today. No credit card required. Set up your account in under five minutes.

