NIR-uri (Beta)
Detalii NIR
Changed onReturneaza un singur NIR al firmei, dupa id, indiferent daca este activ, ciorna sau anulat. Necesita aceleasi drepturi ca listarea: un NIR dintr-o serie sau gestiune la care utilizatorul nu are acces intoarce 404 document_not_found, la fel ca unul inexistent.
Id-ul se trimite integral, cu prefixul gr_. Se obtine din listare sau din raspunsul de emitere; seria si numarul NIR-ului nu pot fi folosite in locul lui.
get/v3/companies/{cif}/goods-receipts/{id}
Request
- Base URLhttps://ws.smartbill.ro/SBORO/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
cifstring required
CIF-ul firmei tale, fara spatii.
idstring required
ID-ul NIR-ului
Response
Detalii NIR
Example response
{
"id": "gr_019f0000000070008000000000000004",
"status": "active",
"seriesName": "NIR",
"number": "1024",
"issueDate": "2026-09-29",
"currency": "RON",
"precision": 2,
"exchangeRate": 1,
"mentions": "Receptie conform facturii furnizorului",
"committee": "Comisia de receptie",
"totalWithoutVatCalculatedInDocumentCurrency": 1000,
"totalWithVatCalculatedInDocumentCurrency": 1210,
"totalVatCalculatedInDocumentCurrency": 210,
"supplier": {
"name": "Furnizor Exemplu SRL",
"vatCode": "RO44444444",
"regCom": "J40/9999/2021",
"code": "FURN003",
"address": "Str. Exemplu 10",
"city": "Bucuresti",
"county": "Bucuresti",
"country": "Romania",
"bank": "Banca Exemplu",
"iban": "RO49AAAA1B31007593840000",
"email": "supplier@example.com",
"contact": "Maria Ionescu",
"phone": "0722000003",
"isVatPayer": true
},
"acquisition": {
"type": "Invoice",
"number": "FACT123",
"issueDate": "2026-09-18",
"dueDate": "2026-10-18",
"totalWithVatInDocumentCurrency": 1210,
"totalVatInDocumentCurrency": 210,
"delegateName": "Ion Popescu",
"delegateVehicleRegistration": "B-123-ABC"
},
"products": [
{
"name": "Produs exemplu",
"code": "PROD-001",
"measuringUnitName": "buc",
"documentQuantity": 10,
"receivedQuantity": 10,
"purchasePriceWithoutVatInDocumentCurrency": 100,
"purchasePriceWithVatInDocumentCurrency": 121,
"purchasePriceWithoutVatInRON": 100,
"purchasePriceWithVatInRON": 121,
"sellingPriceWithoutVatInRON": 150,
"sellingPriceWithVatInRON": 181.5,
"destinationWarehouseId": "ware_019f0000000070008000000000000002",
"purchaseVatRateId": "vat_019f0000000070008000000000000003",
"sellingVatRateId": "vat_019f0000000070008000000000000003"
}
]
}Changes
- warning
removed the optional property
from the response with the status - info
added the optional property
to the response with the status
- warning
- info
endpoint added
- info