> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whop.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages.
> MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md
> Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Overview: https://docs.whop.com/cli/overview.md Agent mode: https://docs.whop.com/cli/agent-mode.md
> Hosting: Whop serves a site or app from the build `whop apps deploy` uploads, with rollbacks, secrets, and server logs. Guide: https://docs.whop.com/developer/websites/hosting.md
> Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Guide: https://docs.whop.com/developer/guides/plugins/claude-code.md Every agent tool: https://docs.whop.com/developer/ai/overview.md
> Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Sandbox guide: https://docs.whop.com/developer/guides/sandbox.md Comparison: https://docs.whop.com/developer/quickstart.md
> API: send `Authorization: Bearer <API_KEY>` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json
> Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only.

# Legacy Invoice

> 인보이스는 회사가 특정 제품 및 플랜에 대해 고객에게 보내는 항목별 청구서로, 청구 금액, 지불 기한, 결제 상태를 추적합니다.

> [!NOTE]
>
> 이 리소스에는 [Whop API](https://docs.whop.com/ko/api-reference/legacy/invoices/list-invoices.md)에 후속 리소스가 있습니다. `Api-Version-Date: 2026-10-24` 이상으로 `/invoices`에 보내는 요청은 네이티브 인보이스에 도달하며, 이는 [인보이스 가이드](https://docs.whop.com/ko/developer/guides/invoices.md)에서 다룹니다. 이 페이지는 계속 완전히 지원됩니다.

```json Example theme={null}
{
	"automatically_finalizes_at": "2023-12-01T05:00:00.401Z",
	"charge_buyer_fee": true,
	"collection_method": "send_invoice",
	"company": {
		"id": "biz_xxxxxxxxxxxxxx",
		"logo": {
			"url": "https://media.whop.com/abc123/optimized.jpg"
		},
		"title": "Pickaxe"
	},
	"created_at": "2023-12-01T05:00:00.401Z",
	"current_plan": {
		"billing_period": 42,
		"currency": "usd",
		"description": "Monthly access to all premium analytics dashboards and data exports.",
		"formatted_price": "$10.00",
		"id": "plan_xxxxxxxxxxxxx",
		"initial_price": 6.9,
		"plan_type": "renewal",
		"renewal_price": 6.9,
		"trial_period_days": 42
	},
	"customer_name": "Jane Doe",
	"due_date": "2023-12-01T05:00:00.401Z",
	"email_address": "customer@example.com",
	"fetch_invoice_token": "eyJhbGciOiJIUzI1NiJ9...",
	"id": "inv_xxxxxxxxxxxxxx",
	"line_items": [
		{
			"label": "Platform subscription",
			"position": 42,
			"quantity": 6.9,
			"total": 6.9,
			"unit_price": 6.9
		}
	],
	"mailing_address": {
		"city": "<string>",
		"country": "<string>",
		"line1": "<string>",
		"line2": "<string>",
		"name": "<string>",
		"phone": "<string>",
		"postal_code": "<string>",
		"state": "<string>"
	},
	"member": {
		"id": "<string>"
	},
	"number": "#0001",
	"pay_online_url": "<string>",
	"payment": {
		"id": "pay_xxxxxxxxxxxxxx"
	},
	"payment_processing": true,
	"product": {
		"id": "prod_xxxxxxxxxxxxx",
		"title": "Pickaxe Analytics"
	},
	"status": "draft",
	"subscription_billing_anchor_at": "2023-12-01T05:00:00.401Z",
	"updated_at": "2023-12-01T05:00:00.401Z",
	"user": {
		"email": "john.doe@example.com",
		"id": "user_xxxxxxxxxxxxx",
		"name": "John Doe",
		"username": "johndoe42"
	}
}
```

**automatically\_finalizes\_at** `string\<date-time\> | null` *required*

인보이스가 자동으로 확정될 날짜와 시간입니다. charge\_automatically의 경우 자동 청구가 트리거됩니다. send\_invoice의 경우 지정된 시간에 인보이스 이메일이 발송됩니다.

예시: `2023-12-01T05:00:00.401Z`

**charge\_buyer\_fee** `boolean` *required*

인보이스에 플랜 가격 외에 구매자 처리 수수료가 포함되는지 여부입니다.

**collection\_method** `InvoiceCollectionMethods` *required*

이 인보이스의 결제를 수금하는 방식입니다(예: 자동 청구 또는 수동 결제).

사용 가능한 옵션: `send_invoice`, `charge_automatically`

**company** `object` *required*

이 인보이스를 발행한 회사입니다.

**하위 속성**

**id** `string` *required*

회사의 고유 식별자입니다.

예시: `biz_xxxxxxxxxxxxxx`

**logo** `object | null` *required*

회사의 로고입니다.

**하위 속성**

**url** `string | null` *required*

클라이언트에서 이 첨부 파일을 렌더링하기 위해 미리 최적화된 URL입니다. 앱에서 첨부 파일을 표시할 때 사용해야 합니다.

예시: `https://media.whop.com/abc123/optimized.jpg`

**title** `string` *required*

고객에게 표시되는 회사의 표시 이름입니다.

예시: `Pickaxe`

**created\_at** `string\<date-time\>` *required*

인보이스가 생성된 일시입니다.

예시: `2023-12-01T05:00:00.401Z`

**current\_plan** `object` *required*

이 인보이스가 청구하는 플랜입니다.

**하위 속성**

**billing\_period** `integer | null` *required*

반복 청구 사이의 일수입니다(예: 월간은 30, 연간은 365). 일회성 플랜의 경우 `null`입니다.

예시: `42`

**currency** `Currencies` *required*

이 플랜의 모든 가격에 사용되는 통화입니다(예: 'usd', 'eur'). 플랜의 모든 금액은 이 통화로 표시됩니다.

사용 가능한 옵션: `usd`, `sgd`, `inr`, `aud`, `brl`, `cad`, `dkk`, `eur`, `nok`, `gbp`, `sek`, `chf`, `hkd`, `huf`, `jpy`, `mxn`, `myr`, `pln`, `czk`, `nzd`, `aed`, `eth`, `ape`, `cop`, `ron`, `thb`, `bgn`, `idr`, `dop`, `php`, `try`, `krw`, `twd`, `vnd`, `pkr`, `clp`, `uyu`, `ars`, `zar`, `dzd`, `tnd`, `mad`, `kes`, `kwd`, `jod`, `all`, `xcd`, `amd`, `bsd`, `bhd`, `bob`, `bam`, `khr`, `crc`, `xof`, `egp`, `etb`, `gmd`, `ghs`, `gtq`, `gyd`, `ils`, `jmd`, `mop`, `mga`, `mur`, `mdl`, `mnt`, `nad`, `ngn`, `mkd`, `omr`, `pyg`, `pen`, `qar`, `rwf`, `sar`, `rsd`, `lkr`, `tzs`, `ttd`, `uzs`, `rub`, `btc`, `cny`, `usdt`, `kzt`, `awg`, `whop_usd`, `xau`, `hnl`

**description** `string | null` *required*

고객에게 표시되는 플랜의 텍스트 설명입니다. 최대 1000자입니다. 설명이 설정되지 않은 경우 Null입니다.

예시: `Monthly access to all premium analytics dashboards and da…`

**formatted\_price** `string` *required*

플랜의 서식이 지정된 가격(통화 포함)입니다.

예시: `$10.00`

**id** `string` *required*

플랜의 고유 식별자입니다.

예시: `plan_xxxxxxxxxxxxx`

**initial\_price** `number` *required*

플랜의 base\_currency 기준 최초 구매 가격입니다(예: \$49.99의 경우 49.99). 일회성 플랜의 경우 전체 가격입니다. 갱신 플랜의 경우 첫 번째 renewal\_price에 추가로 청구됩니다.

예시: `6.9`

**plan\_type** `PlanTypes` *required*

이 플랜의 청구 모델입니다. 반복 구독은 'renewal', 단일 결제는 'one\_time'입니다.

사용 가능한 옵션: `renewal`, `one_time`

**renewal\_price** `number` *required*

플랜의 base\_currency 기준으로 billing\_period마다 청구되는 반복 가격입니다(예: \$9.99/기간의 경우 9.99). 일회성 플랜의 경우 0입니다.

예시: `6.9`

**trial\_period\_days** `integer | null` *required*

첫 갱신 청구 전 무료 체험 일수입니다. 체험이 구성되지 않았거나 사용자가 이 플랜의 체험을 이미 사용한 경우 `null`입니다.

예시: `42`

**customer\_name** `string | null` *required*

이 인보이스의 수신 고객 전체 이름입니다. 등록된 이름이 없는 경우 Null입니다.

예시: `Jane Doe`

**due\_date** `string\<date-time\> | null` *required*

결제가 예상되는 마감 기한입니다. 인보이스가 자동으로 수금되는 경우 Null입니다.

예시: `2023-12-01T05:00:00.401Z`

**email\_address** `string | null` *required*

이 인보이스의 수신 고객 이메일 주소입니다. 등록된 이메일이 없는 경우 Null입니다.

예시: `customer@example.com`

**fetch\_invoice\_token** `string` *required*

인증 없이 인보이스 데이터를 공개적으로 가져올 수 있게 해 주는 서명된 토큰입니다.

예시: `eyJhbGciOiJIUzI1NiJ9...`

**id** `string` *required*

인보이스의 고유 식별자입니다.

예시: `inv_xxxxxxxxxxxxxx`

**line\_items** `array\<object\>` *required*

인보이스 총액을 개별 청구 항목으로 나누는 선택적 라인 아이템입니다.

**하위 속성**

**label** `string` *required*

이 라인 아이템의 레이블 또는 설명입니다.

예시: `Platform subscription`

**position** `integer` *required*

인보이스 내에서 이 라인 아이템의 표시 순서입니다.

예시: `42`

**quantity** `number` *required*

이 라인 아이템의 수량입니다.

예시: `6.9`

**total** `number` *required*

이 라인 아이템의 계산된 합계입니다(quantity \* unit\_price).

예시: `6.9`

**unit\_price** `number` *required*

이 라인 아이템의 단가입니다. 크레딧 또는 공제의 경우 음수입니다.

예시: `6.9`

**mailing\_address** `object | null` *required*

이 인보이스와 연결된 청구/우편 주소로, 생성 시 제공된 경우에 해당합니다.

**하위 속성**

**city** `string | null` *required*

주소의 도시입니다.

**country** `string | null` *required*

주소의 국가입니다.

**line1** `string | null` *required*

주소의 첫 번째 줄입니다.

**line2** `string | null` *required*

주소의 두 번째 줄입니다.

**name** `string | null` *required*

고객의 이름입니다.

**phone** `string | null` *required*

고객의 전화번호입니다.

**postal\_code** `string | null` *required*

주소의 우편번호입니다.

**state** `string | null` *required*

주소의 주(州)입니다.

**member** `object | null` *required*

인보이스가 생성된 대상 회원입니다. 인보이스가 회원 기록이 없는 이메일 주소로 발송된 경우 Null입니다.

**하위 속성**

**id** `string` *required*

회사 회원의 고유 식별자입니다.

**number** `string` *required*

표시용 순차 인보이스 번호입니다.

예시: `#0001`

**pay\_online\_url** `string | null` *required*

고객이 이 인보이스를 온라인으로 결제할 수 있는 체크아웃 URL로, 고객의 이메일 주소가 미리 입력되어 고정됩니다.

**payment** `object | null` *required*

이 인보이스를 정산한 결제입니다. 인보이스가 미결제 상태이거나, 수동으로 결제 완료 처리되었거나, 정산 결제를 아직 식별할 수 없는 구독 갱신 인보이스인 경우 Null입니다.

**하위 속성**

**id** `string` *required*

결제의 고유 식별자입니다.

예시: `pay_xxxxxxxxxxxxxx`

**payment\_processing** `boolean` *required*

이 인보이스의 결제가 아직 처리 중인지 여부입니다. ACH 또는 SEPA와 같은 지연 결제 수단이 정산되는 동안 true이며, 이 기간 동안 인보이스는 열린 상태로 유지되고 연체로 표시되지 않습니다.

**product** `object` *required*

이 인보이스가 생성된 제품입니다.

**하위 속성**

**id** `string` *required*

제품의 고유 식별자입니다.

예시: `prod_xxxxxxxxxxxxx`

**title** `string` *required*

제품 페이지와 검색 결과에서 고객에게 표시되는 제품의 표시 이름입니다.

예시: `Pickaxe Analytics`

**status** `InvoiceStatuses` *required*

인보이스의 현재 결제 상태입니다(예: draft, open, paid, void).

사용 가능한 옵션: `draft`, `open`, `paid`, `past_due`, `uncollectible`, `void`

**subscription\_billing\_anchor\_at** `string\<date-time\> | null` *required*

구독 청구 주기의 시작 시점을 정의하는 날짜입니다. 갱신 플랜 인보이스에 설정되면 이후의 모든 청구 기간이 이 날짜를 기준으로 합니다.

예시: `2023-12-01T05:00:00.401Z`

**updated\_at** `string\<date-time\>` *required*

인보이스가 마지막으로 업데이트된 일시입니다.

예시: `2023-12-01T05:00:00.401Z`

**user** `object | null` *required*

이 인보이스의 수신 사용자입니다. 사용자 계정이 삭제된 경우 Null입니다.

**하위 속성**

**email** `string | null` *required*

사용자의 이메일 주소입니다. 접근하려면 member:email:read 권한이 필요합니다. 권한이 없으면 Null입니다.

예시: `john.doe@example.com`

**id** `string` *required*

사용자의 고유 식별자입니다.

예시: `user_xxxxxxxxxxxxx`

**name** `string | null` *required*

공개 프로필에 표시되는 사용자의 표시 이름입니다.

예시: `John Doe`

**username** `string` *required*

공개 프로필에 표시되는 사용자의 고유한 사용자 이름입니다.

예시: `johndoe42`


## Related topics

- [List Invoices](https://docs.whop.com/ko/api-reference/invoices/list-invoices.md)
- [인보이스](https://docs.whop.com/ko/developer/guides/invoices.md)
- [List Variants](https://docs.whop.com/ko/api-reference/variants/list-variants.md)
