---
title: "DocumentExport store"
method: POST
path: "/api/v1/documents/exports"
tags: ["documents"]
---

# DocumentExport store

`POST /api/v1/documents/exports`

## Request

- Base URL: `https://www.foxnfe.com.br`
- URL: `https://www.foxnfe.com.br/api/v1/documents/exports`
- Auth: HTTP bearer

## Request body

- PostApiV1DocumentsExportsRequest
  - `retention_hours` integer, nullable
  - `date_from` string, date, required
  - `date_to` string, date, required: Deve ser posterior ou igual a date_from.
  - `tipos` string[]
  - `ambiente` 1 | 2 | null, nullable
  - `origin` 'emitida' | 'recebida' | 'importada' | 'null', nullable
  - `status` 'draft' | 'pending' | 'processing' | 'authorized' | 'rejected' | 'denied' | 'canceled' | 'contingency' | 'substituted' | 'recebida' | 'importada' | 'null', nullable
  - `participante` string, nullable
  - `valor_min` string, nullable
  - `valor_max` string, nullable

## Response `200`

Resposta implementada pelo controlador.

- unknown

## Other responses

- `202`: Resposta implementada pelo controlador.

---

[API](https://skmtc.dev/foxnfe/apis/fox-nf-e-api.md) · [All operations](https://skmtc.dev/foxnfe/apis/fox-nf-e-api/llms.txt) · [OpenAPI document](https://skmtc.dev/foxnfe/apis/fox-nf-e-api/revisions/8820a6e016b0?raw)
