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
- Type: stringidrequired
Headers
- Type: stringx
-branch requiredBranch of the charge owner account
- Type: stringx
-account -number requiredNumber of the charge owner account
- Type: stringIdempotency
- Key required
Body·
required
application/json
Corpo para revisão de um subconjunto de cobranças de um lote COBV
- Type: array object[] · 1…cobsvrequired
Cobranças revisadas — cada txid deve já pertencer ao lote
Item de revisão de um lote COBV: txid existente + campos revisados
- Type: stringdescricaomax 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