---
title: "Get a deal receipt / statement"
method: GET
path: "/api/deals/{id}/invoice"
tags: ["Marketplace"]
---

# Get a deal receipt / statement

`GET /api/deals/{id}/invoice`

## Request

- Base URL: `https://domani.run`
- URL: `https://domani.run/api/deals/{id}/invoice`
- Auth: HTTP bearer

Returns a role-aware invoice for a marketplace deal. Buyers get a purchase receipt; sellers get a statement showing the sale, the platform commission line, and the net payout. Works for every payment method (card/USDC/balance). Requires `deals:read` scope.

## Path parameters

- `id` string, required

## Response `200`

Deal invoice

- object
  - `invoice` DealInvoice: A role-aware receipt (buyer) or statement (seller) for a marketplace deal
    - `deal_id` string
    - `domain` string
    - `date` string, date-time
    - `status` string
    - `your_role` 'buyer' | 'seller'
    - `currency` string
    - `line_items` object[]
      - `description` string
      - `amount` number: USD; negative for deductions like commission
    - `total` number: Buyer: amount paid. Seller: net payout after commission.
    - `commission_rate` number: Platform commission percent
    - `commission_amount` number: Platform commission in USD
    - `payment_method` string: Buyer only
    - `payout_method` 'bank' | 'balance': Seller only
    - `payout_status` 'paid' | 'credited' | 'pending': Seller only

## Other responses

- `401`: Missing or invalid API key
- `404`: Not found
- `429`: Rate limit exceeded - wait and retry

---

[API](https://skmtc.dev/domani/apis/domani-run-api.md) · [All operations](https://skmtc.dev/domani/apis/domani-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/domani/apis/domani-run-api/revisions/7679f8159533?raw)
