Demiton · Schema

gl_journal_entry contract v2

General ledger journal entries: payroll, payables, receivables and manual postings.

CompanyConstructionCivil EngineeringProject ManagementComplianceMCPArtificial IntelligenceOpen Contracting

Properties

Name Type Description
project string the job the entry is attributed to, when the source supplies one
currency currency reporting currency of the amounts
gl_account string the ledger account the line posts to
description string the source's free-text journal description
external_id number the source system's own entry identifier, e.g. BC `entryNumber`
occurred_at string the posting date the entry was booked on
debit_amount number debit movement of the line
legal_entity string the company whose ledger the entry belongs to
credit_amount number credit movement of the line
document_type string the journal/document type of the entry
document_number string the source document the entry belongs to
financial_period string the accounting period the entry falls in
View JSON Schema on GitHub

JSON Schema

demiton-io-gl_journal_entry-v2-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.demiton.io/registers/gl_journal_entry/v2.json",
  "title": "gl_journal_entry contract v2",
  "type": "object",
  "required": [
    "credit_amount",
    "debit_amount",
    "external_id",
    "financial_period",
    "gl_account",
    "occurred_at"
  ],
  "properties": {
    "project": {
      "type": "string",
      "description": "the job the entry is attributed to, when the source supplies one",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "currency": {
      "type": "currency",
      "description": "reporting currency of the amounts",
      "x-demiton-requiredness": "optional"
    },
    "gl_account": {
      "type": "string",
      "description": "the ledger account the line posts to",
      "x-demiton-requiredness": "required",
      "x-demiton-reference": true
    },
    "description": {
      "type": "string",
      "description": "the source's free-text journal description",
      "x-demiton-requiredness": "optional"
    },
    "external_id": {
      "type": "number",
      "description": "the source system's own entry identifier, e.g. BC `entryNumber`",
      "x-demiton-requiredness": "required"
    },
    "occurred_at": {
      "type": "string",
      "description": "the posting date the entry was booked on",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "instant",
      "format": "date-time",
      "x-demiton-type": "datetime"
    },
    "debit_amount": {
      "type": "number",
      "description": "debit movement of the line",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "AUD (by coordinate)",
      "x-demiton-type": "decimal"
    },
    "legal_entity": {
      "type": "string",
      "description": "the company whose ledger the entry belongs to",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "credit_amount": {
      "type": "number",
      "description": "credit movement of the line",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "AUD (by coordinate)",
      "x-demiton-type": "decimal"
    },
    "document_type": {
      "type": "string",
      "description": "the journal/document type of the entry",
      "x-demiton-requiredness": "optional"
    },
    "document_number": {
      "type": "string",
      "description": "the source document the entry belongs to",
      "x-demiton-requiredness": "optional"
    },
    "financial_period": {
      "type": "string",
      "description": "the accounting period the entry falls in",
      "x-demiton-requiredness": "required",
      "x-demiton-reference": true
    }
  },
  "x-demiton-register-type": "gl_journal_entry",
  "x-demiton-contract-version": "2.0.1",
  "x-demiton-store": "tenant",
  "x-demiton-axes": [
    {
      "axis": "gl_account",
      "requirement": "optional",
      "role": "context"
    },
    {
      "axis": "legal_entity",
      "requirement": "optional",
      "role": "context"
    },
    {
      "axis": "financial_period",
      "requirement": "required",
      "role": "context"
    },
    {
      "axis": "project",
      "requirement": "optional",
      "role": "subject"
    },
    {
      "axis": "currency",
      "requirement": "optional",
      "role": "context"
    }
  ],
  "x-demiton-measures": [
    {
      "key": "credit_amount",
      "accumulation": "additive",
      "dtype": "decimal",
      "unit": "by_coordinate"
    },
    {
      "key": "debit_amount",
      "accumulation": "additive",
      "dtype": "decimal",
      "unit": "by_coordinate"
    }
  ],
  "x-demiton-provenance": {
    "standards": [
      {
        "code": "ATO record-keeping rules",
        "title": "ATO business record-keeping rules (ITAA 1936 s 262A; TAA 1953 Sch 1 s 382-5)",
        "access": "public_summary",
        "region": "Australia",
        "edition": "ATO page updated 2025-08-01",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Corporations Act 2001 (Cth) s 286",
        "title": "Corporations Act 2001 (Cth) - obligation to keep financial records",
        "access": "full_text_verified",
        "clause": "s 286(1), 286(2) (7 years)",
        "region": "Australia",
        "edition": "current",
        "checked_on": "2026-09-14"
      }
    ]
  },
  "description": "General ledger journal entries: payroll, payables, receivables and manual postings.",
  "x-demiton-contract-url": "https://docs.demiton.io/registers/gl_journal_entry/",
  "x-demiton-register-catalog": "https://docs.demiton.io/concepts/register-catalog"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/demiton-io-gl_journal_entry-v2"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.