---
title: "Export Inventory Costs"
method: GET
path: "/api/reports/inventory/costs/export"
tags: ["Reports"]
---

# Export Inventory Costs

`GET /api/reports/inventory/costs/export`

Styled .xlsx download of the costs view — rendered by the SAME code as
the emailed monthly report's "Custos" sheet (shaded per-vehicle subtotals,
grand TOTAL, currency/date formats), so the export can never drift from
the email. Same single-as-of-period contract as /inventory/costs.

## Query parameters

- `mes` integer[] — Month(s); uses max month as end-of-period cutoff
- `ano` integer, required
- `consignado` integer, required
- `ponto_venda_id` integer[]

## Headers

- `x-api-token` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/multigest/apis/multigest-protected-api.md) · [All operations](https://skmtc.dev/multigest/apis/multigest-protected-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/multigest/multigest-protected-api/revisions/4b44eb76b3ee/schema)
