fgo-invoicing
Installation
SKILL.md
FGO Invoicing
Use scripts/fgo_cli.py for deterministic FGO API calls instead of ad-hoc HTTP snippets.
Workflow
- Collect invoice input from the user.
- Validate payload locally before sending:
python scripts/fgo_cli.py validate-payload --input references/invoice-example.json --show-payload
- Dry-run to inspect the normalized payload (with computed Hash) without calling the API:
python scripts/fgo_cli.py emit-invoice --input <invoice.json> --dry-run
- Issue final invoice after explicit user confirmation:
python scripts/fgo_cli.py emit-invoice --input <invoice.json> --allow-final
- Retrieve invoice status, print link, or perform operations using the returned series and number:
python scripts/fgo_cli.py get-status --serie <SERIE> --numar <NUMAR>python scripts/fgo_cli.py print-invoice --serie <SERIE> --numar <NUMAR>python scripts/fgo_cli.py cancel-invoice --serie <SERIE> --numar <NUMAR>python scripts/fgo_cli.py reverse-invoice --serie <SERIE> --numar <NUMAR>