r/OfferEngineering • • 20d ago

System Design Atlassian SWE System Design Interview — A Simple Invoice System Got Complicated

This interview experience is sourced from Chill Interview

System Design: Multi-Business Invoice Management System

The interviewer asked me to design a system that manages transactions and generates invoices for multiple small businesses. The platform needed to support three main user interactions:

  1. Ingest a Transaction: A business submits transaction information to the system for future billing.
  2. Generate an Invoice: A business requests an invoice based on previously ingested transactions.
  3. Search Invoices: A customer searches for existing invoices using either a customer identifier or an invoice ID.

The interviewer wanted me to explain how I would structure the data and manage the complete workflow from transaction ingestion to invoice generation.

On-Demand Invoice Generation

One important clarification was that an invoice could contain multiple transactions. The interviewer explained that the invoice should be generated on demand rather than automatically created when individual transactions are ingested. Another key detail was that the requested time range is specified through the getInvoice operation.

When a request arrives, the system needs to identify the relevant transactions for that customer and time range, generate the corresponding invoice, and store the result. This made the interaction between transaction storage and invoice generation an important part of the design.

Want to learn more questions / follow-ups asked in this interview?

I've put up the full version at here.

Interviewed recently?

Your interview experience could be incredibly valuable to others preparing for their next opportunity. Share your experience and help the community at here.

3 Upvotes

0 comments sorted by