Accounting & Engineering

From Invoice to General Ledger in AccountGo

See how a sample invoice and payment flow through the general ledger and trial balance in AccountGo's open-source accounting app.

  • Open Source
  • Double-Entry Accounting
  • Invoicing
  • .NET
Share this article
Share on X Share on LinkedIn

What happens in the books after you issue an invoice and record a payment? In this walkthrough, we follow one fictional $1,000 invoice through AccountGo's sales screen, general ledger, and trial balance. You can inspect the open-source project on GitHub and reproduce the example locally.

The example uses a disposable local Community workspace, a fictional client, USD, and no tax. It records a sample payment; no real money moves.

A local walkthrough using fictional sample data. The video has no audio.

1. Issue an invoice

In Invoices & Sales, choose New invoice. Add a client, enter a description and price, then select Save & issue. We issued invoice #1 to Northstar Sample Co for $1,000 of website design services.

The issued sample invoice showing a $1,000 balance due
The fictional invoice is open with $1,000 due.

Issuing the invoice creates a balanced sales invoice transaction. In our workspace, the ledger shows:

AccountDebitCredit
10120 Accounts Receivable$1,000—
40100 Sales A/C—$1,000

Receivables represent the amount owed by the client; sales records the income for this example.

2. Record the payment

Open the invoice and choose Record payment. Select Regular Checking Account, enter the payment amount and date, and confirm. We recorded the full $1,000. The invoice then showed Paid and a zero balance due.

The sample invoice marked paid with zero balance due
The fictional payment settles the invoice.

The corresponding sales receipt transaction in the general ledger is:

AccountDebitCredit
10111 Regular Checking Account$1,000—
10120 Accounts Receivable—$1,000

The payment increases checking and clears the receivable. This example records a payment in the books; it is not a bank transfer or a payment-processing demonstration.

3. Trace the postings and check the trial balance

Open General Ledger and expand the sales invoice and sales receipt transactions to see their account lines. Each transaction has equal debits and credits.

The general ledger showing the sales invoice account lines
The invoice has balanced account lines; expand the receipt to inspect its lines too.

Then open Reports → Trial Balance for the relevant period. In our otherwise empty sample workspace, the accrual-basis trial balance shows a $1,000 debit in checking and a $1,000 credit in sales. The total difference is $0. Receivables net to zero after full payment and are hidden by the report's zero-balance filter.

Trial balance showing matching $1,000 debit and credit totals
The sample trial balance is in balance after payment.

Try it locally

The AccountGo README includes a coding-agent quick start and links to manual local development instructions. In the local setup used here, we created a Community workspace, granted the workspace owner operational access, and entered the sample data ourselves. A new workspace did not automatically contain this example.

Explore the source code on GitHub. If AccountGo is useful to you, consider starring the repository and sharing feedback about your setup experience.

For developers, explore the sales API, financials API, and sales invoice model.

ACCOUNTGO CLOUD

Keep your books balanced and ready for AI workflows

Start free with Invoicing & Bills or Accounting. No credit card required, open-source core, and CSV exports anytime.

More articles

AI & Architecture

Ask AI About Your Books Without Exposing Clients

How AccountGo's read-only AI accounting assistant answers questions about your books while keeping client, vendor, and bank details inside your workspace.