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

# Interface: Invoice

[index](.././index).Invoice

Invoice data structure

## Table of contents

### Properties

* [id](#id)
* [date\_created](#date_created)
* [platform\_invoice\_id](#platform_invoice_id)
* [product\_id](#product_id)
* [revenue](#revenue)
* [price](#price)
* [metadata](#metadata)
* [date\_sold](#date_sold)
* [currency](#currency)

## Properties

### id

• **id**: `string`

### date\_created

• `Optional` **date\_created**: `string`

### platform\_invoice\_id

• `Optional` **platform\_invoice\_id**: `string`

### product\_id

• **product\_id**: `Object`

#### Type declaration

| Name                                  | Type                                                                                                                                                                               |
| :------------------------------------ | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`                                  | `string`                                                                                                                                                                           |
| `status?`                             | `string`                                                                                                                                                                           |
| `platform?`                           | `string`                                                                                                                                                                           |
| `platform_id?`                        | `string`                                                                                                                                                                           |
| `listing_asset?`                      | \{ `id`: `string` ; `asset_id?`: \{ `id`: `string` ; `nft_address?`: `string` ; `nft_id?`: `string`  } ; `listing_id?`: \{ `id`: `string`  } ; `on_chain_listing_id?`: `string`  } |
| `listing_asset.id`                    | `string`                                                                                                                                                                           |
| `listing_asset.asset_id?`             | \{ `id`: `string` ; `nft_address?`: `string` ; `nft_id?`: `string`  }                                                                                                              |
| `listing_asset.asset_id.id`           | `string`                                                                                                                                                                           |
| `listing_asset.asset_id.nft_address?` | `string`                                                                                                                                                                           |
| `listing_asset.asset_id.nft_id?`      | `string`                                                                                                                                                                           |
| `listing_asset.listing_id?`           | \{ `id`: `string`  }                                                                                                                                                               |
| `listing_asset.listing_id.id`         | `string`                                                                                                                                                                           |
| `listing_asset.on_chain_listing_id?`  | `string`                                                                                                                                                                           |
| `on_chain_agreement_id?`              | `string`                                                                                                                                                                           |

### revenue

• **revenue**: `string`

### price

• **price**: `number`

### metadata

• `Optional` **metadata**: `any`

### date\_sold

• **date\_sold**: `string`

### currency

• `Optional` **currency**: `string`
