[BR] Services Credit and Debit Notes (NFSe)

What are NFSe credit and debit notes?

With the Reforma Tributária, the NFSe Nacional adds credit and debit notes that adjust IBS and CBS on a services invoice already issued. They do not correct the service itself: there is no type for a return, a discount or a reduction of the service value.

Documentinvoice_typedocument_typeAlso send
Credit notecreditcredit note servicesoriginal_invoice_id, reason
Debit notedebitdebit note servicesoriginal_invoice_id, reason

Always e_invoice: true and currency: "BRL".

⚠️

NFSe Nacional only

Credit and debit notes are available only when the supplier's municipality issues through the NFSe Nacional. For municipalities with their own system (for example São Paulo), they are not available yet.


When to issue one

SituationUse
IBS / CBS adjustment listed in the reasons below✅ Credit or debit note
Wrong data on an authorized NFSe, within the deadline❌ Cancel the NFSe, see Cancelling Notas Fiscais
Service not rendered❌ Cancel the NFSe
Discount or reduction of the service value❌ No credit note type covers it

Field by Field

What comes from the original NFSe

FieldCredit noteDebit note
buyerOptional: without it, the original NFSe's buyer is usedRequired, as in a Services Invoice (NFSe)
items[]Reference each original item, see belowComplete items, as in a Services Invoice
Item name, descriptionFrom the original itemSent in the note
Item categories[] and cstFrom the original itemSent in the note
Item taxes[]Send the IBS / CBS adjustment, see belowSent in the note

Credit note items[]

Each item references the original item and says the amount:

FieldRequiredNotes
original_item_id or original_item_external_idOne of themThe item of the original NFSe, by Brinta ID or by your ID
amountYesCannot be higher than the original item's amount
taxes[]Yes, for the adjustmentWithout them, the original item's taxes are copied in full

original_invoice_id

Brinta ID of the NFSe being adjusted. It links the note to the original invoice.

reason

The national code, sent as is. "5" and "05" are the same.

reasonCredit noteDebit note
01Multa e jurosTransferência de créditos para cooperativas
02Anulação de crédito por saídas imunes/isentas
03Débitos de notas fiscais não processadas na apuração
04Multa e juros
05Transferência de crédito na sucessãoTransferência de crédito na sucessão
06Pagamento antecipado

The same code has a different meaning on a credit note and on a debit note: 01 is "Multa e juros" on a credit note and "Transferência de créditos para cooperativas" on a debit note.

IBS / CBS adjustment amounts

Some reasons carry the IBS and CBS amounts being adjusted. Brinta takes them from the items' taxes:

AmountSum of items[].taxes[].amount where name is
IBSIBS
CBSCBS
DocumentReasons that send the amountsReasons that do not
Credit note0501
Debit note01, 02, 03, 0504, 06

For the reasons that send them, include the IBS and CBS taxes with the amount being adjusted. On a credit note, if taxes[] is left out, the original item's taxes are copied in full and the adjustment would be the whole original IBS / CBS. Amounts are rounded to 2 decimals.


Full Example Payload

Credit note, reason 05 (Transferência de crédito na sucessão). The buyer and the item codes come from the original NFSe:

{
  "supplier_company_id": "{{company_id}}",
  "invoice_type": "credit",
  "document_type": "credit note services",
  "original_invoice_id": "{{original_invoice_id}}",
  // The NFSe being adjusted
  "reason": "05",
  "invoice_date": "2026-12-15",
  "currency": "BRL",
  "e_invoice": true,
  "invoice_external_id": "NFSE-CN-100001",
  "items": [
    {
      "original_item_external_id": "SRV-001",
      // The item of the original NFSe
      "amount": 2500,
      "taxes": [
        { "name": "CBS", "rate": 0.009, "rate_type": "percentage", "amount": 22.5, "adds_to_final_amount": false },
        { "name": "IBS", "rate": 0.001, "rate_type": "percentage", "amount": 2.5, "adds_to_final_amount": false }
        // Adjustment: IBS 2.50, CBS 22.50
      ]
    }
  ]
}

Debit note, reason 01 (Transferência de créditos para cooperativas). Buyer and items are complete, as in a Services Invoice:

{
  "supplier_company_id": "{{company_id}}",
  "invoice_type": "debit",
  "document_type": "debit note services",
  "original_invoice_id": "{{original_invoice_id}}",
  "reason": "01",
  "invoice_date": "2026-12-15",
  "currency": "BRL",
  "e_invoice": true,
  "invoice_external_id": "NFSE-DN-100001",
  "buyer": {
    "company": {
      "name": "CLIENT TECNOLOGIA LTDA.",
      "legal_name": "CLIENT TECNOLOGIA LTDA.",
      "type": "business",
      "email": "[email protected]",
      "tax_registrations": [
        { "number": "71175537000130", "type": "CNPJ", "level": "country", "location": "BR" }
      ],
      "address": {
        "country": "BR",
        "address_line_1": "Alameda Santos 2200",
        "address_line_2": "Conjunto 51",
        "neighborhood": "Cerqueira César",
        "city": "São Paulo",
        "state": "BR-SP",
        "postal_code": "01418200"
      }
    }
  },
  "items": [
    {
      "item_external_id": "SRV-001",
      "name": "Digital Services",
      "description": "Licença de software - outubro/2026",
      "amount": 2500,
      "categories": [
        { "code": "010501", "list": "cityServiceCode" },
        // NFSe Nacional: 6-digit national service code (1.05.01)
        { "code": "111032200", "list": "nbs code" },
        // 1.1103.22.00 Licenciamento de direitos de uso de programas de computador
        { "code": "000001", "list": "cClassTrib" },
        { "code": "100301", "list": "operation indicator br" }
      ],
      "cst": {
        "ibs_cbs": "000"
      },
      "taxes": [
        { "name": "CBS", "rate": 0.009, "rate_type": "percentage", "amount": 22.5, "adds_to_final_amount": false },
        { "name": "IBS", "rate": 0.001, "rate_type": "percentage", "amount": 2.5, "adds_to_final_amount": false }
      ]
    }
  ]
}

Common Mistakes

MistakeWhat happensFix
Credit note with a debit-only reason (02, 03, 04, 06)The authority rejects the noteUse 01 or 05 on a credit note
Reason that needs amounts, without IBS / CBS taxes on the itemsThe adjustment is sent empty and the authority rejects itAdd the IBS and CBS taxes with their amount
Credit note used to give a discount or correct the serviceNo reason covers itCancel the NFSe and issue a new one
Credit note item without original_item_id / original_item_external_idRejected by Brinta before issuingReference the item of the original NFSe
Credit note item amount higher than the original itemRejected by Brinta before issuingCredit at most the original item's amount
Credit note without taxes[] on the itemsThe original IBS / CBS are copied in full as the adjustmentSend the IBS and CBS taxes with the amount being adjusted

Did this page help you?