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

# SubscriptionInvoicePreview

> The preview of the next upcoming invoice for the given subscription



**Kind**: `object`

## Fields

**`amountDue`**: `Money!`

The amount due for the invoice after taxes, discounts and credits

---

**`billingDate`**: `DateTime`

The date the invoice is expected to be billed

---

**`credits`**: `SubscriptionPreviewCredits`

Credits information (initial, used, remaining)

---

**`discount`**: `Money`

The total discount amount of the invoice

---

**`discountDetails`**: `SubscriptionPreviewDiscount`

The applied discount details

---

**`lastUpdatedAt`**: `DateTime!`

The date when the invoice was last updated

---

**`lines`**: `[SubscriptionInvoicePreviewLineItem!]!`

The line items of the invoice

---

**`minimumSpendAdjustment`**: `Money!`

The minimum spend adjustment applied to the invoice

---

**`subTotal`**: `Money!`

The sub total amount of the invoice excluding  discounts

---

**`subTotalExcludingTax`**: `Money!`

The sub total amount of the invoice excluding taxes and discounts

---

**`tax`**: `Money`

The total tax amount of the invoice

---

**`taxDetails`**: `SubscriptionPreviewTaxDetails`

The applied tax details

---

**`total`**: `Money!`

The total amount of the invoice including taxes and discounts

---

**`totalExcludingTax`**: `Money!`

The total amount of the invoice excluding taxes



## Related topics

- [SubscriptionInvoicePreviewLineItem](https://docs.stigg.io/graphql-reference/types/SubscriptionInvoicePreviewLineItem.md)
- [SubscriptionInvoicePreviewLineItemData](https://docs.stigg.io/graphql-reference/types/SubscriptionInvoicePreviewLineItemData.md)
- [SubscriptionInvoicePreviewLineItemPeriod](https://docs.stigg.io/graphql-reference/types/SubscriptionInvoicePreviewLineItemPeriod.md)
- [SubscriptionPreviewInvoice](https://docs.stigg.io/graphql-reference/types/SubscriptionPreviewInvoice.md)
- [ImmediateSubscriptionPreviewInvoice](https://docs.stigg.io/graphql-reference/types/ImmediateSubscriptionPreviewInvoice.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.