{ "info": { "_postman_id": "04ecb770-9f8f-412c-91a5-f329ed1724e0", "name": "Neuro-Pay Invoices", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "18992219" }, "item": [ { "name": "Invoice - Create", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"currency_id\": \"SEK\",\r\n \"invoice_date\": \"2023-11-17\",\r\n \"due_date\": \"2023-12-02\",\r\n \"client_data\": {\r\n \"name\": \"Test Client 01\",\r\n \"address_line1\": \"Street Nowhere 22\",\r\n \"address_line2\": null,\r\n \"zip_code\": \"12345\",\r\n \"city\": \"My City\",\r\n \"country\": \"My Country\",\r\n \"vat_number\": \"123456789\",\r\n \"sendVia\": \"Email\",\r\n \"sendTo\": \"johndoe@test.com\"\r\n },\r\n \"invoice_rows\": [\r\n {\r\n \"item\": \"Test product\",\r\n \"description\": \"test description\",\r\n \"unitCost\": 250,\r\n \"quantity\": 2,\r\n \"tax\": 12\r\n }\r\n ]\r\n}\r\n\r\n\r\n\r\n" }, "url": { "raw": "https://api.neuro-admin.com/invoice/create", "protocol": "https", "host": [ "api", "neuro-admin", "com" ], "path": [ "invoice", "create" ] } }, "response": [] }, { "name": "Invoice - Retrieve", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"invoice_id\": \"766f09f2f50cec524ba7a5ea416ea9d0\"\r\n}" }, "url": { "raw": "https://api.neuro-admin.com/invoice/retrieve", "protocol": "https", "host": [ "api", "neuro-admin", "com" ], "path": [ "invoice", "retrieve" ] } }, "response": [] }, { "name": "Invoice - Update", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"invoice_id\": \"92944b75c329a6ad00ad97b6b42c5fd1\",\r\n \"currency_id\": \"EUR\",\r\n \"invoice_date\": \"2023-11-13\",\r\n \"due_date\": \"2023-11-30\",\r\n \"client_data\": {\r\n \"name\": \"Test client 110\",\r\n \"address_line1\": \"Calle Nuestra Señora de Los Ángeles 40, 3C\",\r\n \"address_line2\": null,\r\n \"zip_code\": \"03010\",\r\n \"city\": \"Alicante\",\r\n \"country\": \"Spain\",\r\n \"vat_number\": \"123465798\",\r\n \"sendVia\": \"Email\",\r\n \"sendTo\": \"mstndr70@gmail.com\"\r\n },\r\n \"invoice_rows\": [\r\n {\r\n \"item\": \"test create from API modified\",\r\n \"description\": \"test create description\",\r\n \"quantity\": \"1.00\",\r\n \"unitCost\": \"150.00\",\r\n \"tax\": \"0.00\"\r\n }\r\n ]\r\n}" }, "url": { "raw": "https://api.neuro-admin.com/invoice/update", "protocol": "https", "host": [ "api", "neuro-admin", "com" ], "path": [ "invoice", "update" ] } }, "response": [] }, { "name": "Invoice - List", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "" }, "url": { "raw": "https://api.neuro-admin.com/invoice/index", "protocol": "https", "host": [ "api", "neuro-admin", "com" ], "path": [ "invoice", "index" ] } }, "response": [] } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "r4vzRrNxidzPrkcFKsooPvg2P-94tAmf", "type": "string" } ] }, "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ] }