{
 "openapi": "3.1.0",
 "info": {
  "title": "Movement (Supply Chain)",
  "version": "20261030b",
  "description": "The movement service of Supply Chain: 10 operation(s)."
 },
 "servers": [
  {
   "url": "https://{tenant}.tranxact.ai",
   "variables": {
    "tenant": {
     "default": "demo"
    }
   }
  }
 ],
 "components": {
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  },
  "schemas": {}
 },
 "security": [
  {
   "bearer": []
  }
 ],
 "paths": {
  "/api/scm/movement/apps": {
   "get": {
    "summary": "Apps",
    "operationId": "action_movement_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/scm/movement/sources": {
   "get": {
    "summary": "Sources",
    "operationId": "action_movement_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/scm/movement/document-lines": {
   "get": {
    "summary": "Document lines",
    "operationId": "action_movement_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/scm/movement/ocr": {
   "post": {
    "summary": "Ocr",
    "operationId": "action_movement_0_5",
    "description": "Body keys: file*, mediaType, note",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/scm/movement/from-document": {
   "post": {
    "summary": "From document",
    "operationId": "action_movement_0_5",
    "description": "Body keys: file*, mediaType, note, movementType, warehouseId, binId; movementType one of goods_receipt|goods_issue|transfer|physical_inventory|cycle_count|scrap|return_to_vendor|put_away|pick|initial_stock",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/scm/movement/reverse/{id}": {
   "post": {
    "summary": "Reverse",
    "operationId": "action_movement_0_6",
    "description": "Body keys: reason*",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/scm/movement/documents/{id}": {
   "get": {
    "summary": "Documents",
    "operationId": "action_movement_0_6",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/scm/movement/rfid-receipt": {
   "post": {
    "summary": "Rfid receipt",
    "operationId": "action_movement_0_5",
    "description": "Body keys: commit, epc*, binId, readerId, postingDate",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/scm/movement/available": {
   "get": {
    "summary": "Available",
    "operationId": "action_movement_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/scm/movement/by-number/{no}": {
   "get": {
    "summary": "By number",
    "operationId": "action_movement_0_6",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  }
 }
}