> ## 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: ImportInvoicesParams

[index](.././index).ImportInvoicesParams

Parameters for importing invoices from CSV

## Table of contents

### Properties

* [csvFile](#csvfile)
* [agreementId](#agreementid)
* [startDate](#startdate)
* [endDate](#enddate)
* [preview](#preview)
* [userId](#userid)

## Properties

### csvFile

• **csvFile**: `File`

The CSV file containing invoice data

### agreementId

• `Optional` **agreementId**: `string`

Agreement ID to associate with the invoices

### startDate

• `Optional` **startDate**: `string`

Start date filter for invoice processing

### endDate

• `Optional` **endDate**: `string`

End date filter for invoice processing

### preview

• `Optional` **preview**: `boolean`

Whether to preview the import without saving to database

**`Default`**

```ts theme={null}
false
```

### userId

• `Optional` **userId**: `string`

User ID for API key authentication (required when using API keys)
