{
  "info": {
    "name": "KPRA RIMS API",
    "_postman_id": "rims-collection",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "Live API - Submit Invoice",
      "request": {
        "method": "POST",
        "header": [
          { "key": "Content-Type", "value": "application/json" }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"ntn\": \"K123456\",\n  \"pos_id\": \"K123456\",\n  \"key\": \"KPRA@123a\",\n  \"invoice_no\": \"INV123\",\n  \"total_amount\": 220,\n  \"sales_tax\": 20,\n  \"tax_rate\": 5,\n  \"date\": \"2025-10-22 12:17:57\"\n}"
        },
        "url": {
          "raw": "https://kpra.gov.pk/api/rims-integration",
          "protocol": "https",
          "host": ["kpra", "gov", "pk"],
          "path": ["api", "rims-integration"]
        }
      }
    },
    {
      "name": "Middleware API - Submit Invoice",
      "request": {
        "method": "POST",
        "header": [
          { "key": "Content-Type", "value": "application/json" }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"ntn\": \"K123456\",\n  \"pos_id\": \"K123456\",\n  \"key\": \"KPRA@123a\",\n  \"invoice_no\": \"INV123\",\n  \"amount\": 200,\n  \"tax_rate\": 5,\n  \"tax_amount\": 20,\n  \"total_amount\": 220,\n  \"date_time\": \"2025-10-22 12:17:57\"\n}"
        },
        "url": {
          "raw": "http://localhost:3000/api/invoice",
          "protocol": "http",
          "host": ["localhost"],
          "port": "3000",
          "path": ["api", "invoice"]
        }
      }
    }
  ]
}