---
title: "Gerar nota fiscal do pedido"
method: POST
path: "/pedidos/{idPedido}/gerar-nota-fiscal"
tags: ["Pedidos"]
---

# Gerar nota fiscal do pedido

`POST /pedidos/{idPedido}/gerar-nota-fiscal`

## Path parameters

- `idPedido` integer, required

## Request body

- GerarNotaFiscalPedidoRequestModel — 
  - `modelo` 55 | 65 — Modelo da nota fiscal - 55 - NFe - 65 - NFCe

## Response `200`

OK

- GerarNotaFiscalPedidoModelResponse — 
  - `id` integer
  - `numero` integer
  - `serie` integer

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/olist/apis/olist-erp-api-v3.md) · [All operations](https://skmtc.net/olist/apis/olist-erp-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/olist/olist-erp-api-v3/revisions/c351400bb11f/schema)
