biterp

Criar nota de debito do fornecedor

Financial amount the supplier owes the tenant. It is not a fiscal purchase invoice (nota fiscal) and does not move money. Offsetting it against a payable is a separate call.

POST
/supplier-debit-notes
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.biterp.ai/supplier-debit-notes" \  -H "Content-Type: application/json" \  -d '{    "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",    "amount": "78.930000",    "issue_date": "2026-11-11",    "financial_category_id": "a6b66ee2-6cb9-4e40-8c14-5161236f36c0"  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "record_number": 0,
  "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
  "supplier": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "legal_name": "string",
    "trade_name": "string"
  },
  "financial_category_id": "a6b66ee2-6cb9-4e40-8c14-5161236f36c0",
  "source_purchase_invoice_id": "d4398d6b-4639-4ea9-bbd2-c52caa583a72",
  "origin": "manual",
  "status": "open",
  "amount": "78.930000",
  "cancelled_amount": "0.000000",
  "used_amount": "40.000000",
  "balance": "38.930000",
  "has_usage": true,
  "issue_date": "2019-08-24",
  "description": "string",
  "reference_code": "string",
  "notes": "string",
  "cancelled_at": "2019-08-24T14:15:22Z",
  "cancellation_reason": "string",
  "metadata": {},
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z",
  "deleted_at": "2019-08-24T14:15:22Z"
}
{
  "status_code": 404,
  "message": "Customer not found",
  "error": "Not Found",
  "code": "CUSTOMER_NOT_FOUND"
}
{
  "status_code": 404,
  "message": "Customer not found",
  "error": "Not Found",
  "code": "CUSTOMER_NOT_FOUND"
}
{
  "status_code": 422,
  "message": "Could not resolve provided geography fields",
  "error": "Unprocessable Entity",
  "code": "string",
  "details": {
    "fields": {
      "country_code": [
        "Could not resolve country from '1112' (tried ISO2, ISO3, numeric code and names)"
      ],
      "city": [
        "Could not resolve city from 'CidadeQueNaoExiste' in country 'BR'"
      ]
    }
  }
}
{
  "status_code": 404,
  "message": "Customer not found",
  "error": "Not Found",
  "code": "CUSTOMER_NOT_FOUND"
}