Mynto · Schema

JournalEntry is a bilag: a posted (or draft) accounting entry.

Amounts are always in minor units (øre). There is no float anywhere in this API — a rounding error in an accounting system is not a bug you find later, it is a bug an auditor finds later.

CompanyAccountingAutomationFinanceSoftware-as-a-ServiceNorway

Properties

Name Type Description
description string
docNumber integer the entry is still a draft.
entryDate string
id integer
lines array
needsDoc boolean
sourceTransactionId string from; empty when the entry was not bank-driven.
status string
View JSON Schema on GitHub

JSON Schema

mynto-no-publicapi-journal-entry-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mynto-no/json-schema/mynto-no-publicapi-journal-entry-schema.json",
  "title": "JournalEntry is a bilag: a posted (or draft) accounting entry.\n",
  "description": "Amounts are always in minor units (øre). There is no float anywhere in this API — a rounding error in an accounting system is not a bug you find later, it is a bug an auditor finds later.\n",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mynto-no-openapi.yml#/components/schemas/publicapi.JournalEntry",
  "properties": {
    "description": {
      "type": "string"
    },
    "docNumber": {
      "description": "the entry is still a draft.\n",
      "format": "int64",
      "title": "DocNumber is the sequential bilagsnummer, assigned on posting. Null while\n",
      "type": "integer"
    },
    "entryDate": {
      "title": "YYYY-MM-DD\n",
      "type": "string"
    },
    "id": {
      "format": "int64",
      "type": "integer"
    },
    "lines": {
      "items": {
        "$ref": "#/$defs/publicapi.JournalLine"
      },
      "type": "array"
    },
    "needsDoc": {
      "title": "NeedsDoc is true when the entry is still missing its receipt (bilag).\n",
      "type": "boolean"
    },
    "sourceTransactionId": {
      "description": "from; empty when the entry was not bank-driven.\n",
      "title": "SourceTransactionID links the entry to the bank transaction it was booked\n",
      "type": "string"
    },
    "status": {
      "title": "Status: draft | posted.\n",
      "type": "string"
    }
  },
  "required": [
    "id",
    "docNumber",
    "entryDate",
    "description",
    "status",
    "needsDoc",
    "sourceTransactionId",
    "lines"
  ],
  "type": "object",
  "$defs": {
    "publicapi.JournalLine": {
      "description": "and creditMinor is non-zero, and an entry's debits always equal its credits.\n",
      "properties": {
        "accountCode": {
          "format": "int64",
          "title": "AccountCode is an NS 4102 account, e.g. 3000 (salgsinntekt) or 1920 (bank).\n",
          "type": "integer"
        },
        "creditMinor": {
          "format": "int64",
          "type": "integer"
        },
        "debitMinor": {
          "format": "int64",
          "type": "integer"
        }
      },
      "required": [
        "accountCode",
        "debitMinor",
        "creditMinor"
      ],
      "title": "JournalLine is one side of a double-entry posting. Exactly one of debitMinor\n",
      "type": "object"
    }
  }
}

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/mynto-no-publicapi-journal-entry"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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