Use this skill when converting legacy CSV exports from the Northstar billing system into normalized JSON invoices.
Install
npx skillscat add itzikiusa/otto-os/missing-evals-skill Install via the SkillsCat registry.
SKILL.md
Northstar CSV to JSON
- Read the CSV.
- Map
cust_idtocustomer.id. - Map
gross_centstoinvoice.gross.amount_cents. - Emit one JSON file per invoice.
Gotchas
gross_centscan be negative for refunds.- Empty
tax_codemeans exempt, not unknown.
Example
Input row:
cust_id,invoice_id,gross_cents,tax_code
C-1,INV-9,-1200,Output shape:
{"customer":{"id":"C-1"},"invoice":{"id":"INV-9","gross":{"amount_cents":-1200},"tax":{"status":"exempt"}}}