---
title: "Changes to Get invoice preview"
method: POST
path: "/invoices/preview"
---

# Changes to Get invoice preview

`POST /invoices/preview`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 7 of 12 revisions.

- **2026-06-29** `cef2964c102c` — 2 warning, 12 info
- **2026-05-18** `f62d8a5fe7cf` — 4 warning, 1 info
- **2026-05-18** `0cb3425d6580` — 9 warning, 5 info
- **2026-04-23** `82f205e0f429` — 2 warning, 2 info
- **2026-04-06** `4ded3711f401` — 1 breaking, 8 warning, 9 info
- **2026-04-04** `d1860fe0ee67` — 2 breaking, 1 warning, 3 info
- **2026-03-20** `bc91c95fbb1a` — 2 info

## Changes

- **2026-06-29** `cef2964c102c` — 2 warning, 12 info
  - removed the optional property `subscription/customer_timezone` from the response with the `200` status
  - added the new `VOIDED` enum value to the `payment_status` response property for the response status `200`
  - added the optional property `customer/integrations/items/metadata` to the response with the `200` status
  - added the optional property `customer/timezone` to the response with the `200` status
  - added the optional property `line_items/items/adjusted_entitlement_quantity` to the response with the `200` status
  - added the optional property `line_items/items/subscription_line_item_id` to the response with the `200` status
  - added the optional property `subscription/coupon_associations/items/coupon/coupon_code` to the response with the `200` status
  - added the optional property `subscription/coupon_associations/items/subscription_line_item` to the response with the `200` status
  - added the optional property `subscription/customer/integrations/items/metadata` to the response with the `200` status
  - added the optional property `subscription/customer/timezone` to the response with the `200` status
  - added the optional property `subscription/line_items/items/commitment_time_buckets` to the response with the `200` status
  - added the optional property `subscription/line_items/items/price/sequence` to the response with the `200` status
  - added the optional property `subscription/synced_price_sequence` to the response with the `200` status
  - added the optional property `subscription/timezone` to the response with the `200` status
- **2026-05-18** `f62d8a5fe7cf` — 4 warning, 1 info
  - removed the optional property `details` from the response with the `400` status
  - removed the optional property `details` from the response with the `500` status
  - added the new `too_many_requests` enum value to the `code` response property for the response status `400`
  - added the new `too_many_requests` enum value to the `code` response property for the response status `500`
  - added the optional property `issue_date` to the response with the `200` status
- **2026-05-18** `0cb3425d6580` — 9 warning, 5 info
  - removed the optional property `subscription/line_items/items/trial_period_days` from the response with the `200` status
  - added the new `ONETIME` enum value to the `line_items/items/commitment_info/duration` response property for the response status `200`
  - added the new `ONETIME` enum value to the `subscription/billing_period` response property for the response status `200`
  - added the new `ONETIME` enum value to the `subscription/commitment_duration` response property for the response status `200`
  - added the new `ONETIME` enum value to the `subscription/line_items/items/billing_period` response property for the response status `200`
  - added the new `ONETIME` enum value to the `subscription/line_items/items/commitment_duration` response property for the response status `200`
  - added the new `ONETIME` enum value to the `subscription/line_items/items/price/billing_period` response property for the response status `200`
  - added the new `delegated_invoicing` enum value to the `subscription/subscription_type` response property for the response status `200`
  - added the new `grouped_invoicing` enum value to the `subscription/subscription_type` response property for the response status `200`
  - added the optional property `subscription/auto_invoice_threshold` to the response with the `200` status
  - added the optional property `subscription/line_items/items/addon_association_id` to the response with the `200` status
  - added the optional property `subscription_customer_id` to the response with the `200` status
  - removed the `ONETIME` enum value from the `subscription/billing_cadence` response property for the response status `200`
  - removed the `ONETIME` enum value from the `subscription/line_items/items/price/billing_cadence` response property for the response status `200`
- **2026-04-23** `82f205e0f429` — 2 warning, 2 info
  - removed the optional property `subscription/line_items/items/price/trial_period` from the response with the `200` status
  - removed the optional property `subscription/line_items/items/trial_period` from the response with the `200` status
  - added the optional property `subscription/line_items/items/price/trial_period_days` to the response with the `200` status
  - added the optional property `subscription/line_items/items/trial_period_days` to the response with the `200` status
- **2026-04-06** `4ded3711f401` — 1 breaking, 8 warning, 9 info
  - the `billing_period` response's property type/format changed from `string`/`date-time` to `string`/`` for status `200`
  - removed the optional property `customer/parent_customer` from the response with the `200` status
  - removed the optional property `customer/parent_customer_id` from the response with the `200` status
  - removed the optional property `error` from the response with the `400` status
  - removed the optional property `error` from the response with the `500` status
  - removed the optional property `subscription/customer/parent_customer` from the response with the `200` status
  - removed the optional property `subscription/customer/parent_customer_id` from the response with the `200` status
  - removed the optional property `success` from the response with the `400` status
  - removed the optional property `success` from the response with the `500` status
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `500` status
  - added the optional property `details` to the response with the `400` status
  - added the optional property `details` to the response with the `500` status
  - added the optional property `http_status_code` to the response with the `400` status
  - added the optional property `http_status_code` to the response with the `500` status
  - added the optional property `message` to the response with the `400` status
  - added the optional property `message` to the response with the `500` status
  - added the optional property `subscription/subscription_type` to the response with the `200` status
- **2026-04-04** `d1860fe0ee67` — 2 breaking, 1 warning, 3 info
  - the `period_end` request property type/format changed from `string`/`` to `string`/`date-time`
  - the `period_start` request property type/format changed from `string`/`` to `string`/`date-time`
  - added the new `SKIPPED` enum value to the `invoice_status` response property for the response status `200`
  - added the optional property `customer/integrations` to the response with the `200` status
  - added the optional property `last_computed_at` to the response with the `200` status
  - added the optional property `subscription/customer/integrations` to the response with the `200` status
- **2026-03-20** `bc91c95fbb1a` — 2 info
  - added the new optional request property `hide_zero_charges_line_items`
  - added the optional property `recalculated_invoice_id` to the response with the `200` status

---

[Operation](https://skmtc.dev/flexprice/apis/flexprice-api-2/docs/invoices/preview/post.md) · [API](https://skmtc.dev/flexprice/apis/flexprice-api-2.md) · [Page](https://skmtc.dev/flexprice/apis/flexprice-api-2/changes/invoices/preview/post)
