Case study · AI finance agent · Project accounting
Revenue and receivables for every deal in the CRM
Bitrix24 deals are tied to payments and shipments, so it’s clear how much the company earned and who owes it what.
A custom awards manufacturer kept its money in an accounting service and its orders in Bitrix24, and the two never met. Now every deal with a payment becomes a project in the books: customer payments are linked to it, revenue is recognized on shipment, and that adds up to receivables and profit per order. Aurora, the company’s AI finance agent, matches payments to deals, went through the history since January and answers questions about who owes what.
- CRM
- Bitrix24, deals refreshed hourly
- Deals tracked
- since January 1, 2026
- Launch
- five stages in two days
- Status
- live at the client
- 569 of 785payments since January linked to deals by Aurorafirst pass over the history, January–November
- 821customers in the statement, no gaps against receivables
- 2 daysto launch all five stages of project accounting
The problem
How much did we earn, and who owes us? Nobody could say
The company tracked money in its accounting service and orders in Bitrix24. The only source of revenue figures was the deal amount, and a sales manager types that in by hand.
- One extra zero in a deal amount makes the order ten times bigger, and there was nothing to check it against.
- Payments were in the books but not linked to orders: you couldn’t tell whether an order was paid, whether the customer overpaid, or what was still due.
- The P&L had no revenue at all — only expenses.
- Matching a payment to a deal is hard: the name in the deal rarely matches the paying company, the CRM has no invoice numbers, and instead of a payment order the deal often holds a picture of a “PAID” stamp.
- Online card payments arrive from the bank as one lump sum for several orders, minus the bank’s fee and with no breakdown.
Three things had to be tied together: the deal (what was sold), the payments (what came in) and the shipment (when the sale happened).
How it works
Deal, payment and shipment, tied together
- 01
A deal becomes a project
Every hour the service pulls deals from Bitrix24. As soon as a deal gets a payment document or a payment is linked to it, it becomes a project in the books, with its amount, customer and stage.
- 02
A payment finds its deal
The service matches pairs by amount, the payment date in the deal, the payer’s history, and prepayment plus balance. Aurora prepares the link with an explanation and a confidence level: above the trust threshold it applies on its own, below it waits for a person’s one-click confirmation. New payments with no deal show up in the morning “Today’s work”.
- 03
Shipment recognizes revenue
When a manager moves the deal to “Handed over for shipment”, revenue goes into the P&L on the shipment date from the deal. Whatever the customer hasn’t paid becomes their debt, and after the payment term, an overdue one.
What it does
What project accounting gives the owner
- 01
Project register
For each deal: the amount in the CRM and the amount accepted in the books, what’s paid and what’s left, the shipment date, expenses and payroll on the order. Profit and margin per order appear once the deal lists products with purchase prices.
- 02
Receivables by customer
Who owes what and since when it’s overdue: payments settle the oldest debts first, with a common payment term or a customer’s own. The customer is identified by the number in the deal name, so an agency paying from different legal entities stays one customer.
- 03
Customer statement for any period
For each customer: opening balance, shipments, payments, refunds and closing balance, and in the card every shipment and payment. The statement matches receivables down to the kopeck.
- 04
Reconciliation with the CRM
You see what doesn’t match Bitrix24: payments with no deal, card payouts not split across orders, debts closed by a document with no money behind it. A “PAID” stamp in the deal closes the debt, while “AWAITING PAYMENT” and “SAMPLE, NO CHARGE” don’t.
- 05
Aurora answers and makes edits
People ask her who owes what and how overdue, ask for a month’s revenue broken down by deal, or ask her to set the payment date in a deal. She writes that date straight into Bitrix24, and it matters: in 246 of 784 deals with linked payments, the CRM date matched neither the first nor the last payment.
Trust
Why these numbers can be trusted
- Amounts in the books don’t change on their own. If a deal amount is changed after payment, or the deal is moved back from shipment, the books keep the previous figure. A warning with “Accept new amount” and “Keep” buttons goes to the service, Telegram and the Bitrix24 chat — nothing is recalculated until a person decides.
- Matches come from rules, not the model. Candidate deals for a payment are computed by the service from hard signals: amount, date, payer history. Aurora explains the choice and prepares the edit. A confident link above the trust threshold applies on its own; the rest wait for a person to confirm.
- Only one CRM field is ever written. The only thing project accounting writes to Bitrix24 is the payment date in a deal, and only when a person asks. The deal is re-read from the CRM before writing, the service checks afterwards that the date landed, and “Undo” restores the old one.
- One rule, one number. The register, receivables, the dashboard and Aurora all calculate debt by the same rule; none has a formula of its own. Tested live: asked about customer balances for a month, Aurora’s totals and top ten debtors matched the service to the ruble.
By the numbers
What has been counted so far
- 569 of 785payments since January linked to deals by Aurora in the first history passmonth by month, January–November
- 48 instead of 7confident matches after the second history passfor the 156 remaining payments; confidence 85 and up
- 154orders for last October found by Aurora searching Bitrix24 directlywith correct amounts; the total matched a direct count to the ruble
- 821customers in the period statement, with no gaps against receivableson the client’s live data
- 2 daysfor all five stages: deals and payments, revenue, history, receivables, cost of salesthe first four went live on day one
What we found
What surfaced once deals were tied to money
Linking deals to payments showed things neither the books nor the CRM revealed on their own.
Revenue reached the P&L for the first time
Income categories had no P&L type set, so revenue bypassed the report. Project accounting put it there, on shipment dates.
Amounts still due were overstated almost fourfold
The register ignored payments that never reach the money ledger: “PAID” stamps and receipts attached to deals. Now debt is calculated by one rule everywhere, deal documents included.
Samples showed up as debts
101 one-ruble deals — samples and internal orders — sat as debt, up to 266 days overdue. Deals under ₽10 no longer count as debt, and revenue doesn’t change.
Almost a third of deals had no customer
283 of 970 deals paid by card transfer or online had no customer, because the payer isn’t in the books. An agency paying from different legal entities split into lines with debt and overpayment. Now the customer is the number in the deal name.
Status
Running daily; order profit is waiting for data
All five stages have been live at the client since early November 2026. Since December 1, Aurora searches deals directly in Bitrix24 and sets payment dates in them, and customer statements can be built for any period.
Done
- Deals and payment linking, revenue on shipment, history since January, receivables, cost of sales
- Customer by the number in the deal name; companies are pulled from deal details without duplicates
- Payment date in a deal: Aurora writes it to Bitrix24 on request, with Undo
- Ask Aurora straight from the receivables and project register pages
Next
- Profit per order: the company needs to add materials to deals as products and fill in purchase prices in the catalog
- Payments with no deal in the CRM at all — large agency orders, mock-ups, mistaken payments — are sorted out by people through Aurora’s questions
- Watch the first payment dates written into live deals
We don't disclose client names: every case study is described by industry only.
More case studies
All case studies-
DashboardPastry shop chain
Dashboard for a chain of 30 pastry shops
Data from the restaurant management system on one screen: revenue, plan, cost of goods, write-offs, rent and payroll for every shop, refreshed every hour. The client paid an advance at the prototype stage.
every hourdata refresh from iiko0.02%gap between the chain’s revenue and the client’s spreadsheet20months of history for every shop, day by day
Live at the clientRead more
-
Lead agentAir-conditioning service
Lead agent for an air-conditioning service
Answers from the price list, collects the request and passes it to a manager. The lead reaches the CRM only after the manager clicks “Accept”.
77 of 77automated tests pass on a live n8n instance3tools for the model — none of them writes to the CRM12workflows, each with one job
Live at the clientRead more
Tell us what work to hand over to an agent
In 30 minutes we'll review your process and send you a plan with a price. We work under a contract and NDA.