Buscar nota de debito pelo numero sequencial
Authorization
bearer AuthorizationBearer <token>
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.biterp.ai/supplier-debit-notes/by-record-number/{record_number}"{
"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",
"offsets": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"supplier_debit_note_id": "8397fd4e-cbf4-4f57-8758-cc52836dacc0",
"supplier_debit_note_record_number": 0,
"payable_id": "4ac0291f-280d-472c-a7d1-40a998fb6aca",
"payable_record_number": 0,
"amount": "60.000000",
"kind": "offset",
"offset_date": "2019-08-24",
"reverses_offset_id": "5242642e-29dc-4af9-9cbf-95fc9e424654",
"reason": "string",
"notes": "string",
"created_by_user_id": "209f54c4-4c33-43bc-9c6a-ef4c65ad7473",
"created_at": "2019-08-24T14:15:22Z",
"can_delete": true,
"can_reverse": true
}
],
"cash_movements": [
{
"allocation_id": "382c58cf-1df3-4a3e-982d-9827484a770a",
"transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482",
"kind": "funding",
"allocation_kind": "funding",
"amount": "40.000000",
"posted_at": "2019-08-24T14:15:22Z",
"posted_on": "2019-08-24",
"financial_account_id": "12004dd2-b67b-4561-b5c8-278b86c292fd",
"source": "manual",
"reverses_allocation_id": "f913f1c0-8c5a-4ee7-9f9f-053e0f181736",
"can_undo": true,
"can_reverse": true,
"reversible_amount": "40.000000",
"can_unlink": true,
"account_scope_mask": {
"counterparty": true,
"category": true,
"balance": true
}
}
],
"hidden_cash_movements": [
{
"financial_account_id": "12004dd2-b67b-4561-b5c8-278b86c292fd",
"count": 0,
"total": "3500.000000",
"first_posted_on": "2019-08-24",
"last_posted_on": "2019-08-24"
}
]
}Empty
{
"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": 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"
}
