{
 "info": {
  "name": "USR One API (v2.1 · 23 Nov 2026)",
  "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
  "description": "USR One developer docs: https://usrinfo.tech/developers/ (v2.1 · 23 Nov 2026). base_url is the sandbox (sample data, usrk_ keys). Live = works today; Sandbox = works on the sandbox, USR One production coming soon; billing scopes need the Finance and Sales roles."
 },
 "variable": [
  {
   "key": "base_url",
   "value": "https://train.usrinfo.tech"
  },
  {
   "key": "access_token",
   "value": ""
  },
  {
   "key": "tally_key",
   "value": ""
  }
 ],
 "item": [
  {
   "name": "People: HRIS",
   "item": [
    {
     "name": "List employees [Sandbox]",
     "request": {
      "method": "GET",
      "header": [
       {
        "key": "Authorization",
        "value": "Bearer {{access_token}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/api/v1/hris/employees",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "api",
        "v1",
        "hris",
        "employees"
       ],
       "query": [
        {
         "key": "page",
         "value": "",
         "description": "Page number, from 0"
        },
        {
         "key": "size",
         "value": "",
         "description": "Items per page, up to 200"
        }
       ],
       "variable": []
      },
      "description": "Every employee in the company, with department, designation, manager and status.\n\nStatus: Sandbox. Scope: people:read."
     },
     "response": [
      {
       "name": "200",
       "code": 200,
       "body": "{\n  \"success\": true,\n  \"data\": {\n    \"content\": [\n      {\n        \"id\": \"6f1c…\",\n        \"code\": \"E-1093\",\n        \"name\": \"Priya N.\",\n        \"managerId\": \"a21b…\",\n        \"department\": \"Sales\",\n        \"designation\": \"Executive\",\n        \"grade\": \"G3\",\n        \"status\": \"ACTIVE\",\n        \"dateOfJoining\": \"2026-04-01\",\n        \"dateOfLeaving\": null,\n        \"city\": \"Bengaluru\",\n        \"state\": \"Karnataka\"\n      }\n    ]\n  },\n  \"message\": null,\n  \"errorCode\": null,\n  \"timestamp\": \"2026-11-18T10:00:00Z\"\n}"
      }
     ]
    },
    {
     "name": "Get one employee [Sandbox]",
     "request": {
      "method": "GET",
      "header": [
       {
        "key": "Authorization",
        "value": "Bearer {{access_token}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/api/v1/hris/employees/:id",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "api",
        "v1",
        "hris",
        "employees",
        ":id"
       ],
       "query": [],
       "variable": [
        {
         "key": "id",
         "value": "",
         "description": "Employee id"
        }
       ]
      },
      "description": "Full employee record: contact, department, designation, manager, location and employment type.\n\nStatus: Sandbox. Scope: people:read."
     },
     "response": [
      {
       "name": "200",
       "code": 200,
       "body": "{\n  \"success\": true,\n  \"data\": {\n    \"id\": \"6f1c…\",\n    \"code\": \"E-1093\",\n    \"name\": \"Priya N.\",\n    \"email\": \"priya@example.com\",\n    \"department\": {\n      \"id\": \"…\",\n      \"name\": \"Sales\"\n    },\n    \"designation\": {\n      \"id\": \"…\",\n      \"name\": \"Executive\"\n    },\n    \"manager\": {\n      \"id\": \"…\",\n      \"name\": \"Arjun K.\"\n    },\n    \"employmentType\": \"FULL_TIME\",\n    \"status\": \"ACTIVE\"\n  }\n}"
      }
     ]
    },
    {
     "name": "Create an employee [Sandbox]",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Authorization",
        "value": "Bearer {{access_token}}"
       },
       {
        "key": "Content-Type",
        "value": "application/json"
       },
       {
        "key": "Idempotency-Key",
        "value": "{{$guid}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/api/v1/hris/employees",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "api",
        "v1",
        "hris",
        "employees"
       ],
       "query": [],
       "variable": []
      },
      "description": "Adds an employee once; HRMS, payroll, PMS and LMS read the same record. Code: up to 32 letters, digits, dashes, slashes or underscores.\n\nStatus: Sandbox. Scope: people:write.",
      "body": {
       "mode": "raw",
       "raw": "{\n  \"code\": \"E-1094\",\n  \"name\": \"Rahul S.\",\n  \"email\": \"rahul@example.com\",\n  \"dateOfJoining\": \"2026-12-01\"\n}"
      }
     },
     "response": [
      {
       "name": "200",
       "code": 200,
       "body": "{\n  \"success\": true,\n  \"data\": {\n    \"id\": \"9d2e…\",\n    \"code\": \"E-1094\",\n    \"name\": \"Rahul S.\",\n    \"status\": \"ACTIVE\"\n  }\n}"
      }
     ]
    }
   ]
  },
  {
   "name": "People: HRMS",
   "item": [
    {
     "name": "Attendance by employee and dates [Sandbox]",
     "request": {
      "method": "GET",
      "header": [
       {
        "key": "Authorization",
        "value": "Bearer {{access_token}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/api/v1/hrms/attendance",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "api",
        "v1",
        "hrms",
        "attendance"
       ],
       "query": [
        {
         "key": "employeeId",
         "value": "",
         "description": "Employee"
        },
        {
         "key": "from",
         "value": "",
         "description": "YYYY-MM-DD"
        },
        {
         "key": "to",
         "value": "",
         "description": "YYYY-MM-DD"
        }
       ],
       "variable": []
      },
      "description": "Daily status, in and out times, overtime and source (biometric, app, regularised).\n\nStatus: Sandbox. Scope: attendance:read."
     },
     "response": [
      {
       "name": "200",
       "code": 200,
       "body": "{\n  \"success\": true,\n  \"data\": [\n    {\n      \"id\": \"…\",\n      \"employee\": {\n        \"id\": \"6f1c…\",\n        \"name\": \"Priya N.\"\n      },\n      \"date\": \"2026-11-17\",\n      \"status\": \"PRESENT\",\n      \"inTime\": \"09:32\",\n      \"outTime\": \"18:41\",\n      \"source\": \"BIOMETRIC\",\n      \"otHours\": 0.5\n    }\n  ]\n}"
      }
     ]
    },
    {
     "name": "Send a punch (biometric or app) [Sandbox]",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Authorization",
        "value": "Bearer {{access_token}}"
       },
       {
        "key": "Content-Type",
        "value": "application/json"
       },
       {
        "key": "Idempotency-Key",
        "value": "{{$guid}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/api/v1/hrms/attendance/punch",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "api",
        "v1",
        "hrms",
        "attendance",
        "punch"
       ],
       "query": [],
       "variable": []
      },
      "description": "For biometric devices and attendance apps: one punch in or out.\n\nStatus: Sandbox. Scope: attendance:write.",
      "body": {
       "mode": "raw",
       "raw": "{\n  \"employeeId\": \"6f1c…\",\n  \"at\": \"2026-11-18T09:31:00+05:30\"\n}"
      }
     },
     "response": [
      {
       "name": "200",
       "code": 200,
       "body": "{\n  \"success\": true,\n  \"data\": {\n    \"date\": \"2026-11-18\",\n    \"inTime\": \"09:31\"\n  }\n}"
      }
     ]
    },
    {
     "name": "List leave requests [Sandbox]",
     "request": {
      "method": "GET",
      "header": [
       {
        "key": "Authorization",
        "value": "Bearer {{access_token}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/api/v1/hrms/leave-requests",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "api",
        "v1",
        "hrms",
        "leave-requests"
       ],
       "query": [],
       "variable": []
      },
      "description": "Leave requests with type, dates and approval status.\n\nStatus: Sandbox. Scope: leave:read."
     },
     "response": [
      {
       "name": "200",
       "code": 200,
       "body": "{\n  \"success\": true,\n  \"data\": [\n    {\n      \"id\": \"…\",\n      \"employee\": {\n        \"name\": \"Priya N.\"\n      },\n      \"leaveType\": \"CL\",\n      \"from\": \"2026-11-24\",\n      \"to\": \"2026-11-25\",\n      \"status\": \"APPROVED\"\n    }\n  ]\n}"
      }
     ]
    }
   ]
  },
  {
   "name": "People: Payroll",
   "item": [
    {
     "name": "Start a payroll run [Sandbox]",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Authorization",
        "value": "Bearer {{access_token}}"
       },
       {
        "key": "Content-Type",
        "value": "application/json"
       },
       {
        "key": "Idempotency-Key",
        "value": "{{$guid}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/api/v1/hrms/payroll-runs",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "api",
        "v1",
        "hrms",
        "payroll-runs"
       ],
       "query": [],
       "variable": []
      },
      "description": "Creates the run for a month from attendance, leave and salary structures.\n\nStatus: Sandbox. Scope: payroll:write.",
      "body": {
       "mode": "raw",
       "raw": "{\n  \"month\": \"2026-11\"\n}"
      }
     },
     "response": [
      {
       "name": "200",
       "code": 200,
       "body": "{\n  \"success\": true,\n  \"data\": {\n    \"id\": \"r_31…\",\n    \"month\": \"2026-11\",\n    \"status\": \"DRAFT\",\n    \"employees\": 64\n  }\n}"
      }
     ]
    },
    {
     "name": "Get a payroll run [Sandbox]",
     "request": {
      "method": "GET",
      "header": [
       {
        "key": "Authorization",
        "value": "Bearer {{access_token}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/api/v1/hrms/payroll-runs/:id",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "api",
        "v1",
        "hrms",
        "payroll-runs",
        ":id"
       ],
       "query": [],
       "variable": [
        {
         "key": "id",
         "value": "",
         "description": "Run id"
        }
       ]
      },
      "description": "Totals for gross, net, TDS and employer cost, and who processed and paid it.\n\nStatus: Sandbox. Scope: payroll:read."
     },
     "response": [
      {
       "name": "200",
       "code": 200,
       "body": "{\n  \"success\": true,\n  \"data\": {\n    \"id\": \"r_31…\",\n    \"month\": \"2026-11\",\n    \"status\": \"PROCESSED\",\n    \"employees\": 64,\n    \"totalGross\": 3120000.0,\n    \"totalNet\": 2786400.0,\n    \"totalTds\": 141200.0,\n    \"totalCost\": 3410500.0\n  }\n}"
      }
     ]
    },
    {
     "name": "Payslips of a run [Sandbox]",
     "request": {
      "method": "GET",
      "header": [
       {
        "key": "Authorization",
        "value": "Bearer {{access_token}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/api/v1/hrms/payroll-runs/:id/payslips",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "api",
        "v1",
        "hrms",
        "payroll-runs",
        ":id",
        "payslips"
       ],
       "query": [],
       "variable": [
        {
         "key": "id",
         "value": "",
         "description": "Run id"
        }
       ]
      },
      "description": "One payslip per employee: paid days, loss of pay, gross, deductions and net pay.\n\nStatus: Sandbox. Scope: payroll:read."
     },
     "response": [
      {
       "name": "200",
       "code": 200,
       "body": "{\n  \"success\": true,\n  \"data\": [\n    {\n      \"id\": \"…\",\n      \"month\": \"2026-11\",\n      \"employee\": {\n        \"name\": \"Priya N.\"\n      },\n      \"paidDays\": 30,\n      \"lopDays\": 0,\n      \"gross\": 48000.0,\n      \"totalDeductions\": 4310.0,\n      \"netPay\": 43690.0\n    }\n  ]\n}"
      }
     ]
    }
   ]
  },
  {
   "name": "Sales: Billing",
   "item": [
    {
     "name": "List customer invoices [Sandbox]",
     "request": {
      "method": "GET",
      "header": [
       {
        "key": "Authorization",
        "value": "Bearer {{access_token}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/api/v1/billing/invoices",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "api",
        "v1",
        "billing",
        "invoices"
       ],
       "query": [],
       "variable": []
      },
      "description": "Invoices raised to your customers, with payments received.\n\nStatus: Sandbox. Scope: billing:read."
     },
     "response": [
      {
       "name": "200",
       "code": 200,
       "body": "{\n  \"success\": true,\n  \"data\": [\n    {\n      \"id\": \"…\",\n      \"number\": \"INV-2207\",\n      \"customer\": {\n        \"name\": \"Sharma Traders\"\n      },\n      \"total\": 141600.0,\n      \"status\": \"PAID\"\n    }\n  ]\n}"
      }
     ]
    },
    {
     "name": "Record a payment [Sandbox]",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Authorization",
        "value": "Bearer {{access_token}}"
       },
       {
        "key": "Content-Type",
        "value": "application/json"
       },
       {
        "key": "Idempotency-Key",
        "value": "{{$guid}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/api/v1/billing/invoices/:id/payments",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "api",
        "v1",
        "billing",
        "invoices",
        ":id",
        "payments"
       ],
       "query": [],
       "variable": [
        {
         "key": "id",
         "value": "",
         "description": "Invoice id"
        }
       ]
      },
      "description": "Marks money received against an invoice, for example from your payment gateway.\n\nStatus: Sandbox. Scope: billing:write.",
      "body": {
       "mode": "raw",
       "raw": "{\n  \"amount\": 141600.0,\n  \"date\": \"2026-11-18\",\n  \"mode\": \"UPI\",\n  \"reference\": \"UTR 4321…\"\n}"
      }
     },
     "response": [
      {
       "name": "200",
       "code": 200,
       "body": "{\n  \"success\": true,\n  \"data\": {\n    \"balance\": 0.0\n  }\n}"
      }
     ]
    }
   ]
  },
  {
   "name": "Finance: Books",
   "item": [
    {
     "name": "Create a GST invoice in Books [Sandbox]",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Authorization",
        "value": "Bearer {{access_token}}"
       },
       {
        "key": "Content-Type",
        "value": "application/json"
       },
       {
        "key": "Idempotency-Key",
        "value": "{{$guid}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/api/v1/books/invoices",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "api",
        "v1",
        "books",
        "invoices"
       ],
       "query": [],
       "variable": []
      },
      "description": "GST split (CGST, SGST or IGST) is worked out from the place of supply.\n\nStatus: Sandbox. Scope: finance:write.",
      "body": {
       "mode": "raw",
       "raw": "{\n  \"customerId\": \"c_12…\",\n  \"date\": \"2026-11-18\",\n  \"creditDays\": 30,\n  \"gstRate\": 18,\n  \"lines\": [\n    {\n      \"description\": \"Annual subscription\",\n      \"hsn\": \"998314\",\n      \"quantity\": 1,\n      \"rate\": 120000\n    }\n  ]\n}"
      }
     },
     "response": [
      {
       "name": "200",
       "code": 200,
       "body": "{\n  \"success\": true,\n  \"data\": {\n    \"number\": \"INV-3381\",\n    \"taxable\": 120000.0,\n    \"cgst\": 10800.0,\n    \"sgst\": 10800.0,\n    \"igst\": 0,\n    \"total\": 141600.0\n  }\n}"
      }
     ]
    },
    {
     "name": "Post a journal [Sandbox]",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Authorization",
        "value": "Bearer {{access_token}}"
       },
       {
        "key": "Content-Type",
        "value": "application/json"
       },
       {
        "key": "Idempotency-Key",
        "value": "{{$guid}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/api/v1/books/journals",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "api",
        "v1",
        "books",
        "journals"
       ],
       "query": [],
       "variable": []
      },
      "description": "Debits must equal credits. Up to 50 lines, amounts in rupees and paise.\n\nStatus: Sandbox. Scope: finance:write.",
      "body": {
       "mode": "raw",
       "raw": "{\n  \"date\": \"2026-11-18\",\n  \"narration\": \"Bank charges\",\n  \"lines\": [\n    {\n      \"accountCode\": \"6100\",\n      \"debit\": 250.0\n    },\n    {\n      \"accountCode\": \"1200\",\n      \"credit\": 250.0\n    }\n  ]\n}"
      }
     },
     "response": [
      {
       "name": "200",
       "code": 200,
       "body": "{\n  \"success\": true,\n  \"data\": {\n    \"number\": \"JV-0412\",\n    \"totalDebit\": 250.0,\n    \"totalCredit\": 250.0\n  }\n}"
      }
     ]
    },
    {
     "name": "Trial balance [Sandbox]",
     "request": {
      "method": "GET",
      "header": [
       {
        "key": "Authorization",
        "value": "Bearer {{access_token}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/api/v1/books/reports/trial-balance",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "api",
        "v1",
        "books",
        "reports",
        "trial-balance"
       ],
       "query": [
        {
         "key": "from",
         "value": "",
         "description": "YYYY-MM-DD"
        },
        {
         "key": "to",
         "value": "",
         "description": "YYYY-MM-DD"
        }
       ],
       "variable": []
      },
      "description": "Balances by account for a date range, for your CA or reporting tool.\n\nStatus: Sandbox. Scope: finance:read."
     },
     "response": [
      {
       "name": "200",
       "code": 200,
       "body": "{\n  \"success\": true,\n  \"data\": {\n    \"rows\": [\n      {\n        \"accountCode\": \"1200\",\n        \"accountName\": \"Bank\",\n        \"debit\": 845000.0,\n        \"credit\": 0\n      }\n    ]\n  }\n}"
      }
     ]
    }
   ]
  },
  {
   "name": "Connect: TallyPrime",
   "item": [
    {
     "name": "Bridge: collect jobs for Tally [Live]",
     "request": {
      "method": "GET",
      "header": [
       {
        "key": "Authorization",
        "value": "Bearer {{tally_key}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/api/tally/bridge/jobs",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "api",
        "tally",
        "bridge",
        "jobs"
       ],
       "query": [],
       "variable": []
      },
      "description": "Used by the USR Tally Bridge on the Tally PC. It asks every 10 seconds over HTTPS (outbound only) and runs each job against TallyPrime on localhost:9000. The company admin creates the key on the Connections page; USR keeps only its hash.\n\nStatus: Live. Scope: Tally bridge key."
     },
     "response": [
      {
       "name": "200",
       "code": 200,
       "body": "{\n  \"jobs\": [\n    {\n      \"id\": \"0c9e…\",\n      \"kind\": \"voucher\",\n      \"xml\": \"<ENVELOPE>…</ENVELOPE>\",\n      \"check\": {\n        \"type\": \"Sales\",\n        \"number\": \"INV-3381\",\n        \"date\": \"20261118\",\n        \"tag\": \"[USR:books:INV-3381]\"\n      }\n    }\n  ]\n}"
      }
     ]
    },
    {
     "name": "Bridge: send Tally's answer [Live]",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Authorization",
        "value": "Bearer {{tally_key}}"
       },
       {
        "key": "Content-Type",
        "value": "application/json"
       },
       {
        "key": "Idempotency-Key",
        "value": "{{$guid}}"
       }
      ],
      "url": {
       "raw": "{{base_url}}/api/tally/bridge/jobs/:id",
       "host": [
        "{{base_url}}"
       ],
       "path": [
        "api",
        "tally",
        "bridge",
        "jobs",
        ":id"
       ],
       "query": [],
       "variable": [
        {
         "key": "id",
         "value": "",
         "description": "Job id"
        }
       ]
      },
      "description": "The bridge sends back what Tally answered. A voucher already in Tally is never posted twice.\n\nStatus: Live. Scope: Tally bridge key.",
      "body": {
       "mode": "raw",
       "raw": "{\n  \"ok\": true,\n  \"result\": \"<RESPONSE>…</RESPONSE>\"\n}"
      }
     },
     "response": [
      {
       "name": "200",
       "code": 200,
       "body": "{\n  \"ok\": true\n}"
      }
     ]
    }
   ]
  }
 ]
}