---
title: "Estornar contas da nota fiscal"
method: POST
path: "/notas/{idNota}/estornar-contas"
tags: ["Notas"]
---

# Estornar contas da nota fiscal

`POST /notas/{idNota}/estornar-contas`

## Request

- Base URL: `https://api.tiny.com.br/public-api/v3`
- URL: `https://api.tiny.com.br/public-api/v3/notas/{idNota}/estornar-contas`
- Auth: HTTP bearer

Estorna as contas lançadas pela nota fiscal. Retorna 400 quando não existem contas lançadas pela nota, quando as contas foram lançadas pela origem (venda, ordem de serviço etc.) ou quando alguma conta já foi liquidada.

## Path parameters

- `idNota` integer, required

## Response `204`

No Content

## Other responses

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

## Changes

- **2026-11-03** `107f8d039de2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/olist/apis/olist-erp-api-v3/changes/notas/:idNota/estornar-contas/post.md)

---

[API](https://skmtc.dev/olist/apis/olist-erp-api-v3.md) - [All operations](https://skmtc.dev/olist/apis/olist-erp-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/olist/apis/olist-erp-api-v3/revisions/107f8d039de2?raw)
