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

# CreditGrantInvoice



**Kind**: `object`

## Fields

**`amountDue`**: `Float`

---

**`appliedBalance`**: `Float`

---

**`attemptCount`**: `Float`

Number of payment attempts made for this invoice, from the perspective of the payment retry schedule.

---

**`billingId`**: `String!`

---

**`billingReason`**: `CreditGrantInvoiceBillingReason`

The billing reason of a credit grant invoice

---

**`createdAt`**: `DateTime!`

---

**`currency`**: `String`

---

**`dueDate`**: `DateTime`

---

**`endingBalance`**: `Float`

---

**`errorMessage`**: `String`

---

**`lines`**: `[InvoiceLine!]`

---

**`paymentSecret`**: `String`

---

**`paymentUrl`**: `String`

---

**`pdfUrl`**: `String`

---

**`requiresAction`**: `Boolean!`

---

**`startingBalance`**: `Float`

---

**`status`**: `CreditGrantInvoiceStatus!`

The status of the credit grant

---

**`subTotal`**: `Float`

---

**`subTotalExcludingTax`**: `Float`

---

**`tax`**: `Float`

---

**`total`**: `Float`

---

**`totalExcludingTax`**: `Float`

---

**`updatedAt`**: `DateTime!`



## Related topics

- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [Void credit grant](https://docs.stigg.io/api-reference/credit-grants/void-credit-grant.md)
- [Create a credit grant](https://docs.stigg.io/api-reference/credit-grants/create-a-credit-grant.md)
- [Get a list of credit grants](https://docs.stigg.io/api-reference/credit-grants/get-a-list-of-credit-grants.md)
- [CreditGrantInvoiceStatus](https://docs.stigg.io/graphql-reference/types/CreditGrantInvoiceStatus.md)


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