The Supplier Bill the AI Marks Paid — and the Transfer It Never Makes

The owner writes to the assistant: pay the supplier bill for purchase order ЗП-2026-3. A moment later the assistant answers that the bill is paid. The bank account has not changed. Both statements are true, and the distance between them is the subject of this article: in Firmspace, paying a supplier invoice means settling a debt in the ledger, not sending money out of the company. Two verbs that sound alike in a chat window belong to two different systems.
The bill is born from a receipt, not typed by hand. When goods arrive against a purchase order, the receiving function creates a warehouse document, updates the purchase price of each product, marks the received quantities on the order, and — if the received value is above zero — creates a supplier invoice. The amount is the sum of the received lines multiplied by their purchase prices, in the currency of the order. Each receipt produces its own bill for the quantity that arrived, which is how a delivery in two parts becomes two documents.
Two fields deserve attention. The invoice number is optional: the code accepts an empty string and creates the debt anyway, because a purchase without a bill number would otherwise fall out of reports and out of the list of what the firm owes. The due date is calculated from the supplier's payment terms: the invoice date plus the number of days stored on the supplier card, which is zero when nobody has set anything. Both choices favour keeping the debt visible over keeping the paperwork perfect.
A supplier invoice is a debt, not a customer invoice. There is no send button, no e-mail with an attachment, no public link and no dunning ladder. The list shows the amount, the paid amount, the status, the currency and an overdue flag computed from the due date, and that is the whole reminder system: a human has to look. The code comment says it plainly — this is the firm's own debt, so there are no mailings and no reminders.
The payment function itself is short. It refuses an invoice that is already paid, takes the remaining amount, accepts a smaller sum when one is given, adds it to the paid amount, and sets the status to paid only when the accumulated amount covers the invoice within a tolerance of half a cent. A partial payment leaves the status as it was. What the function does not write is a payment date, because the model has no field for one. The record knows that the bill is settled; it does not know when the transfer happened.
The assistant's tool is narrower than the function. pay_supplier_invoice pays in full: it accepts either a purchase order number, finds the open bills attached to that order, or takes a flag to pay every open supplier invoice. It asks for confirmation, then reports how many bills it settled and the total. A partial payment is possible through the ordinary API, where the amount can be passed, but the assistant will not split a bill unless somebody builds that path separately.
The “pay everything” flag is a blunt instrument. Its selection is every supplier invoice whose status is not paid, up to two hundred records, with no date filter and no amount limit. Because the payment function only refuses the status paid, a cancelled invoice is included in that selection and can be settled by the same run. A single sentence in the chat can therefore close a whole accounts-payable list, including documents a person had already withdrawn. It is convenient, and it is exactly the kind of convenience that deserves a look at the list before the yes.
Nothing in this path moves money. There is no bank transfer, no payment order, no card acquiring, no confirmation from a bank and no transaction that would later appear in reconciliation. The transfer happens in online banking or at the bank's terminal; the CRM records the consequence. For a small firm that is a defensible division of labour, but it has to be understood, because the status paid in the CRM is not evidence that the supplier received anything.
The traces are thin. Paying a supplier invoice does not emit an automation event, does not write a feed entry, does not notify anyone and does not create an audit-log record. The restock shortcut is different: when the assistant orders, receives and pays in one step, that combined action does write an audit entry. The payment alone does not. A firm that later asks who marked a bill paid has the updated amount and the status, and little else.
Compare that with a customer payment. Every incoming payment goes through one function that locks the invoice row, writes a payment event with an idempotency key, and then produces a chain of consequences: an audit entry, a feed entry on the deal, contact and company, an invoice_paid or invoice_partial_paid event, a notification, a fiscal receipt when configured, an order moved to paid and a deal possibly won. The supplier side has one update statement. The asymmetry is not a scandal, but it tells you where the product expects a human to be careful.
The one-step shortcuts are useful and bounded. restock_goods can create a purchase order, receive it into the warehouse and pay the supplier bill in the same action, and the audit entry records all three results. receive_purchase_order can take a pay flag and do the same for an existing order. In both cases the bill exists only after the receipt, so a payment without goods is not offered, and a zero-value receipt is not paid. For the routine “we ordered it, it arrived, we paid it”, this is the shortest honest path.
The risks are ordinary accounting risks with a technical shape. Marking a bill paid before the transfer can lead to paying it twice. Using the pay-everything flag can settle a cancelled document. A partial payment is invisible in the status, which stays open until the last cent, so a colleague may think nothing has been paid at all. And because there is no payment date, a payment made in March but marked in April cannot be placed in the right month by the record itself.
A safe routine is therefore manual by design. Make the transfer in the bank first, then mark the bill paid in the CRM, and put the transfer date and the bank reference into the notes so the next person sees them. Do not use the pay-everything flag on a list you have not read. Check cancelled bills before a bulk run. Reconcile the open list against the supplier's statement at least once a month, because the CRM cannot send a reminder to itself.
What the assistant is genuinely good at here is preparation, not execution. It can list the open bills, match them to purchase orders, flag the overdue ones, sum what is outstanding and draft a payment run for a person to execute in the bank. It can also explain why a bill exists without a number. It cannot make the transfer, and it should not pretend that marking a bill paid is the same as paying it — the wording in the chat matters more than it looks.
What this article does not claim: it gives no statistics about late supplier payments, no tax or accounting advice about when an expense is recognised, and no promise that a bank integration will be added. It describes what the reviewed Firmspace code does with a supplier invoice — create it on receipt, accumulate payments, mark it paid at the full amount, and leave the money, the date and most of the trail outside the record. The practical conclusion is simple: the CRM settles the debt, the bank moves the money, and a person has to keep the two in step.