Revise a subset of a COBV batch (Bacen /lotecobv)

Revises charges of an existing batch. Each txid must already belong to the batch — items cannot be added or removed. Bacen contract: responds 202 without a body; poll GET /lotecobv/{id} for per-item status.

Path Parameters
  • id
    Type: string
    required
Headers
  • x-branch
    Type: string
    required

    Branch of the charge owner account

  • x-account-number
    Type: string
    required

    Number of the charge owner account

  • Idempotency-Key
    Type: string
    required
Body·
required
application/json

Corpo para revisão de um subconjunto de cobranças de um lote COBV

  • cobsv
    Type: array object[] · 1…
    required

    Cobranças revisadas — cada txid deve já pertencer ao lote

    Item de revisão de um lote COBV: txid existente + campos revisados

  • descricao
    Type: string
    max length:  
    140

    Nova descrição do lote (opcional)

Responses
  • 200

    OK

Request Example for patch/lotecobv/{id}
curl 'http://localhost/lotecobv/{id}' \
  --request PATCH \
  --header 'x-branch: ' \
  --header 'x-account-number: ' \
  --header 'Idempotency-Key: ' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "descricao": "",
  "cobsv": [
    {
      "txid": "",
      "status": "ATIVA",
      "original": "",
      "dueDate": "",
      "validAfterDueDays": 1,
      "abatement": {
        "modalidade": "1",
        "valorPerc": ""
      },
      "discount": {
        "modalidade": "1",
        "descontoDataFixa": [
          {
            "data": "",
            "valorPerc": ""
          }
        ],
        "valorPerc": ""
      },
      "interest": {
        "modalidade": "1",
        "valorPerc": ""
      },
      "fine": {
        "modalidade": "1",
        "valorPerc": ""
      },
      "additionalInfo": [
        {
          "nome": "",
          "valor": ""
        }
      ],
      "emitImage": true
    }
  ]
}'
No Body