Sign up today for free. No credit card down.Get started

    How it works · Xero

    Lands in Xero as a Draft bill

    Xero › Purchases overview › Bills › Draft

    Where it is in XeroPurchases overview › Bills › Draft
    Xero Bills list, with draft bills created by DocStreamAI, each with its reference, due date and one attached fileABCD
    1. Bills, under Purchases overview
    2. The Draft tab
    3. Each bill waits as a Draft
    4. 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.

    Page one of an invoice from Silvaquist Summit Fleet Services, an invented company, as a clean PDF. Numbered boxes mark each field that goes to Xero.
    XeroBillDraft
    • 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.

    INBOXGmail or Outlookyou connectREADType, vendor, dates,lines and totalCHECKEDDuplicates in XeroLines vs the totalYOUR SETTINGManualHybridAutomaticXEROa draft billAttachment or Spend moneya draft credit noteWAITSFOR YOUon thedashboard
    Blue is DocStreamAI's work, amber is where a document waits for you, green is what lands in 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.

    DocStreamAI dashboard showing an extracted Riverdale Apparel invoice beside the fields read from it, with one item flagged for review
    Read and checked in DocStreamAIThe Riverdale Apparel invoice beside the fields DocStreamAI read, with one item flagged for review before approval.
    The Riverdale Apparel invoice populated inside Xero as a bill
    The bill in XeroThe same invoice as a Xero bill: contact matched, every line, tax and total in place, ready for you to approve and pay.

    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.

    DocStreamAI dashboard matching a receipt to a Xero bank transaction
    Matched in DocStreamAIDocStreamAI matched the receipt to the spend money transaction in the Xero bank feed, so the right transaction gets the right proof.
    Xero Spend Money transaction with the receipt attached
    Attached through the Xero APIThe receipt is uploaded straight to the matched transaction, and Xero's history records that DocStreamAI did the upload.
    Xero bills overview showing attached files per transaction
    Visible on bills tooReceipts also attach to matching bills in Xero's accounts payable, and the Bills list shows the attached files on each one.

    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 from Hexenburl Tool & Fastener, an invented company, against invoice HTF-244928, total credit $802.22
    The credit memoA $802.22 credit from Hexenburl Tool & Fastener, one of the test pages from our accuracy case study.
    A Xero supplier credit note form under Purchases overview, Bills to pay, with From, Date, Reference and Total, and Save or Approve
    Where it landsA supplier credit note in Xero under Bills to pay, saved as a draft until you approve it and allocate it to a bill.

    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.

    See the same documents in QuickBooks →

    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.