Saltar a contenido

Revoke invoice share


Turn off an invoice's share link, open or already stamped: the url stops working (a stamped link stops offering its downloads). A revoked draft can be edited again, and shared again for a new url. get_invoice shows the link's state in share.

Alcance (scope): invoices:write · Características: Destructiva, Idempotente

Parámetros

Parámetro Tipo Obligatorio Descripción
invoice_id string Sí
issuer string Sí Id of the issuer the call acts for, from list_issuers.

Esquema de entrada (JSON Schema)

{
  "type": "object",
  "properties": {
    "invoice_id": {
      "type": "string"
    },
    "issuer": {
      "type": "string",
      "format": "uuid",
      "description": "Id of the issuer the call acts for, from list_issuers."
    }
  },
  "required": [
    "invoice_id",
    "issuer"
  ]
}