# LegacyInvoiceAttributes

```json
{
  "accountId": "456123",
  "accountCode": "",
  "currencyId": "456123",
  "state": "InvoiceState",
  "number": "",
  "amount": "1.00",
  "taxAmount": "1.00",
  "subtotal": "1.00",
  "baseCurrencyTotal": "1.00",
  "dueAt": "2022-06-01",
  "netPaymentDays": 123,
  "poNumber": "",
  "pdfBlobUuid": "456123",
  "issuedAt": "2022-06-01"
}
```

| Name              | Type                                                                | Description |
| ----------------- | ------------------------------------------------------------------- | ----------- |
| accountId         | ID                                                                  |             |
| accountCode       | String                                                              |             |
| currencyId        | ID                                                                  |             |
| state             | [InvoiceState](https://docs.bunny.com/developer/enums#invoicestate) |             |
| number            | String                                                              |             |
| amount            | Float                                                               |             |
| taxAmount         | Float                                                               |             |
| subtotal          | Float                                                               |             |
| baseCurrencyTotal | Float                                                               |             |
| dueAt             | ISO8601Date                                                         |             |
| netPaymentDays    | Int                                                                 |             |
| poNumber          | String                                                              |             |
| pdfBlobUuid       | ID                                                                  |             |
| issuedAt          | ISO8601Date                                                         |             |
