download-platform-invoiceslisted
Install: claude install-skill HybridAIOne/hybridclaw
# Download Platform Invoices
Use this skill when the user wants monthly SaaS invoice PDFs collected from
billing portals or billing APIs for bookkeeping handoff.
## Output Contract
Each fetched invoice must produce one normalized JSON record and the original
official PDF. The record shape is:
```json
{
"vendor": "openai",
"invoice_no": "E-2026-03-001",
"period": "2026-03",
"issue_date": "2026-04-01",
"due_date": "2026-04-15",
"net": 123.45,
"vat_rate": 0.19,
"vat": 23.45,
"gross": 146.9,
"currency": "EUR",
"pdf_path": "runs/2026-03/openai/E-2026-03-001.pdf",
"source_url": "https://platform.openai.com/account/billing",
"checksum_sha256": "64 lowercase hex characters"
}
```
Validate records with the colocated `schema.json` contract. Keep `pdf_path`
relative to the invoice run directory.
## Adapter Contract
Adapters follow this shape:
```ts
login(credentials) -> session
listInvoices(session, { since }) -> InvoiceMeta[]
download(session, invoice) -> Uint8Array
```
The runtime implementation is colocated with this skill:
- Stripe API adapter
- browser-driver scrape adapters for GitHub, OpenAI, Anthropic, Atlassian,
and LinkedIn
- native API adapters for Google Ads InvoiceService, AWS Invoicing, Azure
Billing invoices, and GCP Cloud Billing account authorization. Google does
not expose invoice PDF listing/download in the public Cloud Billing REST API,
so the GCP adapter uses the browser document driver for the Documents page
after API a