# FirmhouseInvoice

## Properties

| Property              | Type                                                                                                                                           | Description                                                                                |
| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| `city`                | `null` \| `string`                                                                                                                             | The customer's city or town stored on the invoice.                                         |
| `collectionCase?`     | `null` \| [`FirmhouseCollectionCase`](https://developer.firmhouse.com/sdks/firmhouse-sdk/reference/interfaces/firmhouse-collection-case)       | The collection case this invoice is part of.                                               |
| `companyName`         | `null` \| `string`                                                                                                                             | The customer's company name stored on the invoice.                                         |
| `country`             | `null` \| `string`                                                                                                                             | The billing country code (ISO 3116) stored on the invoice.                                 |
| `createdAt`           | `string`                                                                                                                                       | When the invoice record was first created.                                                 |
| `currency`            | `null` \| `string`                                                                                                                             | Currency used for this invoice                                                             |
| `description`         | `null` \| `string`                                                                                                                             | The description of the invoice.                                                            |
| `detailsUrl`          | `string`                                                                                                                                       | URL to view invoice details, PDF download, and manual payment link.                        |
| `externalUrl`         | `null` \| `string`                                                                                                                             | An external invoice URL that replaces the default invoice                                  |
| `fullAddress`         | `null` \| `string`                                                                                                                             | The customer's full address by combining address and house number stored on the invoice.   |
| `fullName`            | `null` \| `string`                                                                                                                             | The customer's full name stored on the invoice.                                            |
| `id`                  | `string`                                                                                                                                       | The database ID of this invoice.                                                           |
| `invoiceLineItems?`   | `null` \| [`FirmhouseInvoiceLineItem`](https://developer.firmhouse.com/sdks/firmhouse-sdk/reference/interfaces/firmhouse-invoice-line-item)\[] | The line items of this invoice.                                                            |
| `invoiceNumber`       | `string`                                                                                                                                       | The formatted (legal) invoice number.                                                      |
| `invoiceReminders?`   | `null` \| [`FirmhouseInvoiceReminder`](https://developer.firmhouse.com/sdks/firmhouse-sdk/reference/interfaces/firmhouse-invoice-reminder)\[]  | The reminders for this invoice.                                                            |
| `invoiceStatus`       | [`InvoiceStatusEnum`](https://developer.firmhouse.com/sdks/firmhouse-sdk/reference/enumerations/invoice-status-enum)                           | The payment status of the invoice.                                                         |
| `invoicedAt`          | `null` \| `string`                                                                                                                             | When the invoice was formally invoiced.                                                    |
| `originalInvoice?`    | `null` \| [`FirmhouseOriginalInvoice`](https://developer.firmhouse.com/sdks/firmhouse-sdk/reference/interfaces/firmhouse-original-invoice)     | The associated original invoice for this invoice (only available for credit invoices)      |
| `payment?`            | `null` \| [`FirmhousePayment`](https://developer.firmhouse.com/sdks/firmhouse-sdk/reference/interfaces/firmhouse-payment)                      | The associated payment for this invoice. Can be null if this order didn't require payment. |
| `phoneNumber`         | `null` \| `string`                                                                                                                             | The customer's full international phone number stored on the invoice.                      |
| `salutation`          | `null` \| `string`                                                                                                                             | The customer's salutation (mr,ms,mx) stored on the invoice.                                |
| `state`               | `null` \| `string`                                                                                                                             | The customer's state stored on the invoice.                                                |
| `subscriptionId`      | `string`                                                                                                                                       | ID of the associated subscription.                                                         |
| `taxPercentage`       | `null` \| `number`                                                                                                                             | The percentage of tax used for this invoice.                                               |
| `totalAmountCents`    | `number`                                                                                                                                       | Total amount of invoice in cents.                                                          |
| `totalTaxAmountCents` | `number`                                                                                                                                       | Total tax amount of invoice in cents.                                                      |
| `zipcode`             | `null` \| `string`                                                                                                                             | The customer's postal code or zipcode stored on the invoice.                               |
