All articles

KajoData / Career & business

From finance to data analysis: build a receivables project

Synthetic invoices show how I turn a finance question into data, checks and a useful finding, while separating process knowledge from tool skills.

Kajo RudzińskiPublished Updated 13 min read

Stacks of blank invoice and payment cards meet at a checking balance.

If you work in finance, you may already have useful knowledge for an analytical project. You understand that an invoice date, a payment deadline and a payment date describe different events. You notice suspicious totals and know which questions return during reconciliation. I would begin with that knowledge. Then I would examine whether you can translate it into structured data, a repeatable calculation and an explanation that another person can understand and check.

I do not assume that everyone in accounting or controlling already has every analytical skill. Responsibilities vary. One person builds models; another handles a narrow part of a process. Rather than judging readiness by a department name, I suggest a small project: a simplified open receivables report at a fixed date. The data is synthetic. This is an exercise in analysis, rather than advice on valuing receivables or preparing financial statements.

Choose a question the data can answer

Our fictional team wants to identify invoices with an outstanding balance at the end of October 31, 2026, and establish how much of that balance is past its due date. The result helps select documents to investigate with the person responsible for reconciliation. It does not predict customer behavior or automatically assess payment quality. This use keeps the first project small enough to inspect without building an entire finance reporting system around it.

I specify one currency, PLN, and gross invoice amounts. Payments have already been assigned unambiguously to invoices. We exclude credit notes, offsets, exchange differences and allowances. Those limits matter because otherwise a reader might mistake the result for a complete accounting picture. In an actual process, its owner must agree on the appropriate rules. Here, I deliberately keep the scope narrow so the path from a source record to a result remains visible.

The snapshot date belongs in the question. A payment received on November 1 does not reduce the October closing balance. I cannot retrieve today’s “paid” status and present it as a historical state. I need dated events. This distinction demonstrates how finance knowledge can help in analysis: before selecting a chart, I ask whether the available data can answer the historical question at all. A more sophisticated tool cannot recover event history that the dataset never contained.

Establish what a row means in both tables

The invoice table has one row per invoice, including its identifier, issue date, due date, currency and amount. The payment table has one row per assigned payment, including a payment identifier, invoice identifier, date and amount. An invoice can have multiple payments. I do not hide this in extra columns called “second payment” and “third payment.” That layout would make expansion difficult and obscure which rows represent documents and which represent individual events.

Microsoft’s star schema guidance emphasizes consistent fact table grain. My practical rule here is to know which event each row represents. Invoices and payments have different detail levels. Even if this project stays in Excel, understanding that distinction helps prevent their amounts from being mixed. Moving to another tool later will not remove an error caused by misunderstanding the records. The model needs a clear meaning before it needs a more elaborate presentation.

An invoice identifier must support an unambiguous match. If a number repeats across companies or years, that number alone may be insufficient. Our synthetic dataset uses A, B and C, and I explicitly state that these identifiers are unique. This keeps an assumption visible. Otherwise, I could build something that appears correct only because the first sample happens not to contain two documents with the same number, then silently fails as soon as the sample grows.

Build a small dataset you can follow

Consider three invoices issued before October closes. Invoice A is for PLN 100, due October 20. Invoice B is for PLN 80, due November 5. Invoice C is for PLN 50, due October 31. Two October payments of PLN 20 each belong to A, and one PLN 50 payment belongs to C. There are no assigned payments for B. These are invented records chosen to expose partial payment, a future deadline and a fully settled document.

Invoice Amount PLN Due date Payments by snapshot date PLN Balance PLN
A 100 2026-10-20 40 60
B 80 2026-11-05 0 80
C 50 2026-10-31 50 0

In this simplified model, balance means invoice amount less assigned payments made by the snapshot date. A has PLN 60 left after two payments. B still has PLN 80 outstanding, although its deadline has not passed. C is settled. Total open balance is therefore PLN 140, across two invoices with positive balances. I show the document count separately from the amount because those quantities answer different questions about the same set of records.

Separate an open balance from a past-due balance

For this exercise, a balance is past due when it is positive and the due date is earlier than the snapshot date. An invoice due exactly on October 31 is not classified as past due by this rule. This is a deliberately chosen teaching definition. It does not establish a legal assessment of lateness or justify automatic action against a customer. A real report needs a definition agreed with the owner of its operational process.

