Get total values for general ledger

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://restapi.wyzio.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Wyzio MCP server": {
  "url": "https://restapi.wyzio.com/mcp"
}
Close
GET /api-v1/ledger/advanced/total

Headers

  • WEAL-TOKEN Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID

    ID of organization, for which the operation must be performed

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id integer
    • organizationId integer
    • entryId integer
    • entryDate string(date-time)
    • sortOrder integer(int32)
    • entryType string

      Values are OPENING, MANUAL, PURCHASE_INVOICE, SALES_INVOICE, SALARY_SLIP, STOCK, CLOSING, SYSTEM, SYSTEM_FX, SYSTEM_PFUV, or FIXED_ASSET.

    • accountId integer
    • foreignCurrencyCode string
    • foreignDebit number
    • foreignCredit number
    • foreignTotal number
    • companyDebit number
    • companyCredit number
    • companyTotal number
    • account object
      Hide account attributes Show account attributes object
      • en string
      • fr string
      • de string
      • it string
    • description string
    • warnings string
    • hasWarnings boolean
    • tenantId integer
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/ledger/advanced/total
curl \
 --request GET 'https://wyzio.app/api-v1/ledger/advanced/total'
Response examples (200)
{
  "id": 42,
  "organizationId": 42,
  "entryId": 42,
  "entryDate": "2026-05-04T09:42:00Z",
  "sortOrder": 42,
  "entryType": "OPENING",
  "accountId": 42,
  "foreignCurrencyCode": "string",
  "foreignDebit": 42.0,
  "foreignCredit": 42.0,
  "foreignTotal": 42.0,
  "companyDebit": 42.0,
  "companyCredit": 42.0,
  "companyTotal": 42.0,
  "account": {
    "en": "string",
    "fr": "string",
    "de": "string",
    "it": "string"
  },
  "description": "string",
  "warnings": "string",
  "hasWarnings": true,
  "tenantId": 42
}