---
title: "Replace debit note"
method: PUT
path: "/debitnotes/{id}/"
tags: ["Billing"]
---

# Replace debit note

`PUT /debitnotes/{id}/`

## Request body

- DebitNote — Debit notes adjust a previously issued credit note (raising the amount again). They mirror the credit note's line structure and totals.
  - `id` integer
  - `credit_note` integer, required — Credit-note ID this debit note adjusts.
  - `document` integer, required — Debit-note document type.
  - `number` integer
  - `date` string, date, required
  - `note` string, nullable
  - `internal_note` string, nullable
  - `biller_status` string
  - `tax_agency` object
  - `local_file` string, uri, nullable
  - `imported` boolean
  - `test_mode` boolean
  - `created` string, date-time
  - `updated` string, date-time

## Response `200`

Updated debit note.

- DebitNote — Debit notes adjust a previously issued credit note (raising the amount again). They mirror the credit note's line structure and totals.
  - `id` integer
  - `credit_note` integer, required — Credit-note ID this debit note adjusts.
  - `document` integer, required — Debit-note document type.
  - `number` integer
  - `date` string, date, required
  - `note` string, nullable
  - `internal_note` string, nullable
  - `biller_status` string
  - `tax_agency` object
  - `local_file` string, uri, nullable
  - `imported` boolean
  - `test_mode` boolean
  - `created` string, date-time
  - `updated` string, date-time

---

[API](https://skmtc.net/piriod/apis/piriod-api.md) · [All operations](https://skmtc.net/piriod/apis/piriod-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/piriod/piriod-api/versions/70cbc827dc7b/schema)