A’s deadline has passed, so its PLN 60 belongs in the past-due balance. B’s open PLN 80 remains before its deadline. C has zero balance and adds nothing to either amount. Of PLN 140 outstanding, PLN 60 satisfies the stated past-due condition. This does not explain why A remains unsettled. There might be an incorrectly assigned payment, a dispute or a delay in recording information. The report identifies a case worth checking; it does not supply the explanation.

I distinguish the data state from the business cause. “A has a positive balance after its deadline under the stated rule” follows from the example. “The customer refuses to pay” would be unsupported interpretation. Finance experience can help generate hypotheses, but familiarity does not turn a hypothesis into a fact. Explaining the cause requires additional information and the person responsible for investigating that particular case. The report should make that boundary clear to its reader.

Prevent a join from multiplying invoice amounts

Invoice A has two payments. Joining the invoice table directly to the payment rows repeats A’s PLN 100 amount twice. Summing that column after the join produces PLN 200 for a document worth PLN 100. This is a reporting construction error. A polished dashboard and extra decimal places cannot repair it. I write down the expected relationship before combining the tables, then inspect one invoice to see whether the output still means what I intended.

In this small project, I first limit payments to the snapshot date and then summarize them by invoice identifier. That produces at most one payment total per invoice. I compare that summary with the invoice table. For an invoice with no payments, assigned payments contribute zero to the calculation. I distinguish that from an incomplete payment export. If data is missing from the source, there is no basis for quietly assuming that no payment took place.

For Excel practice, I can use a PivotTable documented by Microsoft to summarize payments by invoice. I check that amounts are numeric and that the operation is a sum. I do not accept an unchecked default that may show a count when values are interpreted as text. The tool’s operation must fit the field’s meaning. A valid spreadsheet output can still answer a different question from the one I intended to investigate.

Documents pass a gate marking the snapshot moment while a later document stays separate.

Reconcile at several levels

I begin with the document count: there should still be three invoices, even though one has two payments. Then I compare invoice amounts with payments and balances. Our documents total PLN 230, payments total PLN 90 and balances total PLN 140. That equality helps expose an omitted row or duplicated invoice in this simplified model. It does not prove that every payment belongs to the correct invoice, so I retain checks at the individual document level too.

I inspect payment identifiers separately. The same record entering an export twice could inflate the payment total. Deleting two equal amounts without investigation would be risky as well: A’s two PLN 20 payments are legitimate separate events. I need an event identifier and knowledge of the source. Matching amounts and dates alone do not establish that one record can be safely discarded. This is another place where process knowledge improves the interpretation of a technical check.

I also inspect payments assigned to unknown invoices, missing dates and mixed currencies. Each exception gets a visible investigation list. I do not bury it under “other” if it affects the main result. In your first exercise, add one deliberately invalid record and explain why it cannot be reconciled honestly. That demonstrates more judgment than a report that assumes every field is perfect because the author has not considered how the calculation should behave otherwise.

Expand the example without hiding exceptions

Add a hypothetical payment to A dated November 1. The October report should retain A’s earlier balance because the new payment falls outside its scope. A report for a later date can show a different state. If the historical result changes merely because you refreshed today’s document status, you lack the appropriate basis for reconstructing the past. Discuss event history before expanding the project; otherwise, increasingly elaborate calculations may rest on an unsuitable source.

A second variation is a payment larger than the invoice amount. The subtraction may then become negative. I do not automatically replace that result with zero to improve the total’s appearance or offset another invoice without agreement. I flag it for investigation. This exercise does not build a complete overpayment allocation system. It shows that the rule has a boundary and that the author can identify it rather than quietly change the meaning of the reported balance.

A third variation introduces a credit note. Simply adding it as another positive invoice can distort the result. Before expanding the project, establish its link to the original document, its sign and the date when the change applies. You do not need to solve that in version one. You do need to state that credit notes are outside the current scope. This helps a reader distinguish a demonstration of analytical skills from a finished report covering every accounting situation.

Translate the table into a short message

