{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"1f6c74da-07b0-4d42-b9e4-b4df93e443a6","name":"ProBILL API 2.0","description":"<p><b>ProBill API</b> is an interface that allows third-party applications to communicate with the<a href=\"https://www.probill.ro/\">ProBill.ro</a>platform, regardless of the code in which they were written.</p>\n\n<p>Using <b>ProBill API</b>, third-party applications have the ability to perform most of the operations available on<a href=\"https://www.probill.ro/\">ProBill.ro</a>CMS:</p>\n\n<ul><li><div>Manage agencies, bank accounts, document series and expense types: create, edit, read, delete</div></li><li><div>Track ANAF e-Factura statuses and read received e-invoices (AnafMessages)</div></li><li><div>Manage companies: create, edit, read, delete</div></li><li><div>Manage agencies: create, edit, read, delete</div></li><li><div>Manage clients: create, edit, read, delete</div></li><li><div>Manage invoices: create, edit, read, delete, email, collect, reverse, copy, download (pdf), storno</div></li><li><div>Register payments and issue receipts (InvoicePayments)</div></li></ul>\n\n<p>All communication between the third-party application and the <b>ProBill API</b> will be performed in a secure environment, using the HTTPS protocol. Authentication is realised through<a href=\"https://jwt.io/\">JSON Web Tokens</a>. JWT authentication involves sending a verified username and password to <code>login</code> method. If the Auth is a success, you will receive a token that you'll need to include as a header in your requests to methods that require Authentication.</p>\n\n<p>For example, if the <code>login</code> method returns <code>\"token\": \"ab0dde18155a43ee83edba4a4542b973\"</code> you will need to include the following header to your requests:<br><br></p>\n\n`Authorization: Bearer ab0dde18155a43ee83edba4a4542b973`\n\n<p><b>Note:</b> in order to reduce the number of requests, please save and reuse JWT token until it expires. If the token isn’t valid (because, for example, the token has expired), the user will be sent an HTTP 401 Unauthorized header, and the script will exit. At that moment you can refresh the token.</p>\n\n<p>API <code>baseUrl</code> is <code>https://probill.ro/api/</code>. Please use the https protocol directly to avoid unnecessary redirects.</p>\n\n<p><b>ProBill API</b> returns a JSON if the URL extention is <code>.json</code> or an XML if the URL extention is <code>.xml</code>.</p>\n\n<p>The HTTP methods (verbs) used in the request are described in the documentation:</p>\n\n<ul><li><div>Use <code>GET</code> requests to retrieve resource representation/information</div></li><li><div>Use <code>POST</code> to create new resources</div></li><li><div>Use <code>PUT</code> to update existing resource</div></li><li><div>Use <code>DELETE</code> to delete resources</div></li></ul>\n\n<p>Responses headers are <code>Content-Type application/json; charset=UTF-8</code> if the request was JSON or <code>Content-Type application/xml; charset=UTF-8</code> if the request was XML.</p>\n\n<p>Response HTTP code is <code>200</code> if method was executed with success or</p>\n\n<ul><li><div><code>4XX</code> if we deal with a validation error.</div></li><li><div><code>5XX</code> if we deal with an internal error.</div></li></ul>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"54562521","team":15685642,"collectionId":"1f6c74da-07b0-4d42-b9e4-b4df93e443a6","publishedId":"2sBXwsKpG7","public":true,"publicUrl":"https://documenter-api.postman.tech/view/54562521/2sBXwsKpG7","privateUrl":"https://go.postman.co/documentation/54562521-1f6c74da-07b0-4d42-b9e4-b4df93e443a6","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":"Create invoices effortlessly with ProBill! A simple, automated, and 100% ANAF e-Invoice compliant billing solution. Try it for free today!"},{"name":"title","value":"ProBill - Fast, secure &amp; ANAF e-Invoice compliant billing software"}],"appearance":{"default":"system_default","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.12.10","publishDate":"2026-06-10T18:43:08.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"ProBill - Fast, secure &amp; ANAF e-Invoice compliant billing software","description":"Create invoices effortlessly with ProBill! A simple, automated, and 100% ANAF e-Invoice compliant billing solution. Try it for free today!"},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[{"name":"ProBill API 2.0","id":"8dc4bfbd-ea88-4912-959f-597f2c73bf4f","owner":"54562521","values":[{"key":"baseUrl","value":"https://probill.ro/api/","enabled":true},{"key":"username","value":"api-user@example.com","type":"secret","enabled":true},{"key":"password","value":"YOUR_32_CHAR_API_TOKEN","type":"secret","enabled":true},{"key":"token","value":"PASTE_JWT_FROM_ADMINS_LOGIN","type":"secret","enabled":true},{"key":"company_id","value":"1","enabled":true},{"key":"agency_id","value":"1","type":"default","enabled":true},{"key":"document_serial_number_id","value":"1","type":"default","enabled":true},{"key":"client_id","value":"1","enabled":true},{"key":"invoice_id","value":"1","enabled":true},{"key":"invoice_payment_id","value":"1","type":"default","enabled":true},{"key":"invoice_payment_method_id","value":"1","type":"default","enabled":true},{"key":"invoice_product_id","value":"1","type":"default","enabled":true},{"key":"bank_account_id","value":"1","type":"default","enabled":true},{"key":"expense_type_id","value":"1","type":"default","enabled":true},{"key":"anaf_message_id","value":"1","type":"default","enabled":true},{"key":"import_id","value":"1","type":"default","enabled":true},{"key":"import_entry_id","value":"1","type":"default","enabled":true},{"key":"currency_id","value":"1","type":"default","enabled":true},{"key":"country_id","value":"190","type":"default","enabled":true},{"key":"admin_id","value":"1","type":"default","enabled":true},{"key":"cui","value":"36145517","type":"default","enabled":true}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/6ac4447ff81e87484b83f89d5b0e6bfc1e85f41e8988f50ebf4bd2a03877eba6","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"ProBill API 2.0","value":"54562521-8dc4bfbd-ea88-4912-959f-597f2c73bf4f"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2sBXwsKpG7"}