{
 "openapi": "3.1.0",
 "info": {
  "title": "Intercompany (Accounting)",
  "version": "20261030b",
  "description": "The intercompany service of Accounting: 4 operation(s)."
 },
 "servers": [
  {
   "url": "https://{tenant}.tranxact.ai",
   "variables": {
    "tenant": {
     "default": "demo"
    }
   }
  }
 ],
 "components": {
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  },
  "schemas": {}
 },
 "security": [
  {
   "bearer": []
  }
 ],
 "paths": {
  "/api/accounting/intercompany/{id}/raise": {
   "post": {
    "summary": "Raise",
    "operationId": "action_intercompany_0_6",
    "description": "Body keys: arAccountNo, apAccountNo, revenueAccountNo, expenseAccountNo",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/accounting/intercompany/positions": {
   "get": {
    "summary": "Positions",
    "operationId": "action_intercompany_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/accounting/intercompany/reconcile": {
   "post": {
    "summary": "Reconcile",
    "operationId": "action_intercompany_0_5",
    "description": "Body keys: reconNo, currency, orgAId*, orgBId, periodCode, tolerance",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/accounting/intercompany/reconciliations/{id}/agree": {
   "post": {
    "summary": "Reconciliations agree",
    "operationId": "action_intercompany_0_7",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  }
 }
}