The first view needs a snapshot date, open balance, past-due balance and the documents requiring investigation. An additional chart should answer a specific question, such as how balances are distributed across due dates. I do not add one simply to make a portfolio look more analytical. With three invoices, a table lets the reader trace the entire story. An elaborate visualization might merely hide how small and deliberately simplified this synthetic dataset actually is.

A message could say: at October close, two invoices have a combined positive balance of PLN 140; A accounts for PLN 60 past due under the stated rule. The next step is to check A’s payment assignments with the reconciliation owner. I add that the example excludes credit notes and multiple currencies. This separates the finding, proposed action and limitations. The recipient can immediately assess whether the information addresses the question they wanted the project to answer.

I do not call all PLN 140 overdue because B is still before its deadline. Nor do I say the company has lost that amount or will definitely receive it next month. An outstanding balance supports neither claim. These small wording choices show whether the author understands the report. The tool will display whatever label you enter. The project must ensure that the label agrees with the meaning of the data and the calculations supporting it.

Make the project understandable at the next reading

Record both the snapshot date and the report preparation date. A report prepared in November may describe October close. These dates have different meanings and both can matter to interpretation. A filename ending in “final” does not explain the distinction. At each refresh, check whether only the snapshot changed or whether the source and rules changed too. Name differences in definitions before interpreting a trend across periods that may no longer be directly comparable.

Return to the same three invoices after a few days and recreate the result using only your description. Can you identify the included payments? Can you find an excluded document? Could another person recognize which amount should be summed? If the answers depend on your memory, improve the instructions. Repeatability begins with clear assumptions and organized data. Automating further steps makes more sense once that foundation is understandable to someone who was not present when you built the first version.

Show your own decisions in a portfolio

Begin with the question and scope, then show the model and the check for one document. Explain why you summarize payments before comparing them with invoices. Include a date boundary and an unresolved exception. This lets a reviewer ask about concrete decisions. A screenshot containing a balance does not yet show whether you can independently produce a reliable result when the data changes. Your explanation should make the reasoning inspectable without requiring access to the original working session.

Use invented documents and amounts in a public portfolio. Removing a customer’s name does not automatically make a company export suitable for publication. Real records are unnecessary here. Three synthetic invoices can demonstrate partial payment, no payment and a deadline boundary. Your process knowledge helps design a meaningful example without moving an employer’s documents into a personal project. It also lets you choose a small dataset whose behavior you can explain fully.

Ask another person to challenge one rule. What changes after adding a payment with a later date? How do you identify a missing due date? Where does a repeated identifier appear? If answering requires expanding the scope, record that openly. You do not need to pretend to have built a complete finance system. It is useful to demonstrate that you understand the dependencies and can explain what your solution does not yet support.

Choose the next skill from the work itself

After completing the project, identify the hardest stage. If organizing exports was difficult, choose data preparation practice. If the invoice-payment relationship caused trouble, focus on modeling and joins. If the result was correct but hard to explain, practice a short message for a reader. Choose another tool in response to an identified need. Adding SQL and Power BI to a finance background does not automatically demonstrate that you can complete these tasks confidently.

You can now recreate the same project in another tool and compare results under identical definitions. Avoid changing the data, dates and rules simultaneously because disagreements become harder to explain. For planning and variance analysis, see the accounting and controlling project. For a general structure, continue with planning an analytical project. In both cases, start with a question you can write down clearly and a result you can trace to its source.

Key takeaways

Does a finance role automatically qualify me as a data analyst?

Process knowledge can help, but you also need to demonstrate data preparation, result checks and communication of limitations. A job title alone does not establish these skills.

Why not join invoices directly to all payments?

An invoice can have several payments. Joining them repeats its invoice amount across rows and can inflate the sum.

Does this report show the accounting carrying amount of receivables?

No. It is a simplified exercise using synthetic invoices and assigned payments. It does not cover valuation, allowances or a complete accounting reconciliation.

AI was used in an automated way while working on this article. If you want to learn how to do it too, check out this project.

Kajo Rudziński

Newsletter KajoData

Let’s keep in touch.

I write about data analysis, learning and changing careers. My newsletter and the sign-up form are in Polish. If that works for you, I’d be glad to see you there.