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

# CommercialInvoiceExport

> A commercial invoice and its completeness information.

**Required scopes:** [`inventory_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-inventory_read)

**document** `[GeneratedDocument!](/docs/api-reference/v3/reference/consolidations/generated-document)` *required*

The generated invoice file.

**fields**

**contentType** `String!` *required*

The file's media type.

**downloadUrl** `String!` *required*

The URL from which to download this generated file.

**fileName** `String!` *required*

A suggested filename.

**generatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When generation of this export began, not an atomic contents snapshot time.

**excludedUnitCount** `Int!` *required*

Packed units excluded because their invoice data could not be resolved.

**incompleteLineCount** `Int!` *required*

Included lines missing HS code, country of origin or description.

**warnings** `[\[CommercialInvoiceWarning!\]!](/docs/api-reference/v3/reference/consolidations/commercial-invoice-warning)` *required*

Completeness issues to review before customs submission.

**fields**

**code** `[CommercialInvoiceWarningCode!](/docs/api-reference/v3/reference/consolidations/commercial-invoice-warning-code)` *required*

A stable warning code.

**message** `String!` *required*

An explanation for a person reviewing the invoice.


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