# Get a generation or run billing receipt

> Returns a billing receipt. Pass generation_id for a per-generation receipt, or orchestration_run_id for a per-run receipt summed across the orchestration run's meters — both share the same shape (per-model line items with tokens, the price-book version that priced them, and cost, plus totals). Exactly one of generation_id or orchestration_run_id must be supplied.

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Get a generation or run billing receipt"}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/api/v1/usage/receipt"}
  context={"endpoint"}
>
  
</MethodEndpoint>

Returns a billing receipt. Pass generation_id for a per-generation receipt, or orchestration_run_id for a per-run receipt summed across the orchestration run's meters — both share the same shape (per-model line items with tokens, the price-book version that priced them, and cost, plus totals). Exactly one of generation_id or orchestration_run_id must be supplied.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails
  {...require("./get-usage-receipt.ParamsDetails.json")}
>
  
</ParamsDetails>

<RequestSchema
  {...require("./get-usage-receipt.RequestSchema.json")}
>
  
</RequestSchema>

<StatusCodes
  {...require("./get-usage-receipt.StatusCodes.json")}
>
  
</StatusCodes>
