usage

Preview invoice for an org+period.

Creates no invoice and deducts no credits, but does backfill missing UsageSummary rows for the usage period. Open to staff so the admin's read-only Generate Invoice page can show what would be billed.

post/usage/admin/invoice/preview/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/usage/admin/invoice/preview/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Request body

organization_idstring uuid required
periodstring required

Response

OK

statusboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.