Skip to main content
GET
Download the self-billed invoice
Check canDownloadSelfBill in List payouts first. A payout of platform fees only, or a payout that failed or came back, has no self-billed invoice and returns 400.
For a platform: send the business’s id in the AgentaOS-Account header.
Webhook: none.

Authorizations

x-api-key
string
header
required

Your secret key, from app.agentaos.ai -> Settings -> Developers -> API Keys. The key's prefix is both its identity and its environment: sk_test_... (sandbox, free, no verification) or sk_live_... (real money, requires business verification). A missing or invalid key returns 401.

Path Parameters

id
string<uuid>
required

The payout id, from GET /gateway/mor-settlements.

Response

The self-billed invoice PDF.

The response is of type file.