---
updatedAt: 2026-01-28T22:08:14.000Z
agentTools:
  projectIndex: https://docs.ecartpay.com/llms.txt
---

# Cancel Invoice

This endpoint allows you to cancel existing invoices. By doing so, new information is sent to the AEAT.

> 📘 Visit our Documentation to learn more about <Anchor label="Verifacti Billings Management" target="_blank" href="https://docs.ecartpay.com/docs/verifacti-billings-management">Verifacti Billings Management</Anchor>.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Payments API, the best solution in LATAM for businesses | Ecart Pay Developers",
    "description": "**Ecart Pay** is a payment solution which unifies multiple payment processors into a single, easy to use, platform or API.\n\n**Why should I use Ecart Pay?**\n\n1.  Increase acceptance rate by using more than one payment processor.\n2.  Manage all your payments with a unified admin tool.\n3.  Create partial and complete refunds easily.\n4.  Issue invoices which comply with government requirements in every country.\n5.  Send payouts to bank accounts around the world.\n    \n\nIf your business accepts payments online, we are a right fit for you.\n\n**What makes Ecart Pay unique?**\n\nWe offer a 360 solution for [payments](https://docs.ecartpay.com/#16e69a32-46ca-4075-8c7d-b67e6df258fd), [payouts](https://docs.ecartpay.com/#db2cfd82-eca8-4531-a965-31e3da4a791f) and withdrawals with government compliance.\n\nWith Ecart Pay you can receive payments not only by credit and debit cards. Your customers will be able to pay in the supermarket, convenience stores, bank transfers and other local payment solutions that vary by country.\n\n**Which countries and currencies does Ecart Pay serve?**\n\n| **Currency** | **Country** |\n| --- | --- |\n| USD | USA |\n| INR | India |\n| MXN | Mexico |\n| BRL | Brasil |\n| COP | Colombia |\n| ARG | Argentina |\n| GTQ | Guatemala |\n| CLP | Chile |\n| PEN | Peru |\n| CAD | Canada |\n| EUR | Spain |\n| AUS | Australia |\n\n**And more countries coming soon!**",
    "version": "1.0.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://sandbox.ecartpay.com"
    }
  ],
  "paths": {
    "/api/billings/{id}/cancel": {
      "put": {
        "description": "",
        "operationId": "put_apibillings{id}cancel",
        "responses": {
          "200": {
            "description": ""
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "The id of the invoice to cancel."
          }
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-readme": {}
}
```