2
Home
samantha edited this page 2026-03-21 07:23:52 +00:00

FP&A Engine — Wiki

A REST API for corporate budget management, actuals ingestion, and variance reporting. Built to replace the manual Excel workflows that FP&A teams run every month.


Pages


What Is This?

Every month, finance teams export actuals from their ERP, paste them into spreadsheets, and manually calculate budget vs. actual variances by department and GL account. It's slow, error-prone, and breaks the moment someone touches the wrong cell.

The FP&A Engine moves that logic into a versioned, auditable API. Budget data lives in a structured schema. Actuals are ingested on demand. Variance reports — with favourability flags, percentage deltas, and absolute figures — are available instantly for any department, fiscal period, or budget version.


Quick Start

git clone https://git.samantha42.xyz/samantha/FPandA-Engine
cd FPandA-Engine
cp .env.example .env
go mod tidy
go run ./main.go
# API on http://localhost:8080
# fpa.db created automatically on first run

Tech Stack

Layer Choice
Language Go
Routing net/http stdlib (Go 1.22+)
Database SQLite via modernc.org/sqlite
Schema Auto-migrated on startup