> ## 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.

# Eski Fatura

> Fatura, bir şirketin belirli bir ürün ve plan için müşteriye gönderdiği ayrıntılı bir hesap dökümünü temsil eder; borçlu olunan tutarı, son ödeme tarihini ve ödeme durumunu takip eder.

> [!NOTE]
>
> Bu kaynağın [Whop API](https://docs.whop.com/tr/api-reference/legacy/invoices/list-invoices.md) içinde bir halefi vardır: `Api-Version-Date: 2026-10-24` veya daha sonraki bir değerle `/invoices` adresine yapılan istekler, [Faturalar kılavuzunda](https://docs.whop.com/tr/developer/guides/invoices.md) ele alınan yerel faturalara ulaşır. Bu sayfa tam olarak desteklenmeye devam eder.

```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*

Faturanın otomatik olarak kesinleştirileceği tarih ve saat. charge\_automatically için otomatik bir tahsilatı tetikler. send\_invoice için fatura e-postasını belirtilen zamanda gönderir.

Örnek: `2023-12-01T05:00:00.401Z`

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

Faturanın plan fiyatının üzerine bir alıcı işlem ücreti içerip içermediği.

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

Bu fatura için ödemeyi tahsil etmek amacıyla kullanılan yöntem; örneğin otomatik tahsilat veya manuel ödeme.

Kullanılabilir seçenekler: `send_invoice`, `charge_automatically`

**company** `object` *required*

Bu faturayı düzenleyen şirket.

**alt öznitelikler**

**id** `string` *required*

Şirketin benzersiz tanımlayıcısı.

Örnek: `biz_xxxxxxxxxxxxxx`

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

Şirketin logosu.

**alt öznitelikler**

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

Bu eki istemcide görüntülemek için önceden optimize edilmiş bir URL. Uygulamalarda ekleri görüntülemek için bu kullanılmalıdır.

Örnek: `https://media.whop.com/abc123/optimized.jpg`

**title** `string` *required*

Şirketin müşterilere gösterilen görünen adı.

Örnek: `Pickaxe`

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

Faturanın oluşturulduğu tarih ve saat.

Örnek: `2023-12-01T05:00:00.401Z`

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

Bu faturanın ücretlendirdiği plan.

**alt öznitelikler**

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

Yinelenen ücretler arasındaki gün sayısı; örneğin aylık için 30 veya yıllık için 365. Tek seferlik planlar için `null`.

Örnek: `42`

**currency** `Currencies` *required*

Bu plandaki tüm fiyatlar için kullanılan para birimi (ör. 'usd', 'eur'). Plandaki tüm parasal tutarlar bu para birimi cinsindendir.

Kullanılabilir seçenekler: `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*

Müşterilere görünen planın metin açıklaması. En fazla 1000 karakter. Açıklama belirlenmemişse null.

Örnek: `Monthly access to all premium analytics dashboards and da…`

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

Planın biçimlendirilmiş fiyatı (para birimi dahil).

Örnek: `$10.00`

**id** `string` *required*

Planın benzersiz tanımlayıcısı.

Örnek: `plan_xxxxxxxxxxxxx`

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

Planın base\_currency cinsinden ilk satın alma fiyatı (ör. \$49.99 için 49.99). Tek seferlik planlar için bu tam fiyattır. Yenilemeli planlar için bu, ilk renewal\_price'ın üzerine ücretlendirilir.

Örnek: `6.9`

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

Bu planın faturalandırma modeli: yinelenen abonelikler için 'renewal' veya tek seferlik ödemeler için 'one\_time'.

Kullanılabilir seçenekler: `renewal`, `one_time`

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

Planın base\_currency cinsinden her billing\_period'da alınan yinelenen fiyat (ör. \$9.99/dönem için 9.99). Tek seferlik planlar için sıfır.

Örnek: `6.9`

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

İlk yenileme ücretinden önceki ücretsiz deneme günleri. Deneme yapılandırılmamışsa veya kullanıcı bu plan için denemeyi zaten kullandıysa `null`.

Örnek: `42`

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

Bu faturanın hitap ettiği müşterinin tam adı. Kayıtlı ad yoksa null.

Örnek: `Jane Doe`

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

Ödemenin beklendiği son tarih. Fatura otomatik olarak tahsil ediliyorsa null.

Örnek: `2023-12-01T05:00:00.401Z`

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

Bu faturanın hitap ettiği müşterinin e-posta adresi. Kayıtlı e-posta yoksa null.

Örnek: `customer@example.com`

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

Fatura verilerinin kimlik doğrulama olmadan herkese açık şekilde alınmasını sağlayan imzalı bir belirteç.

Örnek: `eyJhbGciOiJIUzI1NiJ9...`

**id** `string` *required*

Faturanın benzersiz tanımlayıcısı.

Örnek: `inv_xxxxxxxxxxxxxx`

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

Fatura toplamını tek tek ücretlere ayıran isteğe bağlı satır kalemleri.

**alt öznitelikler**

**label** `string` *required*

Bu satır kaleminin etiketi veya açıklaması.

Örnek: `Platform subscription`

**position** `integer` *required*

Bu satır kaleminin fatura içindeki görüntülenme sırası.

Örnek: `42`

**quantity** `number` *required*

Bu satır kaleminin miktarı.

Örnek: `6.9`

**total** `number` *required*

Bu satır kalemi için hesaplanan toplam (quantity \* unit\_price).

Örnek: `6.9`

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

Bu satır kaleminin birim fiyatı. Bir alacak veya kesinti için negatiftir.

Örnek: `6.9`

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

Oluşturma sırasında sağlandıysa, bu faturayla ilişkili fatura/posta adresi.

**alt öznitelikler**

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

Adresin şehri.

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

Adresin ülkesi.

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

Adresin 1. satırı.

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

Adresin 2. satırı.

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

Müşterinin adı.

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

Müşterinin telefon numarası.

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

Adresin posta kodu.

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

Adresin eyaleti.

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

Faturanın oluşturulduğu üye. Fatura arkasında üye kaydı olmayan bir e-posta adresine hitap ediyorsa null.

**alt öznitelikler**

**id** `string` *required*

Şirket üyesinin benzersiz tanımlayıcısı.

**number** `string` *required*

Görüntüleme amaçlı sıralı fatura numarası.

Örnek: `#0001`

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

Müşterinin bu faturayı çevrimiçi ödeyebileceği, e-posta adresinin önceden doldurulup kilitlendiği ödeme URL'si.

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

Bu faturayı kapatan ödeme. Fatura ödenmemişken, fatura manuel olarak ödendi olarak işaretlendiğinde ve kapatan ödemenin henüz tanımlanamadığı abonelik yenileme faturalarında null.

**alt öznitelikler**

**id** `string` *required*

Ödemenin benzersiz tanımlayıcısı.

Örnek: `pay_xxxxxxxxxxxxxx`

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

Bu faturadaki bir ödemenin hâlâ işlenmekte olup olmadığı. ACH veya SEPA gibi gecikmeli bir ödeme yöntemi tamamlanırken true olur; bu süre boyunca fatura açık kalır ve vadesi geçmiş olarak işaretlenmez.

**product** `object` *required*

Bu faturanın oluşturulduğu ürün.

**alt öznitelikler**

**id** `string` *required*

Ürünün benzersiz tanımlayıcısı.

Örnek: `prod_xxxxxxxxxxxxx`

**title** `string` *required*

Ürün sayfasında ve arama sonuçlarında müşterilere gösterilen ürünün görünen adı.

Örnek: `Pickaxe Analytics`

**status** `InvoiceStatuses` *required*

Faturanın mevcut ödeme durumu; örneğin draft, open, paid veya void.

Kullanılabilir seçenekler: `draft`, `open`, `paid`, `past_due`, `uncollectible`, `void`

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

Abonelik faturalandırma döngüsünün ne zaman başlayacağını belirleyen tarih. Yenilemeli bir plan faturasında ayarlandığında, gelecekteki tüm faturalandırma dönemleri bu tarihe sabitlenir.

Örnek: `2023-12-01T05:00:00.401Z`

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

Faturanın son güncellendiği tarih ve saat.

Örnek: `2023-12-01T05:00:00.401Z`

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

Bu faturanın hitap ettiği kullanıcı. Kullanıcı hesabı kaldırıldıysa null.

**alt öznitelikler**

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

Kullanıcının e-posta adresi. Erişim için member:email:read izni gerekir. Yetki yoksa null.

Örnek: `john.doe@example.com`

**id** `string` *required*

Kullanıcının benzersiz tanımlayıcısı.

Örnek: `user_xxxxxxxxxxxxx`

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

Kullanıcının herkese açık profilinde gösterilen görünen adı.

Örnek: `John Doe`

**username** `string` *required*

Kullanıcının herkese açık profilinde gösterilen benzersiz kullanıcı adı.

Örnek: `johndoe42`


## Related topics

- [Eski faturalardan geçiş](https://docs.whop.com/tr/developer/guides/migrate-from-legacy-invoices.md)
- [Faturalar](https://docs.whop.com/tr/developer/guides/invoices.md)
- [API sürümleri](https://docs.whop.com/tr/developer/api/versioning.md)
