{
 "openapi": "3.1.0",
 "info": {
  "title": "Garnishment Remittances (HRMS)",
  "version": "20261030b",
  "description": "What each payroll run withheld under each order, one remittance per payee, its file (with the child support DED addenda) and the payment reference once it is sent."
 },
 "servers": [
  {
   "url": "https://{tenant}.tranxact.ai",
   "variables": {
    "tenant": {
     "default": "demo"
    }
   }
  }
 ],
 "components": {
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  },
  "schemas": {}
 },
 "security": [
  {
   "bearer": []
  }
 ],
 "paths": {
  "/api/hrms/garnishment-remittances": {
   "get": {
    "summary": "Read garnishment remittances",
    "operationId": "action_garnishment_remittances_0_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/garnishment-remittances/build": {
   "post": {
    "summary": "Build",
    "operationId": "action_garnishment_remittances_0_5",
    "description": "Body keys: runId*, rebuild",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/garnishment-remittances/{id}": {
   "get": {
    "summary": "Read garnishment remittances",
    "operationId": "action_garnishment_remittances_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/garnishment-remittances/{id}/download": {
   "get": {
    "summary": "Download",
    "operationId": "action_garnishment_remittances_0_6",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/garnishment-remittances/{id}/remitted": {
   "post": {
    "summary": "Remitted",
    "operationId": "action_garnishment_remittances_0_6",
    "description": "Body keys: reference",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/hrms/garnishment-remittances/{id}/void": {
   "post": {
    "summary": "Void",
    "operationId": "action_garnishment_remittances_0_6",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  }
 }
}