---
title: "GitHub accounting and bookkeeping"
description: "Where code lives, including the finance scripts only one engineer can read."
canonical: "https://lopifi.com/integrations/github"
---

# GitHub accounting and bookkeeping

> Where code lives, including the finance scripts only one engineer can read.

Source: https://lopifi.com/integrations/github
Part of: Lopifi — Your VC tech stack partner (https://lopifi.com)

---

- **Section:** AI and code
- **Reference:** Code

## What it means

GitHub matters to the books because of what some of the code in it does. A script that categorizes transactions, matches payments or prepares entries is making accounting decisions, whoever wrote it.

A line that sends every AWS charge to Hosting is a decision about the chart of accounts. If it only exists in code, your CPA can't review it, and when the engineer who wrote it leaves, nobody knows why the books look the way they do.

Write the rule down in plain words where your CPA can read it, and keep the code doing exactly that. Commit history shows when a rule changed. It doesn't explain the accounting reason, so record the reason and the date the change takes effect. A new rule applies from that date forward. Past months are corrected with entries in the open month.

Check what the script did before you close: its totals by account against the ledger, and the list of transactions it couldn't categorize. Make sure nothing reruns over closed months. A closing date with a password in QuickBooks Online, or a lock date in Xero, stops a script from quietly rewriting them.

A period lock stops a script from rewriting a reported month the same way it stops a person. Write the rule itself in Notion, where your CPA can read it. Cursor is often where the script began.

**Why it matters.** A script that categorizes transactions is an accounting policy with no owner. Policies belong somewhere your CPA can read and sign off on them.

GitHub isn't a ledger. This page covers how it shows up in books kept in QuickBooks Online or Xero.

## Common questions

### Is it okay to automate categorizing transactions?

Yes, as long as the rules are written down as policy, reviewed by your CPA and applied the same way every month.

### What if a script miscategorized past months?

Fix it with entries in the current open month instead of rewriting closed periods, and note what was wrong and why.

### Where should transaction categorization rules be documented?

In plain words, somewhere your CPA can read and approve them, with the date each rule took effect. The code should follow the written rule, not the other way round.

## Read further

- [Can you vibe code your startup’s accounting?](https://lopifi.com/md/startups/vibe-coding-your-accounting) (Founder guide · 3 min): AI coding tools build a finance dashboard in an afternoon, but not a closed, reconciled, GAAP-basis ledger. Where the line is, and how to stay inside it.
- [General ledger and double-entry bookkeeping, explained](https://lopifi.com/md/startups/general-ledger-and-double-entry) (Founder guide · 6 min): How double entry works: journal entries, debits and credits, normal balances, running balances, the trial balance, and why posted entries are reversed.
- [Cursor](https://lopifi.com/md/integrations/cursor) (Related · Vibe-coded finance)
- [CPA check](https://lopifi.com/md/accounting/cpa-review) (Related · Control · Quarterly)
- [Reversals](https://lopifi.com/md/accounting/reversal) (Related · Control)

- **Previous:** [Claude](https://lopifi.com/md/integrations/claude)
- **Next:** [Visa](https://lopifi.com/md/integrations/visa)

*General information, not tax, legal or accounting advice. Check with a CPA before you act on it.*
