Chart of Account Templates

A Ledger Chart of Accounts template is a json file with two main components, accounts and section definitions. Accounts define locations where balances are stored; sections define groups of accounts used for statement generation purposes. The title component provides a description for the artisan ledger:list command.

Templates are defined as JSON files.

Example:

{
  "title": "Abbreviated Example Chart",
  "accounts": [
    {
      "names": [
        {
          "name": "Assets",
          "language": "en"
        }
      ],
      "code": "1000",
      "category": true,
      "debit": true
    },
    {
      "names": [
        {
          "name": "Current Assets",
          "language": "en"
        }
      ],
      "code": "1100",
      "parent": {
        "code": "1000"
      },
      "category": true,
      "debit": true
    },
    {
      "names": [
        {
          "name": "Liabilities",
          "language": "en"
        }
      ],
      "code": "2000",
      "category": true,
      "credit": true
    },
    {
      "names": [
        {
          "name": "Current Liabilities",
          "language": "en"
        }
      ],
      "code": "2100",
      "parent": {
        "code": "2000"
      },
      "category": true,
      "credit": true
    },
    {
      "names": [
        {
          "name": "Notes payable",
          "language": "en"
        }
      ],
      "code": "2110",
      "parent": {
        "code": "2100"
      },
      "credit": true
    }
  ],
  "sections": [
    {
      "name": "Current Assets",
      "codes": ["1100"]
    },
    {
      "name": "Current Liabilities",
      "credit": true,
      "codes": ["2100"]
    }
  ]
}