Documents and document types

Javascript Extensions can work with different types of Banana Accounting documents, such as double-entry accounting, cash books, or estimates and invoices.

The document type determines the structure of the data and the specific API functions available to process it.

Document types

Banana Accounting identifies document types using a group code and a specific type code. The extension's @doctype attribute uses these codes to declare which documents it supports.

  • Double-entry accounting (100.*)
  • Income and expense accounting (110.*)
  • Cash book (130.*)
  • Simple table (400.100)
  • Addresses and labels (400.120)
  • Library and collections (400.140)
  • Fixed assets register (400.150)
  • Estimates and invoices (400.400)
  • Inventory (400.500)
  • Timesheet (400.600)

Within an accounting group, specific codes identify different features. For example:

  • Whitout VAT and without foreign currencies (100.100)
  • With VAT (100.110)
  • With foreign currencies (100.120)
  • With VAT and foreign currencies (100.130)