Get a PDF of an invoice
documentedRetrieve the PDF for an invoice.
POST /api/v3/invoice/{invoice_id}/_action/pdfInvoicesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$site_domain}}.chargeover.com/api/v3/invoice/{{$invoice_id}}/_action/pdf" \
-X POST \
-H "Authorization: Basic $(echo -n '{{CHARGEOVER_API_KEY}}:{{CHARGEOVER_SECRET}}' | base64)" \
-H "Content-Type: application/json" \
-H "Accept: application/pdf" \
-d '{"include_header": {{$include_header}}, "page_size": "{{$page_size}}", "format": "{{$format}}"}'