Compare commits

..

249 Commits

Author SHA1 Message Date
Pratik Vyas
4d911db902 Release 4.0.0 2014-05-05 19:14:45 +05:30
Nabin Hait
b99a3517c3 Merge branch 'develop' of github.com:frappe/erpnext into develop 2014-05-05 18:42:07 +05:30
Nabin Hait
98c2a052e5 Fixes in pricing rule testcases #565 2014-05-05 18:41:41 +05:30
Nabin Hait
ac1bc212ea Merge branch 'develop' of github.com:frappe/erpnext into develop 2014-05-05 18:27:31 +05:30
Anand Doshi
91b451b8ce Updated validate v3 patch 2014-05-05 18:25:37 +05:30
Anand Doshi
648062d071 Fixes in test cases 2014-05-05 16:46:38 +05:30
Rushabh Mehta
45a3226645 minor 2014-05-05 15:16:11 +05:30
Nabin Hait
f2db87a766 Pricing Rule: If rule for price applied, discount rule against price list should not be applied #565 2014-05-05 15:04:55 +05:30
Nabin Hait
53dab55703 Pricing Rule: if multiple rules, ask to resolve conflict #565 2014-05-05 14:49:40 +05:30
Nabin Hait
0c7e28ec9f Pricing Rule improvements #565 2014-05-05 11:13:36 +05:30
Nabin Hait
ed8a845e83 POS Make Payment dialog box fix #1441 2014-05-05 11:01:32 +05:30
Nabin Hait
d5886f36af Merge branch 'develop' of github.com:frappe/erpnext into develop 2014-05-05 10:28:20 +05:30
Nabin Hait
f57f0a661a Stock Entry: pulling items from BOM fixed #1579 2014-05-05 10:27:53 +05:30
Anand Doshi
69e0cb5d6f Fixed POS and Sales Invoice paid amount display, when invoice not submitted. Fixes #1573 2014-05-04 19:37:45 +05:30
Anand Doshi
2af558598c Fixed travis 2014-05-04 16:13:33 +05:30
Nabin Hait
6dad4e9e89 Merge branch 'develop' of github.com:frappe/erpnext into develop 2014-05-04 16:02:44 +05:30
Nabin Hait
a096b2004f Financial analytics graph fix #1542 2014-05-04 16:02:26 +05:30
Anand Doshi
4ab5382d3f Item Group delete permission, Serial No status and item code should be non-editable. Fixes #1564 2014-05-04 11:50:10 +05:30
Rushabh Mehta
24a3ec57e3 update to tests 2014-05-03 16:22:46 +05:30
Anand Doshi
75042fd502 Show Activity entries based on permissions. Completely fixes #1481 2014-05-02 19:44:28 +05:30
Anand Doshi
2b0e4266cf Go to home page on clicking left arrow in note list 2014-05-02 19:43:11 +05:30
Anand Doshi
ef5407479a Show Chart of Accounts in Accounts > Documents. Fixes #1559 2014-05-02 19:42:27 +05:30
Anand Doshi
56f29cbb27 Fixed contact page response. Fixes #1557 2014-05-02 18:17:39 +05:30
Nabin Hait
232954d4b9 Fixed updating cost on BOM after submission #1563 2014-05-02 17:51:24 +05:30
Nabin Hait
053a87edf6 Merge branch 'develop' of github.com:frappe/erpnext into develop 2014-05-02 17:37:38 +05:30
Nabin Hait
296d626e53 Back flush issue fixed in sub contracting #1567 2014-05-02 17:36:13 +05:30
Nabin Hait
bc83b9c1ac minor fix 2014-05-02 17:03:18 +05:30
Anand Doshi
b71a18cd1e Leave Allocation Tool and Employee. Fixes #1555 2014-05-02 16:23:51 +05:30
Nabin Hait
2cebf9b499 minor fix #1565 2014-05-02 16:12:07 +05:30
Nabin Hait
ef30932807 Merge branch 'develop' of github.com:frappe/erpnext into develop 2014-05-02 15:45:52 +05:30
Nabin Hait
6b03914731 asynchronus issue in get_party_details 2014-05-02 15:45:10 +05:30
Anand Doshi
f29bcaf436 Added new fixtures (Fixes #1540). Removed Employee Grade from HR. 2014-05-02 13:55:07 +05:30
Rushabh Mehta
4ceb20e07f hooks.txt -> hooks.py 2014-05-02 12:15:11 +05:30
Nabin Hait
1e6c32e95f Address and contact creation from opportunity #1570 2014-05-02 11:42:24 +05:30
Nabin Hait
92c4fc4e19 Merge branch 'develop' of github.com:frappe/erpnext into develop 2014-05-02 10:27:17 +05:30
Nabin Hait
d341254786 Purchase receipt to purchase invoice item 2014-05-01 17:42:21 +05:30
Anand Doshi
51e6d2228d Salary Slip - read permission for Employee. Fixes #1553 2014-05-01 16:28:13 +05:30
Nabin Hait
292a254bc1 payment to invoice matching tool disabled temporarily 2014-05-01 15:46:37 +05:30
Nabin Hait
5b98340d15 payment to invoice matching 2014-05-01 15:43:22 +05:30
Nabin Hait
e5bd955f4d Merge branch 'develop' of github.com:frappe/erpnext into develop 2014-05-01 09:56:14 +05:30
Anand Doshi
d9f0f27cd4 Fixes in test cases 2014-04-30 22:16:25 +05:30
Nabin Hait
dcfad4f645 Merge branch 'develop' of github.com:frappe/erpnext into develop 2014-04-30 20:32:07 +05:30
Nabin Hait
613919325d Fixes in link field queries 2014-04-30 20:30:33 +05:30
Rushabh Mehta
a15164750d started client side testing using selenium and other related and unrelated fixes 2014-04-30 19:39:13 +05:30
Nabin Hait
b85a9108eb Payment to invoice matching tool 2014-04-30 19:32:16 +05:30
Nabin Hait
498ecfc192 Merge branch 'develop' of github.com:frappe/erpnext into develop 2014-04-30 19:31:22 +05:30
Nabin Hait
576f025c84 Payment to invoice matching tool 2014-04-30 19:30:50 +05:30
Anand Doshi
a47bf2ab66 Removed check for duplicate in sales bom, set default income account in Company 2014-04-30 18:54:05 +05:30
Anand Doshi
f62da519d6 Sales BOM Parent Item search - Fixes #1544 2014-04-30 16:50:39 +05:30
Anand Doshi
04f8990c11 Fixed can freeze account check for account doc in client side 2014-04-30 15:02:17 +05:30
Rushabh Mehta
33003c6168 fix for feature setup in install.py 2014-04-30 11:16:02 +05:30
Rushabh Mehta
104c9f465d updated translations 2014-04-29 18:36:27 +05:30
Rushabh Mehta
d21f55b5d2 fix in naming and feature setup on install: 2014-04-29 16:25:07 +05:30
Nabin Hait
b54307d58e minor fixes for pos trigger 2014-04-29 13:40:54 +05:30
Nabin Hait
b1777ecfd8 Merge branch 'develop' of github.com:frappe/erpnext into develop 2014-04-29 11:31:37 +05:30
Nabin Hait
17910aa0d6 Removed income and expense related info temporarily from email digest 2014-04-29 11:31:11 +05:30
Anand Doshi
cd17bdffcd Fixes in account query, fiscal year and cost center 2014-04-28 20:34:48 +05:30
Nabin Hait
6777efa7fa Merge branch 'develop' of github.com:frappe/erpnext into develop 2014-04-28 17:09:13 +05:30
Nabin Hait
985918d42b Minor fixes in company and account 2014-04-28 17:08:28 +05:30
Anand Doshi
69aa8ffac4 Fixed as_dict of employee.py 2014-04-28 16:51:34 +05:30
Nabin Hait
2594e41462 Removed Stock Ledger doctype 2014-04-28 16:23:45 +05:30
Nabin Hait
48962e1148 Minor fix in sales funnel report 2014-04-28 15:43:32 +05:30
Anand Doshi
65f83cbae7 BugFix: Sales Order with Order Type as Shopping Cart 2014-04-28 15:33:34 +05:30
Anand Doshi
3b3d55cda2 Usability: Set For Warehouse and Work-in-Progress Warehouse as mandatory, when the user clicks Submit 2014-04-28 15:33:34 +05:30
Anand Doshi
4c90bae16d BugFix: Item search in Production Planning Tool 2014-04-28 15:33:34 +05:30
Anand Doshi
6916baa299 BugFix: Item search in Stock UOM Replace Utility 2014-04-28 15:33:34 +05:30
Nabin Hait
ac87c1d618 Merge pull request #1537 from n3storm/develop
Update mode_of_payment.py
2014-04-28 15:32:31 +05:30
Néstor Díaz Valencia
21412ddf65 Update mode_of_payment.py
Renamed solves issue #1536
2014-04-28 11:54:31 +02:00
Rushabh Mehta
41d126586e fix get_server_fields in stock_entry.js 2014-04-27 12:30:20 +05:30
Anand Doshi
8e5b2af0fb Set conversion_factor in stock entry test case 2014-04-25 19:35:06 +05:30
Anand Doshi
fc79efb97c Fixes #1532. Only show an error message for missing Quality Inspection but let the user submit Purchase Receipt. 2014-04-25 18:44:28 +05:30
Anand Doshi
1872312cc6 Deprecated client side mapper: frappe.model.map. Fixes #1530 2014-04-25 18:38:08 +05:30
Anand Doshi
e3f6b6d899 Fixed Opportunity Lost UX 2014-04-25 18:36:06 +05:30
Anand Doshi
69a2c25ca5 Fixed set_query 2014-04-25 18:35:45 +05:30
Anand Doshi
bbffaf78fb BugFix: use transfer_qty instead of actual_qty in check_duplicate_entry_for_production_order - ported webnotes/erpnext@942ff2583b 2014-04-25 18:31:09 +05:30
Anand Doshi
8bde7f9b3a Conditionally toggle Naming Series. Fixes #1526 2014-04-24 18:11:49 +05:30
Anand Doshi
7f2d08b03f Fixed Naming Series page loading fails #1524 2014-04-24 13:51:35 +05:30
Anand Doshi
8c62c40a3d Fixed Make Sales Order from Quotation #1522 2014-04-24 12:40:19 +05:30
Anand Doshi
78eeacb53c Fixes in Lead, Opportunity, Quotation, Setup Wizard 2014-04-23 19:15:15 +05:30
Anand Doshi
f50a65294f Fixed NameError handling 2014-04-23 13:41:28 +05:30
Anand Doshi
b054eb7a4f Call calculate_taxes_and_totals after mapping 2014-04-22 20:35:22 +05:30
Anand Doshi
4bb87373dc Fixed default website creation
Default website generation was creating company page twice,
which led to duplicate website route validation
2014-04-22 19:50:08 +05:30
Anand Doshi
68d0b7c7ff get_item_details fixed for Material Request 2014-04-22 19:30:53 +05:30
Anand Doshi
3e41fd1fd3 List route for tree browser based doctypes; Fixes to add child in tree browsers 2014-04-22 18:55:21 +05:30
Rushabh Mehta
4ef1835bee website updates 2014-04-22 16:52:35 +05:30
Anand Doshi
2944f49974 Setup Wizard: on country select, change date format, save logo in Website Settings > Brand HTML 2014-04-22 16:25:58 +05:30
Anand Doshi
07339fc69e Fixes in Setup Wizard and Attachments 2014-04-22 15:30:24 +05:30
Rushabh Mehta
3f51705ba4 website cleanups 2014-04-21 22:10:43 +05:30
Anand Doshi
0549b1c5c9 Duplicate supplier delivery number validation in Purchase Receipt should happen per financial year 2014-04-21 15:59:47 +05:30
Anand Doshi
21ae930b4c Removed controller.py 2014-04-21 15:12:50 +05:30
Anand Doshi
424c033395 Removed controller.py 2014-04-21 15:06:56 +05:30
Rushabh Mehta
40b2b03bcb demo fixes 2014-04-21 13:43:35 +05:30
Rushabh Mehta
f63513ed38 minor fixes to website 2014-04-21 13:43:35 +05:30
Anand Doshi
9365b616b8 Added an exist check for accounts.utils.get_balance_on 2014-04-21 12:42:21 +05:30
Anand Doshi
cbbf451974 Fixes throw 2014-04-21 11:33:49 +05:30
Rushabh Mehta
0900beecb2 added languages.txt 2014-04-18 16:24:28 +05:30
Anand Doshi
5d591ebe83 Item, Item Group and Partner Web Page generators moved from Shopping Cart to ERPNext 2014-04-18 16:20:07 +05:30
Rushabh Mehta
603e6e21b5 test fixes 2014-04-18 16:17:29 +05:30
Rushabh Mehta
370a024e46 cleaned up sample website and separated fixtures by country 2014-04-18 16:00:41 +05:30
Rushabh Mehta
169c1fd93b fixed translation for setup-wizard and removed purchase validation for Material Request #925 2014-04-18 10:40:17 +05:30
Anand Doshi
ac32bad25a Fixes in Taxes, Quotation and Address Territory 2014-04-18 01:32:02 +05:30
Pratik Vyas
33e1db8c40 Add language to setup wizard (travis) 2014-04-17 19:04:34 +05:30
Rushabh Mehta
52e618d0b2 updates to Setup Wizard, set language as first input 2014-04-17 18:50:33 +05:30
Anand Doshi
dbfcd328fb Fixes update_after_submit validation errors 2014-04-17 12:35:04 +05:30
Anand Doshi
0d345c9152 Fixes Item Price duplicate entry validation 2014-04-17 11:40:22 +05:30
Anand Doshi
de1a97d506 Fixes get_voucher_detail for Stock Reconcilation 2014-04-17 11:37:46 +05:30
Anand Doshi
094610d7ce Fixes in Production, Stock Entry and Stock Controller 2014-04-16 20:23:24 +05:30
Rushabh Mehta
eea802298e refactor get_voucher_details in stock_controller 2014-04-16 19:38:40 +05:30
Rushabh Mehta
052fe82688 production order: test fixed and added in test_stock_entry.py 2014-04-16 19:20:11 +05:30
Rushabh Mehta
166bc2a0e0 translations: updated German 2014-04-16 18:37:57 +05:30
Rushabh Mehta
c38fc713c6 updated translations 2014-04-16 17:46:30 +05:30
Rushabh Mehta
8c51318d82 added naming series for campaign #1413 2014-04-16 17:41:52 +05:30
Rushabh Mehta
e8b0402a10 added naming series for campaign #1413 2014-04-16 17:41:52 +05:30
Rushabh Mehta
c635875765 added naming series for campaign #1413 2014-04-16 17:41:51 +05:30
Anand Doshi
652bc0784a Ported v3 fixes to v4
Commit range: webnotes/erpnext@e4b72df2f4bd7272c42e90f6faec3c27aa763b82..webnotes/erpnext@85441b0180f84246259d5a0ab4e3bcbf29355efe
2014-04-16 15:26:42 +05:30
Nabin Hait
13429a3b34 Space allowed in naming series
Conflicts:
	setup/doctype/naming_series/naming_series.py
2014-04-16 15:24:04 +05:30
Nabin Hait
a0c239db8d perpetual inventory fix related to sub-contracting
Cherry-picked and modified by @anandpdoshi

Conflicts:
	accounts/doctype/purchase_invoice/purchase_invoice.py
	controllers/buying_controller.py
	controllers/stock_controller.py
2014-04-16 15:23:10 +05:30
Nabin Hait
450d9d72d7 Minor fix in monthly attendance report
Cherry-picked and modified by @anandpdoshi

Conflicts:
	hr/report/monthly_attendance_sheet/monthly_attendance_sheet.py
2014-04-16 15:23:09 +05:30
Nabin Hait
6298536e46 set stock balance as per serial no count
Cherry Picked and Modified by @anandpdoshi

Conflicts:
	stock/doctype/stock_ledger/stock_ledger.py
	utilities/repost_stock.py
2014-04-16 15:23:08 +05:30
Anand Doshi
88a869f34d No Copy for Paid and Write Off Amount in Sales Invoice
Ported webnotes/erpnext@f739bffedd
2014-04-16 15:23:08 +05:30
Rushabh Mehta
1d8f1a9a46 #1481 2014-04-16 09:32:51 +05:30
Rushabh Mehta
82d8a637ac #1252 2014-04-16 09:20:00 +05:30
Rushabh Mehta
d85dc868ca more message fixes for translation 2014-04-15 22:54:34 +05:30
Rushabh Mehta
ff93802d58 more message fixes 2014-04-15 18:40:31 +05:30
Anand Doshi
a6e2ca9d3b Fixes #1491 2014-04-15 17:12:15 +05:30
Rushabh Mehta
8a40c136ce more message fixing 2014-04-15 16:31:20 +05:30
Anand Doshi
c5e057f676 Fixed exploded BOM construction 2014-04-15 16:14:15 +05:30
Rushabh Mehta
2c45899a02 fixed strings for translation 2014-04-15 14:41:56 +05:30
Anand Doshi
5d4ffa6cf8 Fixed splash.svg 2014-04-15 13:09:09 +05:30
Pratik Vyas
f37d6fe32b Merge pull request #1514 from frappe/js-translate-refactor
JS translation refactor
2014-04-15 11:44:16 +05:30
Pratik Vyas
e1eeb22f1e remove linebreaks for translation strings (js) 2014-04-15 10:50:36 +05:30
Pratik Vyas
13c92e3ad5 fix accounts browser and cost center strings (js) 2014-04-15 10:08:53 +05:30
Pratik Vyas
ec9c448ccf fix taxes and charges strings and labels 2014-04-15 09:49:40 +05:30
Rushabh Mehta
549977bf4f typo fix in journal_voucher.py 2014-04-14 22:40:17 +05:30
Rushabh Mehta
354b32177d fix for leave application test 2014-04-14 22:23:41 +05:30
Rushabh Mehta
9f0d625300 update translation strings #1403 2014-04-14 19:20:45 +05:30
Pratik Vyas
b0f279a34e js translations refactor 2014-04-14 17:14:23 +05:30
Pratik Vyas
b52618c142 frappe._ to __ 2014-04-14 16:25:30 +05:30
Pratik Vyas
7da01d6007 fix manifest 2014-04-13 03:12:12 +05:30
Anand Doshi
bd67e87921 Fixes saving of Sales Order and fetching Prices frappe/frappe#478 2014-04-11 16:51:27 +05:30
Anand Doshi
13ae548ff6 Fixes for model-cleanup frappe/frappe#478 2014-04-10 18:43:07 +05:30
Pratik Vyas
f7daab7393 pass only valid columns to get_item_details 2014-04-10 17:53:30 +05:30
Anand Doshi
233fbb08b2 Minor fix 2014-04-10 12:53:16 +05:30
Anand Doshi
61649c1d43 Verbose in travis 2014-04-10 12:40:29 +05:30
Anand Doshi
ddd2b8a398 Merge pull request #1504 from frappe/model-cleanup
Model cleanup
2014-04-10 11:39:16 +05:30
Anand Doshi
8c45d4ce3c Fixed travis frappe/frappe#478 2014-04-10 11:38:11 +05:30
Anand Doshi
20771621e7 Verbose app install in travis 2014-04-09 20:03:27 +05:30
Anand Doshi
9fd50bcfb6 Fixed rest of the test cases frappe/frapp#478 2014-04-09 19:20:01 +05:30
Anand Doshi
d29465029d Fixed Test Cases frappe/frappe#478 2014-04-08 20:15:22 +05:30
Anand Doshi
cd71e1d8ab Test Cases - Journal Voucher, Purchase Invoice, Period Closing Voucher frappe/frappe#478 2014-04-08 13:53:35 +05:30
Anand Doshi
2ce39cf770 Fixed Stock Entry Test Cases frappe/frappe#478 2014-04-07 18:51:58 +05:30
Nabin Hait
103cc58cb6 material request testcase #478 2014-04-07 16:40:43 +05:30
Nabin Hait
4155e58a61 Merge branch 'model-cleanup' of github.com:frappe/erpnext into model-cleanup 2014-04-07 16:00:49 +05:30
Nabin Hait
088dec6c09 testcase fixes #478 2014-04-07 16:00:28 +05:30
Rushabh Mehta
322d39f3a6 Merge branch 'model-cleanup' of github.com:frappe/erpnext into model-cleanup 2014-04-07 15:09:25 +05:30
Rushabh Mehta
49f49ea603 started party frappe/erpnext#1503 2014-04-07 15:09:09 +05:30
Nabin Hait
dc82d4f0cd frappe/frappe#478 fixes 2014-04-07 12:02:57 +05:30
Nabin Hait
9f66c306ea Merge branch 'model-cleanup' of github.com:frappe/erpnext into model-cleanup 2014-04-07 12:01:59 +05:30
Anand Doshi
bedc62f090 Fixed Feed 2014-04-04 16:26:45 +05:30
Nabin Hait
e7885e3ee0 frappe/frappe#478 replaced doclist in testcases 2014-04-04 13:26:50 +05:30
Rushabh Mehta
a504f0638b frappe/frappe#478, fixed list passed in 2014-04-04 12:16:26 +05:30
Rushabh Mehta
558a9aabfb removed control panel 2014-04-04 12:00:36 +05:30
Nabin Hait
312ba99e71 frappe/frappe#478 fixes 2014-04-04 11:06:10 +05:30
Rushabh Mehta
c10213d861 Merge branch 'model-cleanup' of github.com:frappe/erpnext into model-cleanup 2014-04-03 17:43:28 +05:30
Rushabh Mehta
0cf531c8a6 frappe/frappe#478 fixes 2014-04-03 17:43:06 +05:30
Nabin Hait
c272f2020b Merge branch 'model-cleanup' of github.com:frappe/erpnext into model-cleanup 2014-04-03 17:39:50 +05:30
Nabin Hait
365ae27acf frappe/frappe#478 fixes 2014-04-03 17:38:54 +05:30
Rushabh Mehta
7db7112d3f frappe/frappe#478 fix and added print heading 2014-04-03 15:04:18 +05:30
Rushabh Mehta
99f914b782 frappe/frappe#478, fixes 2014-04-03 14:47:03 +05:30
Rushabh Mehta
2fbb00fd8d frappe/frappe#478, more changes, removed bean 2014-04-03 14:38:22 +05:30
Rushabh Mehta
f14b809ab5 frappe/frappe#478, more changes, removed bean 2014-04-03 14:30:42 +05:30
Rushabh Mehta
d36cb5c812 frappe/frappe#478 removed more instances of doclist 2014-04-03 12:38:42 +05:30
Rushabh Mehta
cfb6ccfe51 frappe/frappe#478 removed self.doclist 2014-04-03 11:46:52 +05:30
Rushabh Mehta
f191f854cd frappe/frappe#478 erpnext install works 2014-04-02 18:09:34 +05:30
Anand Doshi
943e614810 frappe/frappe#478 2014-04-02 16:37:35 +05:30
Anand Doshi
63dfe3d3b3 Merge branch 'model-cleanup' of github.com:frappe/erpnext into model-cleanup 2014-04-02 15:03:51 +05:30
Anand Doshi
5b552b51f1 frappe/frappe#478 2014-04-02 15:03:35 +05:30
Rushabh Mehta
732825cb23 frappe/frappe#478 fixed todo and renamed hooks 2014-04-02 12:08:03 +05:30
Anand Doshi
dd32d6eb1f frappe/frappe#478 2014-04-01 12:22:14 +05:30
Rushabh Mehta
f2227d033c frappe/frappe#478, removed instances of .fields 2014-03-31 23:37:40 +05:30
Rushabh Mehta
231f6a5b58 frappe/frappe#478 added test_records.json 2014-03-31 23:05:12 +05:30
Rushabh Mehta
0a0f2495a2 frappe/frappe#478, frappe tests pass, .txt renamed to .json 2014-03-31 17:27:06 +05:30
Nabin Hait
0e13cd5ac9 frappe/frappe#478 2014-03-28 17:01:32 +05:30
Nabin Hait
0d8d30e1cc frappe/frappe#478 2014-03-28 16:57:21 +05:30
Rushabh Mehta
b385ecf65e frappe/frappe#478 2014-03-28 16:54:45 +05:30
Anand Doshi
43405203b2 frappe/frappe#478 2014-03-28 16:43:50 +05:30
Anand Doshi
81ba0b29da frappe/frappe#478 2014-03-28 15:23:26 +05:30
Anand Doshi
f78d1aee28 Replaced doc, doc.fields frappe/frappe#478 2014-03-28 13:55:00 +05:30
Anand Doshi
67d6a4e3aa Merge remote-tracking branch 'frappe/develop' into model-cleanup
Conflicts:
	erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.py
	erpnext/accounts/doctype/sales_invoice/sales_invoice.py
	erpnext/controllers/stock_controller.py
2014-03-28 13:41:59 +05:30
Anand Doshi
40534f076b Changed creation, modified format frappe/frappe#478 2014-03-28 12:46:53 +05:30
Rushabh Mehta
daae743608 frappe/frappe#478 2014-03-27 17:54:18 +05:30
Rushabh Mehta
e88bc8b12a frappe/frappe#478 2014-03-27 17:51:41 +05:30
Nabin Hait
4090c78c3f coa: payment to invoice matching tool fixes 2014-03-27 17:19:32 +05:30
Nabin Hait
becf75d791 Perpetual inventory cleanup 2014-03-27 17:18:29 +05:30
Rushabh Mehta
d2b34dc30c frappe/frappe#478 2014-03-27 16:12:56 +05:30
Rushabh Mehta
66d52b55c0 #478 2014-03-27 14:17:33 +05:30
Rushabh Mehta
aa355af2cf refactored client side Model and Meta - frappe/frappe#478 2014-03-26 18:24:30 +05:30
Nabin Hait
5c6b34a84c minor fix 2014-03-26 10:30:25 +05:30
Nabin Hait
3a70ba3ba1 Merge github.com:frappe/erpnext into develop 2014-03-26 10:23:53 +05:30
Nabin Hait
d6e4ab3fd4 maintenance schedule: validate amc dates and update in serial no 2014-03-26 10:23:27 +05:30
Nabin Hait
1d630ccaa5 Update serial no maintenance status based on warranty/amc expiry date 2014-03-26 10:23:14 +05:30
Anand Doshi
754cbd4036 Fixed Permissions and Time Log 2014-03-25 20:09:12 +05:30
Nabin Hait
6fa0f25e7c Merge branch 'develop' of github.com:frappe/erpnext into develop 2014-03-25 19:36:16 +05:30
Nabin Hait
0c9d42258c Minor fix related to pos paid amount 2014-03-25 19:35:41 +05:30
Anand Doshi
79196a9ef7 Fixed install 2014-03-25 19:32:08 +05:30
Anand Doshi
059b83a2ce Fixed MariaDB install steps in travis 2014-03-25 18:40:46 +05:30
Anand Doshi
3be9e26934 Fixed MariaDB install steps in travis 2014-03-25 18:39:56 +05:30
Nabin Hait
2c517e0a62 Fixes related to countrywise coa 2014-03-25 18:28:49 +05:30
Nabin Hait
ec9fb67d84 fixed conflict 2014-03-25 16:53:50 +05:30
Anand Doshi
7fbdba02ab Fixed Countrywise Chart of Accounts patch 2014-03-25 13:50:52 +05:30
Nabin Hait
221a8fff1c minor fix in patch 2014-03-23 17:35:24 +05:30
Nabin Hait
96c0afe0f1 minor fix in patch 2014-03-23 17:25:02 +05:30
Nabin Hait
06a595090d coa: minor fix 2014-03-21 18:30:46 +05:30
Nabin Hait
425bfc5c8d minor fix in serial no 2014-03-21 18:15:26 +05:30
Nabin Hait
c07537b1e9 unidecode added to the erpnext requirements 2014-03-21 12:25:49 +05:30
Nabin Hait
155c96b410 patch to delete mis control and financial statements and set bank/cash account 2014-03-21 12:15:13 +05:30
Nabin Hait
19dadb4a82 unidecode added to the erpnext requirements 2014-03-21 11:46:51 +05:30
Nabin Hait
f7f95ea37a Merge pull request #1482 from nabinhait/countrywise_coa
Countrywise coa
2014-03-21 11:38:35 +05:30
Nabin Hait
0c21e2afef Is_pl_account and debit_or_credit field removed and added report_type field in account 2014-03-21 11:35:59 +05:30
Nabin Hait
b5e6d7e171 Account balance in debit and credit columns in trial balance and financial analytics report 2014-03-21 11:26:09 +05:30
Nabin Hait
47a3c10334 Patch to update old accounts property 2014-03-21 11:26:08 +05:30
Nabin Hait
e67202484d Imported charts with proper report types 2014-03-21 11:26:08 +05:30
Nabin Hait
e0f98d7202 account properties file added 2014-03-21 11:26:08 +05:30
Nabin Hait
102842ba79 Leave allocation fix 2014-03-21 11:26:08 +05:30
Nabin Hait
73083dc960 Fix related to user_default 2014-03-21 11:26:08 +05:30
Nabin Hait
27bb7892b3 Fixes in pos settings 2014-03-21 11:26:07 +05:30
Nabin Hait
482ffac83f Set paid amount to zero if not pos 2014-03-21 11:26:07 +05:30
Nabin Hait
439dceebd8 minor fix in landed cost wizard 2014-03-21 11:25:17 +05:30
Nabin Hait
e848914da1 consider all entries against bank account in bank reconciliation statement, even if no reference no 2014-03-21 11:25:17 +05:30
Nabin Hait
d8dcdfbf4f Warehouse disable option 2014-03-21 11:25:17 +05:30
Nabin Hait
eb1192771f set root type from parent or child 2014-03-21 11:25:17 +05:30
Nabin Hait
e71cf6d6a1 More country charts imported from openerp 2014-03-21 11:25:17 +05:30
Nabin Hait
037bf6b382 More country charts imported from openerp 2014-03-21 11:25:17 +05:30
Nabin Hait
24e136e3f3 Patch: set root_type for old existing accounts 2014-03-21 11:25:16 +05:30
Nabin Hait
3dfe854108 Rename duplicate account 2014-03-21 11:25:16 +05:30
Nabin Hait
fc37fd8b6e Set Paid amount and write off amount for pos 2014-03-21 11:25:16 +05:30
Nabin Hait
55a03dbf69 major fixes in importing charts from openerp 2014-03-21 11:22:42 +05:30
Nabin Hait
b93ebaebe4 Added new account types and patch for existing 2014-03-21 11:22:41 +05:30
Nabin Hait
a18bf07920 updated charts json with proper account and root types 2014-03-21 11:22:41 +05:30
Nabin Hait
d7d9d25d71 Country and chart fields added in company master 2014-03-21 11:22:40 +05:30
Nabin Hait
813a93d78d import chart records into database frm json 2014-03-21 11:22:40 +05:30
Nabin Hait
a69c30edec country code added 2014-03-21 11:22:39 +05:30
Nabin Hait
d89f3403ac charts of account doctype added and imported charts json from openerp 2014-03-21 11:22:39 +05:30
Nabin Hait
b77773ca07 fixes in financial statements 2014-03-21 11:22:38 +05:30
Nabin Hait
2b57ecbd6c fixes for debit_or_credit in account tree grid report 2014-03-21 11:22:38 +05:30
Nabin Hait
53822ae9d0 Account balance must be of type debit/credit 2014-03-21 11:22:38 +05:30
Nabin Hait
49a6f0754e Removed debit_or_credit field 2014-03-21 11:22:38 +05:30
Nabin Hait
133490a0c5 Removed max roots validation 2014-03-21 11:22:37 +05:30
Nabin Hait
4d713ac5ba sql injection fixes 2014-03-21 11:22:37 +05:30
1295 changed files with 186274 additions and 219078 deletions

View File

@@ -7,17 +7,25 @@ services:
- mysql
install:
- sudo service mysql stop
- sudo apt-get install python-software-properties
- sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
- sudo add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu precise main'
- sudo apt-get update
- sudo apt-get purge -y mysql-common
- sudo apt-get install mariadb-server mariadb-common libmariadbclient-dev
- CFLAGS=-O0 pip install git+https://github.com/frappe/frappe.git@develop &&
- pip install --editable .
script:
cd ./test_sites/ &&
frappe --reinstall test_site &&
frappe --install_app erpnext test_site &&
frappe --request '?cmd=erpnext.setup.page.setup_wizard.setup_wizard.setup_account&currency=USD&first_name=Test&last_name=User&company_name=Wind+Power+LLC&timezone=America/New_York&company_abbr=WP&industry=Manufacturing&country=United states&fy_start_date=2014-01-01&fy_end_date=2014-12-31' test_site &&
frappe --run_tests test_site --app erpnext
script:
- cd ./test_sites/
- frappe --use test_site
- frappe --reinstall
- frappe --install_app erpnext --verbose
- frappe -b
- frappe --serve_test &
- frappe --verbose --run_tests --app erpnext
before_script:
- mysql -e 'create database travis' &&
- echo "USE mysql;\nUPDATE user SET password=PASSWORD('travis') WHERE user='travis';\nFLUSH PRIVILEGES;\n" | mysql -u root
- mysql -e 'create database test_frappe'
- echo "USE mysql;\nCREATE USER 'test_frappe'@'localhost' IDENTIFIED BY 'test_frappe';\nFLUSH PRIVILEGES;\n" | mysql -u root

View File

@@ -4,6 +4,8 @@ include *.json
include *.md
include *.py
include *.txt
include .travis.yml
recursive-include erpnext *.txt
recursive-include erpnext *.css
recursive-include erpnext *.csv
recursive-include erpnext *.html
@@ -14,5 +16,4 @@ recursive-include erpnext *.md
recursive-include erpnext *.png
recursive-include erpnext *.py
recursive-include erpnext *.svg
recursive-include erpnext *.txt
recursive-exclude * *.pyc
recursive-exclude * *.pyc

View File

@@ -27,7 +27,7 @@ Use the bench, https://github.com/frappe/frappe-bench.
##### Virtual Image:
- [ERPNext Download](http://erpnext.com/erpnext-download)
- [ERPNext Download](http://erpnext.com/download)
---
@@ -35,7 +35,7 @@ Use the bench, https://github.com/frappe/frappe-bench.
GNU/General Public License (see LICENSE.txt)
The ERPNext code is licensed as GNU General Public License (v3) and the Documentation is licensed as Creative Commons (CC-BY-SA-3.0) and the copyright is owned by Web Notes Technologies Pvt Ltd (Web Notes) and Contributors.
The ERPNext code is licensed as GNU General Public License (v3) and the Documentation is licensed as Creative Commons (CC-BY-SA-3.0) and the copyright is owned by Web Notes Technologies Pvt Ltd (Web Notes) and Contributors.
---
@@ -60,7 +60,7 @@ We will grant permission to use the ERPNext name and logo for projects that meet
- The primary purpose of your project is to promote the spread and improvement of the ERPNext software.
- Your project is non-commercial in nature (it can make money to cover its costs or contribute to non-profit entities, but it cannot be run as a for-profit project or business).
Your project neither promotes nor is associated with entities that currently fail to comply with the GPL license under which ERPNext is distributed.
- If your project meets these criteria, you will be permitted to use the ERPNext name and logo to promote your project in any way you see fit with one exception: Please do not use ERPNext as part of a domain name.
- If your project meets these criteria, you will be permitted to use the ERPNext name and logo to promote your project in any way you see fit with one exception: Please do not use ERPNext as part of a domain name.
Use of the ERPNext name and logo is additionally allowed in the following situations:

View File

@@ -0,0 +1 @@
__version__ = '4.0.0'

View File

@@ -0,0 +1,14 @@
{
"creation": "2012-04-11 13:16:56.000000",
"doc_type": "Journal Voucher",
"docstatus": 0,
"doctype": "Print Format",
"html": "<!-- p.big {line-height: 200%} .noborder td { border: 0px solid #fff; } -->\n<div style=\"position: relative;\">\n<h3><script>doc.company</script><br /> <br /> \n<hr />\nPAYMENT ADVICE</h3>\n<table class=\"noborder\" style=\"width: 100%;\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;\" width=\"50%\">To :<br />\n<script type=\"text/javascript\">// <![CDATA[\ndoc.pay_to_recd_from\n// ]]></script>\n</td>\n<td width=\"50%\">\n<table class=\"noborder\" width=\"100%\">\n<tbody>\n<tr>\n<td width=\"30%\">Voucher No :</td>\n<td width=\"70%\">\n<script type=\"text/javascript\">// <![CDATA[\ndoc.name\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td width=\"30%\">Voucher Date :</td>\n<td width=\"70%\">\n<script type=\"text/javascript\">// <![CDATA[\ndate.str_to_user(doc.voucher_date)\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td width=\"30%\">Cheque No :</td>\n<td width=\"70%\">\n<script type=\"text/javascript\">// <![CDATA[\ndate.str_to_user(doc.cheque_no)\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td width=\"30%\">Cheque Date :</td>\n<td width=\"70%\">\n<script type=\"text/javascript\">// <![CDATA[\ndate.str_to_user(doc.cheque_date)\n// ]]></script>\n</td>\n</tr>\n</tbody>\n</table>\n</td>\n</tr>\n</tbody>\n</table>\n<br /> <strong>We are pleased to enclose our cheque in full/part Settlement of your under noted bills</strong> <br /> \n<hr />\n<table class=\"noborder\" width=\"100%\">\n<tbody>\n<tr>\n<td width=\"70%\">&nbsp;</td>\n<td width=\"15%\">Total :</td>\n<td class=\"pos_left\" width=\"15%\">\n<script type=\"text/javascript\">// <![CDATA[\ndoc.total_amount\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td colspan=\"3\">Narration :\n<script type=\"text/javascript\">// <![CDATA[\nreplace_newlines(doc.remark)\n// ]]></script>\n<br /><br /><br /></td>\n</tr>\n</tbody>\n</table>\n<div style=\"position: absolute; top: 14cm; left: 0cm;\">Prepared By</div>\n<div style=\"position: absolute; top: 14cm; left: 5.5cm;\">Authorised Signatory</div>\n<div style=\"position: absolute; top: 14cm; left: 11cm;\">Received Payment as Above</div>\n<div style=\"position: absolute; top: 16.4cm; left: 5.9cm;\"><strong>_____________</strong></div>\n<div style=\"position: absolute; top: 16.7cm; left: 6cm;\"><strong>A/c Payee</strong></div>\n<div style=\"position: absolute; top: 16.7cm; left: 5.9cm;\"><strong>_____________</strong></div>\n<div style=\"position: absolute; top: 16.9cm; left: 12cm;\">\n<script type=\"text/javascript\">// <![CDATA[\ndate.str_to_user(doc.cheque_date)\n// ]]></script>\n</div>\n<div style=\"position: absolute; top: 17.9cm; left: 1cm;\">\n<script type=\"text/javascript\">// <![CDATA[\ndoc.pay_to_recd_from\n// ]]></script>\n</div>\n<div style=\"position: absolute; top: 18.6cm; left: 1cm; width: 7cm;\">\n<script type=\"text/javascript\">// <![CDATA[\ndoc.total_amount_in_words\n// ]]></script>\n</div>\n<div style=\"position: absolute; top: 19.7cm; left: 12cm;\">\n<script type=\"text/javascript\">// <![CDATA[\ndoc.total_amount\n// ]]></script>\n</div>\n</div>",
"idx": 1,
"modified": "2012-04-13 12:24:20.000000",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Cheque Printing Format",
"owner": "Administrator",
"standard": "Yes"
}

View File

@@ -1,21 +0,0 @@
[
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-04-11 13:16:56",
"modified_by": "Administrator",
"modified": "2012-04-13 12:24:20"
},
{
"doc_type": "Journal Voucher",
"name": "__common__",
"module": "Accounts",
"doctype": "Print Format",
"html": "<!-- p.big {line-height: 200%} .noborder td { border: 0px solid #fff; } -->\n<div style=\"position: relative;\">\n<h3><script>doc.company</script><br /> <br /> \n<hr />\nPAYMENT ADVICE</h3>\n<table class=\"noborder\" style=\"width: 100%;\">\n<tbody>\n<tr>\n<td style=\"vertical-align: top;\" width=\"50%\">To :<br />\n<script type=\"text/javascript\">// <![CDATA[\ndoc.pay_to_recd_from\n// ]]></script>\n</td>\n<td width=\"50%\">\n<table class=\"noborder\" width=\"100%\">\n<tbody>\n<tr>\n<td width=\"30%\">Voucher No :</td>\n<td width=\"70%\">\n<script type=\"text/javascript\">// <![CDATA[\ndoc.name\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td width=\"30%\">Voucher Date :</td>\n<td width=\"70%\">\n<script type=\"text/javascript\">// <![CDATA[\ndate.str_to_user(doc.voucher_date)\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td width=\"30%\">Cheque No :</td>\n<td width=\"70%\">\n<script type=\"text/javascript\">// <![CDATA[\ndate.str_to_user(doc.cheque_no)\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td width=\"30%\">Cheque Date :</td>\n<td width=\"70%\">\n<script type=\"text/javascript\">// <![CDATA[\ndate.str_to_user(doc.cheque_date)\n// ]]></script>\n</td>\n</tr>\n</tbody>\n</table>\n</td>\n</tr>\n</tbody>\n</table>\n<br /> <strong>We are pleased to enclose our cheque in full/part Settlement of your under noted bills</strong> <br /> \n<hr />\n<table class=\"noborder\" width=\"100%\">\n<tbody>\n<tr>\n<td width=\"70%\">&nbsp;</td>\n<td width=\"15%\">Total :</td>\n<td class=\"pos_left\" width=\"15%\">\n<script type=\"text/javascript\">// <![CDATA[\ndoc.total_amount\n// ]]></script>\n</td>\n</tr>\n<tr>\n<td colspan=\"3\">Narration :\n<script type=\"text/javascript\">// <![CDATA[\nreplace_newlines(doc.remark)\n// ]]></script>\n<br /><br /><br /></td>\n</tr>\n</tbody>\n</table>\n<div style=\"position: absolute; top: 14cm; left: 0cm;\">Prepared By</div>\n<div style=\"position: absolute; top: 14cm; left: 5.5cm;\">Authorised Signatory</div>\n<div style=\"position: absolute; top: 14cm; left: 11cm;\">Received Payment as Above</div>\n<div style=\"position: absolute; top: 16.4cm; left: 5.9cm;\"><strong>_____________</strong></div>\n<div style=\"position: absolute; top: 16.7cm; left: 6cm;\"><strong>A/c Payee</strong></div>\n<div style=\"position: absolute; top: 16.7cm; left: 5.9cm;\"><strong>_____________</strong></div>\n<div style=\"position: absolute; top: 16.9cm; left: 12cm;\">\n<script type=\"text/javascript\">// <![CDATA[\ndate.str_to_user(doc.cheque_date)\n// ]]></script>\n</div>\n<div style=\"position: absolute; top: 17.9cm; left: 1cm;\">\n<script type=\"text/javascript\">// <![CDATA[\ndoc.pay_to_recd_from\n// ]]></script>\n</div>\n<div style=\"position: absolute; top: 18.6cm; left: 1cm; width: 7cm;\">\n<script type=\"text/javascript\">// <![CDATA[\ndoc.total_amount_in_words\n// ]]></script>\n</div>\n<div style=\"position: absolute; top: 19.7cm; left: 12cm;\">\n<script type=\"text/javascript\">// <![CDATA[\ndoc.total_amount\n// ]]></script>\n</div>\n</div>",
"standard": "Yes"
},
{
"name": "Cheque Printing Format",
"doctype": "Print Format"
}
]

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,14 @@
{
"creation": "2012-05-01 12:46:31.000000",
"doc_type": "Journal Voucher",
"docstatus": 0,
"doctype": "Print Format",
"html": "<h3 align=\"center\"><script>doc.select_print_heading || \"Payment Receipt Note\"</script></h3>\n\n<table class='simpletable'>\n<tr>\n<td><b> Receipt No.: </b></td>\n<td><script>doc.name</script></td>\n</tr>\n<tr>\n<td><b> Date : </b></td>\n<td><script>date.str_to_user(doc.voucher_date)</script></td>\n</tr> \n<tr>\n<td><b> Remark: </b></td>\n<td><script> doc.remark </script></td>\n</tr>\n<tr>\n<td><b> Received From: </b></td>\n<td><b><script> doc.pay_to_recd_from </script></b></td>\n</tr>\n</table>\n<br>\n\n<div><b><script>doc.total_amount</script></b> </td></div><br>\n<div style=\"text-align:left\"><b><script>doc.total_amount_in_words</script></b></div><br>\n<br>\n<table class=\"noborder\">\n<tr>\n<td style = \"text-align = right;\"><h3>For <script>doc.company</script>,</h3><br><div>(Authorised Signatory)</div></td>\n</tr>\n</table>",
"idx": 1,
"modified": "2013-01-21 18:40:20.000000",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Payment Receipt Voucher",
"owner": "Administrator",
"standard": "Yes"
}

View File

@@ -1,21 +0,0 @@
[
{
"creation": "2012-05-01 12:46:31",
"docstatus": 0,
"modified": "2013-01-21 18:40:20",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"doc_type": "Journal Voucher",
"doctype": "Print Format",
"html": "<h3 align=\"center\"><script>doc.select_print_heading || \"Payment Receipt Note\"</script></h3>\n\n<table class='simpletable'>\n<tr>\n<td><b> Receipt No.: </b></td>\n<td><script>doc.name</script></td>\n</tr>\n<tr>\n<td><b> Date : </b></td>\n<td><script>date.str_to_user(doc.voucher_date)</script></td>\n</tr> \n<tr>\n<td><b> Remark: </b></td>\n<td><script> doc.remark </script></td>\n</tr>\n<tr>\n<td><b> Received From: </b></td>\n<td><b><script> doc.pay_to_recd_from </script></b></td>\n</tr>\n</table>\n<br>\n\n<div><b><script>doc.total_amount</script></b> </td></div><br>\n<div style=\"text-align:left\"><b><script>doc.total_amount_in_words</script></b></div><br>\n<br>\n<table class=\"noborder\">\n<tr>\n<td style = \"text-align = right;\"><h3>For <script>doc.company</script>,</h3><br><div>(Authorised Signatory)</div></td>\n</tr>\n</table>",
"module": "Accounts",
"name": "__common__",
"standard": "Yes"
},
{
"doctype": "Print Format",
"name": "Payment Receipt Voucher"
}
]

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -65,7 +65,7 @@
<th>Basic Rate</th>
<th>Amount</th>
</tr>
{%- for row in doclist.get({"doctype":"Sales Invoice Item"}) %}
{%- for row in doc.get({"doctype":"Sales Invoice Item"}) %}
<tr>
<td style="width: 3%;">{{ row.idx }}</td>
<td style="width: 20%;">{{ row.item_name }}</td>
@@ -106,7 +106,7 @@
utils.fmt_money(doc.net_total_export, currency=doc.currency)
}}</td>
</tr>
{%- for charge in doclist.get({"doctype":"Sales Taxes and Charges"}) -%}
{%- for charge in doc.get({"doctype":"Sales Taxes and Charges"}) -%}
{%- if not charge.included_in_print_rate -%}
<tr>
<td>{{ charge.description }}</td>

View File

@@ -0,0 +1,13 @@
{
"creation": "2013-03-21 15:24:28.000000",
"doc_type": "Sales Invoice",
"docstatus": 0,
"doctype": "Print Format",
"idx": 1,
"modified": "2013-03-21 15:26:21.000000",
"modified_by": "Administrator",
"module": "Accounts",
"name": "SalesInvoice",
"owner": "Administrator",
"standard": "Yes"
}

View File

@@ -1,20 +0,0 @@
[
{
"creation": "2013-03-21 15:24:28",
"docstatus": 0,
"modified": "2013-03-21 15:26:21",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"doc_type": "Sales Invoice",
"doctype": "Print Format",
"module": "Accounts",
"name": "__common__",
"standard": "Yes"
},
{
"doctype": "Print Format",
"name": "SalesInvoice"
}
]

View File

@@ -1,50 +1,37 @@
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
cur_frm.list_route = "Accounts Browser/Account";
// Onload
// -----------------------------------------
cur_frm.cscript.onload = function(doc, cdt, cdn) {
}
// Refresh
// -----------------------------------------
cur_frm.cscript.refresh = function(doc, cdt, cdn) {
if(doc.__islocal) {
msgprint(frappe._("Please create new account from Chart of Accounts."));
msgprint(__("Please create new account from Chart of Accounts."));
throw "cannot create";
}
cur_frm.toggle_display('account_name', doc.__islocal);
// hide fields if group
cur_frm.toggle_display(['account_type', 'master_type', 'master_name',
'credit_days', 'credit_limit', 'tax_rate'], doc.group_or_ledger=='Ledger')
cur_frm.toggle_display(['account_type', 'master_type', 'master_name',
'credit_days', 'credit_limit', 'tax_rate'], doc.group_or_ledger=='Ledger')
// disable fields
cur_frm.toggle_enable(['account_name', 'debit_or_credit', 'group_or_ledger',
'is_pl_account', 'company'], false);
cur_frm.toggle_enable(['account_name', 'group_or_ledger', 'company'], false);
if(doc.group_or_ledger=='Ledger') {
frappe.model.with_doc("Accounts Settings", "Accounts Settings", function (name) {
var accounts_settings = frappe.model.get_doc("Accounts Settings", name);
var display = accounts_settings["frozen_accounts_modifier"]
&& in_list(user_roles, accounts_settings["frozen_accounts_modifier"]);
cur_frm.toggle_display('freeze_account', display);
});
cur_frm.toggle_display('freeze_account', doc.can_freeze_account);
}
// read-only for root accounts
if(!doc.parent_account) {
cur_frm.set_read_only();
cur_frm.set_intro(frappe._("This is a root account and cannot be edited."));
cur_frm.set_intro(__("This is a root account and cannot be edited."));
} else {
// credit days and type if customer or supplier
cur_frm.set_intro(null);
cur_frm.toggle_display(['credit_days', 'credit_limit'], in_list(['Customer', 'Supplier'],
cur_frm.toggle_display(['credit_days', 'credit_limit'], in_list(['Customer', 'Supplier'],
doc.master_type));
cur_frm.cscript.master_type(doc, cdt, cdn);
cur_frm.cscript.account_type(doc, cdt, cdn);
@@ -54,44 +41,36 @@ cur_frm.cscript.refresh = function(doc, cdt, cdn) {
}
cur_frm.cscript.master_type = function(doc, cdt, cdn) {
cur_frm.toggle_display(['credit_days', 'credit_limit'], in_list(['Customer', 'Supplier'],
cur_frm.toggle_display(['credit_days', 'credit_limit'], in_list(['Customer', 'Supplier'],
doc.master_type));
cur_frm.toggle_display('master_name', doc.account_type=='Warehouse' ||
cur_frm.toggle_display('master_name', doc.account_type=='Warehouse' ||
in_list(['Customer', 'Supplier'], doc.master_type));
}
cur_frm.add_fetch('parent_account', 'report_type', 'report_type');
// Fetch parent details
// -----------------------------------------
cur_frm.add_fetch('parent_account', 'debit_or_credit', 'debit_or_credit');
cur_frm.add_fetch('parent_account', 'is_pl_account', 'is_pl_account');
// Hide tax rate based on account type
// -----------------------------------------
cur_frm.cscript.account_type = function(doc, cdt, cdn) {
if(doc.group_or_ledger=='Ledger') {
cur_frm.toggle_display(['tax_rate'], doc.account_type == 'Tax');
cur_frm.toggle_display('master_type', cstr(doc.account_type)=='');
cur_frm.toggle_display('master_name', doc.account_type=='Warehouse' ||
cur_frm.toggle_display('master_name', doc.account_type=='Warehouse' ||
in_list(['Customer', 'Supplier'], doc.master_type));
}
}
// Hide/unhide group or ledger
// -----------------------------------------
cur_frm.cscript.add_toolbar_buttons = function(doc) {
cur_frm.appframe.add_button(frappe._('Chart of Accounts'),
cur_frm.appframe.add_button(__('Chart of Accounts'),
function() { frappe.set_route("Accounts Browser", "Account"); }, 'icon-sitemap')
if (cstr(doc.group_or_ledger) == 'Group') {
cur_frm.add_custom_button(frappe._('Convert to Ledger'),
cur_frm.add_custom_button(__('Convert to Ledger'),
function() { cur_frm.cscript.convert_to_ledger(); }, 'icon-retweet')
} else if (cstr(doc.group_or_ledger) == 'Ledger') {
cur_frm.add_custom_button(frappe._('Convert to Group'),
cur_frm.add_custom_button(__('Convert to Group'),
function() { cur_frm.cscript.convert_to_group(); }, 'icon-retweet')
cur_frm.appframe.add_button(frappe._('View Ledger'), function() {
cur_frm.appframe.add_button(__('View Ledger'), function() {
frappe.route_options = {
"account": doc.name,
"from_date": sys_defaults.year_start_date,
@@ -102,20 +81,17 @@ cur_frm.cscript.add_toolbar_buttons = function(doc) {
}, "icon-table");
}
}
// Convert group to ledger
// -----------------------------------------
cur_frm.cscript.convert_to_ledger = function(doc, cdt, cdn) {
return $c_obj(cur_frm.get_doclist(),'convert_group_to_ledger','',function(r,rt) {
if(r.message == 1) {
return $c_obj(cur_frm.doc,'convert_group_to_ledger','',function(r,rt) {
if(r.message == 1) {
cur_frm.refresh();
}
});
}
// Convert ledger to group
// -----------------------------------------
cur_frm.cscript.convert_to_group = function(doc, cdt, cdn) {
return $c_obj(cur_frm.get_doclist(),'convert_ledger_to_group','',function(r,rt) {
return $c_obj(cur_frm.doc,'convert_ledger_to_group','',function(r,rt) {
if(r.message == 1) {
cur_frm.refresh();
}
@@ -127,7 +103,7 @@ cur_frm.fields_dict['master_name'].get_query = function(doc) {
var dt = doc.master_type || "Warehouse";
return {
doctype: dt,
query: "accounts.doctype.account.account.get_master_name",
query: "erpnext.accounts.doctype.account.account.get_master_name",
filters: {
"master_type": dt,
"company": doc.company
@@ -139,8 +115,8 @@ cur_frm.fields_dict['master_name'].get_query = function(doc) {
cur_frm.fields_dict['parent_account'].get_query = function(doc) {
return {
filters: {
"group_or_ledger": "Group",
"group_or_ledger": "Group",
"company": doc.company
}
}
}
}

View File

@@ -0,0 +1,319 @@
{
"allow_copy": 1,
"allow_rename": 1,
"creation": "2013-01-30 12:49:46",
"description": "Heads (or groups) against which Accounting Entries are made and balances are maintained.",
"docstatus": 0,
"doctype": "DocType",
"document_type": "Master",
"fields": [
{
"fieldname": "properties",
"fieldtype": "Section Break",
"in_list_view": 0,
"label": "Account Details",
"oldfieldtype": "Section Break",
"permlevel": 0
},
{
"fieldname": "column_break0",
"fieldtype": "Column Break",
"in_list_view": 0,
"permlevel": 0,
"width": "50%"
},
{
"fieldname": "account_name",
"fieldtype": "Data",
"in_filter": 1,
"in_list_view": 1,
"label": "Account Name",
"no_copy": 1,
"oldfieldname": "account_name",
"oldfieldtype": "Data",
"permlevel": 0,
"read_only": 1,
"reqd": 1,
"search_index": 1
},
{
"default": "Ledger",
"fieldname": "group_or_ledger",
"fieldtype": "Select",
"in_filter": 1,
"in_list_view": 1,
"label": "Group or Ledger",
"oldfieldname": "group_or_ledger",
"oldfieldtype": "Select",
"options": "\nLedger\nGroup",
"permlevel": 0,
"read_only": 1,
"reqd": 1,
"search_index": 1
},
{
"fieldname": "company",
"fieldtype": "Link",
"in_filter": 1,
"label": "Company",
"oldfieldname": "company",
"oldfieldtype": "Link",
"options": "Company",
"permlevel": 0,
"read_only": 1,
"reqd": 1,
"search_index": 1
},
{
"fieldname": "column_break1",
"fieldtype": "Column Break",
"permlevel": 0,
"width": "50%"
},
{
"fieldname": "parent_account",
"fieldtype": "Link",
"ignore_restrictions": 1,
"label": "Parent Account",
"oldfieldname": "parent_account",
"oldfieldtype": "Link",
"options": "Account",
"permlevel": 0,
"search_index": 1
},
{
"fieldname": "report_type",
"fieldtype": "Select",
"label": "Report Type",
"options": "\nBalance Sheet\nProfit and Loss",
"permlevel": 0
},
{
"description": "Setting Account Type helps in selecting this Account in transactions.",
"fieldname": "account_type",
"fieldtype": "Select",
"in_filter": 1,
"label": "Account Type",
"oldfieldname": "account_type",
"oldfieldtype": "Select",
"options": "\nBank\nCash\nTax\nChargeable\nWarehouse\nReceivable\nPayable\nEquity\nFixed Asset\nCost of Goods Sold\nExpense Account\nIncome Account\nStock Received But Not Billed\nExpenses Included In Valuation\nStock Adjustment",
"permlevel": 0,
"search_index": 0
},
{
"description": "Rate at which this tax is applied",
"fieldname": "tax_rate",
"fieldtype": "Float",
"hidden": 0,
"label": "Rate",
"oldfieldname": "tax_rate",
"oldfieldtype": "Currency",
"permlevel": 0,
"reqd": 0
},
{
"description": "If the account is frozen, entries are allowed to restricted users.",
"fieldname": "freeze_account",
"fieldtype": "Select",
"label": "Frozen",
"oldfieldname": "freeze_account",
"oldfieldtype": "Select",
"options": "No\nYes",
"permlevel": 0
},
{
"fieldname": "credit_days",
"fieldtype": "Int",
"hidden": 1,
"label": "Credit Days",
"oldfieldname": "credit_days",
"oldfieldtype": "Int",
"permlevel": 0,
"print_hide": 1
},
{
"fieldname": "credit_limit",
"fieldtype": "Currency",
"hidden": 1,
"label": "Credit Limit",
"oldfieldname": "credit_limit",
"oldfieldtype": "Currency",
"options": "Company:company:default_currency",
"permlevel": 0,
"print_hide": 1
},
{
"description": "If this Account represents a Customer, Supplier or Employee, set it here.",
"fieldname": "master_type",
"fieldtype": "Select",
"label": "Master Type",
"oldfieldname": "master_type",
"oldfieldtype": "Select",
"options": "\nSupplier\nCustomer\nEmployee",
"permlevel": 0
},
{
"fieldname": "master_name",
"fieldtype": "Link",
"label": "Master Name",
"oldfieldname": "master_name",
"oldfieldtype": "Link",
"options": "[Select]",
"permlevel": 0
},
{
"fieldname": "balance_must_be",
"fieldtype": "Select",
"label": "Balance must be",
"options": "\nDebit\nCredit",
"permlevel": 0
},
{
"fieldname": "lft",
"fieldtype": "Int",
"hidden": 1,
"label": "Lft",
"permlevel": 0,
"print_hide": 1,
"read_only": 1
},
{
"fieldname": "rgt",
"fieldtype": "Int",
"hidden": 1,
"label": "Rgt",
"permlevel": 0,
"print_hide": 1,
"read_only": 1
},
{
"fieldname": "old_parent",
"fieldtype": "Data",
"hidden": 1,
"label": "Old Parent",
"permlevel": 0,
"print_hide": 1,
"read_only": 1
}
],
"icon": "icon-money",
"idx": 1,
"in_create": 1,
"modified": "2014-04-30 11:28:52.916199",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Account",
"owner": "Administrator",
"permissions": [
{
"amend": 0,
"cancel": 0,
"create": 1,
"delete": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Accounts User",
"submit": 0,
"write": 1
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"delete": 0,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Auditor",
"submit": 0,
"write": 0
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"delete": 0,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Sales User",
"submit": 0,
"write": 0
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"delete": 0,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Purchase User",
"submit": 0,
"write": 0
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"delete": 0,
"permlevel": 2,
"read": 1,
"report": 1,
"role": "Auditor",
"submit": 0,
"write": 0
},
{
"amend": 0,
"cancel": 0,
"create": 1,
"delete": 1,
"email": 1,
"export": 0,
"import": 0,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"restrict": 1,
"role": "Accounts Manager",
"submit": 0,
"write": 1
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"delete": 0,
"permlevel": 2,
"read": 1,
"report": 1,
"role": "Accounts Manager",
"submit": 0,
"write": 1
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"delete": 0,
"permlevel": 2,
"read": 1,
"report": 1,
"role": "Accounts User",
"submit": 0,
"write": 0
}
],
"search_fields": "group_or_ledger"
}

View File

@@ -3,254 +3,230 @@
from __future__ import unicode_literals
import frappe
from frappe.utils import flt, fmt_money, cstr, cint
from frappe.utils import flt, cstr, cint, getdate, add_days, formatdate
from frappe import msgprint, throw, _
from frappe.model.document import Document
get_value = frappe.db.get_value
class Account(Document):
nsm_parent_field = 'parent_account'
class DocType:
def __init__(self,d,dl):
self.doc, self.doclist = d,dl
self.nsm_parent_field = 'parent_account'
def onload(self):
frozen_accounts_modifier = frappe.db.get_value("Accounts Settings", "Accounts Settings", "frozen_accounts_modifier")
print frozen_accounts_modifier
if frozen_accounts_modifier in frappe.user.get_roles():
self.can_freeze_account = True
def as_dict(self, no_nulls=False):
doc = super(Account, self).as_dict(no_nulls)
if self.get("can_freeze_account"):
doc["can_freeze_account"] = self.can_freeze_account
return doc
def autoname(self):
self.doc.name = self.doc.account_name.strip() + ' - ' + \
frappe.db.get_value("Company", self.doc.company, "abbr")
self.name = self.account_name.strip() + ' - ' + \
frappe.db.get_value("Company", self.company, "abbr")
def get_address(self):
return {
'address': frappe.db.get_value(self.doc.master_type,
self.doc.master_name, "address")
}
def validate(self):
return {'address': frappe.db.get_value(self.master_type, self.master_name, "address")}
def validate(self):
self.validate_master_name()
self.validate_parent()
self.validate_duplicate_account()
self.validate_root_details()
self.validate_mandatory()
self.validate_warehouse_account()
self.validate_frozen_accounts_modifier()
if not self.doc.parent_account:
self.doc.parent_account = ''
def validate_master_name(self):
"""Remind to add master name"""
if self.doc.master_type in ('Customer', 'Supplier') or self.doc.account_type == "Warehouse":
if not self.doc.master_name:
if self.master_type in ('Customer', 'Supplier') or self.account_type == "Warehouse":
if not self.master_name:
msgprint(_("Please enter Master Name once the account is created."))
elif not frappe.db.exists(self.doc.master_type or self.doc.account_type,
self.doc.master_name):
elif not frappe.db.exists(self.master_type or self.account_type, self.master_name):
throw(_("Invalid Master Name"))
def validate_parent(self):
"""Fetch Parent Details and validation for account not to be created under ledger"""
if self.doc.parent_account:
par = frappe.db.sql("""select name, group_or_ledger, is_pl_account, debit_or_credit
from tabAccount where name =%s""", self.doc.parent_account)
if self.parent_account:
par = frappe.db.get_value("Account", self.parent_account,
["name", "group_or_ledger", "report_type"], as_dict=1)
if not par:
throw(_("Parent account does not exists"))
elif par[0][0] == self.doc.name:
throw(_("Parent account does not exist"))
elif par["name"] == self.name:
throw(_("You can not assign itself as parent account"))
elif par[0][1] != 'Group':
elif par["group_or_ledger"] != 'Group':
throw(_("Parent account can not be a ledger"))
elif self.doc.debit_or_credit and par[0][3] != self.doc.debit_or_credit:
throw("{msg} {debit_or_credit} {under} {account} {acc}".format(**{
"msg": _("You cannot move a"),
"debit_or_credit": self.doc.debit_or_credit,
"under": _("account under"),
"account": par[0][3],
"acc": _("account")
}))
if not self.doc.is_pl_account:
self.doc.is_pl_account = par[0][2]
if not self.doc.debit_or_credit:
self.doc.debit_or_credit = par[0][3]
def validate_max_root_accounts(self):
"""Raise exception if there are more than 4 root accounts"""
if frappe.db.sql("""select count(*) from tabAccount where
company=%s and ifnull(parent_account,'')='' and docstatus != 2""",
self.doc.company)[0][0] > 4:
throw(_("One company cannot have more than 4 root Accounts"))
def validate_duplicate_account(self):
if self.doc.fields.get('__islocal') or not self.doc.name:
company_abbr = frappe.db.get_value("Company", self.doc.company, "abbr")
if frappe.db.sql("""select name from tabAccount where name=%s""",
(self.doc.account_name + " - " + company_abbr)):
throw("{name}: {acc_name} {exist}, {rename}".format(**{
"name": _("Account Name"),
"acc_name": self.doc.account_name,
"exist": _("already exists"),
"rename": _("please rename")
}))
if par["report_type"]:
self.report_type = par["report_type"]
def validate_root_details(self):
#does not exists parent
if frappe.db.exists("Account", self.doc.name):
if not frappe.db.get_value("Account", self.doc.name, "parent_account"):
if frappe.db.exists("Account", self.name):
if not frappe.db.get_value("Account", self.name, "parent_account"):
throw(_("Root cannot be edited."))
def validate_frozen_accounts_modifier(self):
old_value = frappe.db.get_value("Account", self.doc.name, "freeze_account")
if old_value and old_value != self.doc.freeze_account:
frozen_accounts_modifier = frappe.db.get_value( 'Accounts Settings', None,
'frozen_accounts_modifier')
old_value = frappe.db.get_value("Account", self.name, "freeze_account")
if old_value and old_value != self.freeze_account:
frozen_accounts_modifier = frappe.db.get_value('Accounts Settings', None, 'frozen_accounts_modifier')
if not frozen_accounts_modifier or \
frozen_accounts_modifier not in frappe.user.get_roles():
throw(_("You are not authorized to set Frozen value"))
def convert_group_to_ledger(self):
if self.check_if_child_exists():
throw("{acc}: {account_name} {child}. {msg}".format(**{
"acc": _("Account"),
"account_name": self.doc.name,
"child": _("has existing child"),
"msg": _("You can not convert this account to ledger")
}))
throw(_("Account with child nodes cannot be converted to ledger"))
elif self.check_gle_exists():
throw(_("Account with existing transaction can not be converted to ledger."))
throw(_("Account with existing transaction cannot be converted to ledger"))
else:
self.doc.group_or_ledger = 'Ledger'
self.doc.save()
self.group_or_ledger = 'Ledger'
self.save()
return 1
def convert_ledger_to_group(self):
if self.check_gle_exists():
throw(_("Account with existing transaction can not be converted to group."))
elif self.doc.master_type or self.doc.account_type:
elif self.master_type or self.account_type:
throw(_("Cannot covert to Group because Master Type or Account Type is selected."))
else:
self.doc.group_or_ledger = 'Group'
self.doc.save()
self.group_or_ledger = 'Group'
self.save()
return 1
# Check if any previous balance exists
def check_gle_exists(self):
return frappe.db.get_value("GL Entry", {"account": self.doc.name})
return frappe.db.get_value("GL Entry", {"account": self.name})
def check_if_child_exists(self):
return frappe.db.sql("""select name from `tabAccount` where parent_account = %s
and docstatus != 2""", self.doc.name)
return frappe.db.sql("""select name from `tabAccount` where parent_account = %s
and docstatus != 2""", self.name)
def validate_mandatory(self):
if not self.doc.debit_or_credit:
throw(_("Debit or Credit field is mandatory"))
if not self.doc.is_pl_account:
throw(_("Is PL Account field is mandatory"))
if not self.report_type:
throw(_("Report Type is mandatory"))
def validate_warehouse_account(self):
if not cint(frappe.defaults.get_global_default("auto_accounting_for_stock")):
return
if self.doc.account_type == "Warehouse":
old_warehouse = cstr(frappe.db.get_value("Account", self.doc.name, "master_name"))
if old_warehouse != cstr(self.doc.master_name):
if self.account_type == "Warehouse":
old_warehouse = cstr(frappe.db.get_value("Account", self.name, "master_name"))
if old_warehouse != cstr(self.master_name):
if old_warehouse:
self.validate_warehouse(old_warehouse)
if self.doc.master_name:
self.validate_warehouse(self.doc.master_name)
if self.master_name:
self.validate_warehouse(self.master_name)
else:
throw(_("Master Name is mandatory if account type is Warehouse"))
def validate_warehouse(self, warehouse):
if frappe.db.get_value("Stock Ledger Entry", {"warehouse": warehouse}):
throw(_("Stock transactions exist against warehouse ") + warehouse +
_(" .You can not assign / modify / remove Master Name"))
throw(_("Stock entries exist against warehouse {0} cannot re-assign or modify 'Master Name'").format(warehouse))
def update_nsm_model(self):
"""update lft, rgt indices for nested set model"""
import frappe
import frappe.utils.nestedset
frappe.utils.nestedset.update_nsm(self)
def on_update(self):
self.validate_max_root_accounts()
self.update_nsm_model()
self.update_nsm_model()
def get_authorized_user(self):
# Check logged-in user is authorized
if frappe.db.get_value('Accounts Settings', None, 'credit_controller') \
in frappe.user.get_roles():
return 1
def check_credit_limit(self, total_outstanding):
# Get credit limit
credit_limit_from = 'Customer'
cr_limit = frappe.db.sql("""select t1.credit_limit from tabCustomer t1, `tabAccount` t2
where t2.name=%s and t1.name = t2.master_name""", self.doc.name)
cr_limit = frappe.db.sql("""select t1.credit_limit from tabCustomer t1, `tabAccount` t2
where t2.name=%s and t1.name = t2.master_name""", self.name)
credit_limit = cr_limit and flt(cr_limit[0][0]) or 0
if not credit_limit:
credit_limit = frappe.db.get_value('Company', self.doc.company, 'credit_limit')
credit_limit = frappe.db.get_value('Company', self.company, 'credit_limit')
credit_limit_from = 'Company'
# If outstanding greater than credit limit and not authorized person raise exception
if credit_limit > 0 and flt(total_outstanding) > credit_limit \
and not self.get_authorized_user():
throw("""Total Outstanding amount (%s) for <b>%s</b> can not be \
greater than credit limit (%s). To change your credit limit settings, \
please update in the <b>%s</b> master""" % (fmt_money(total_outstanding),
self.doc.name, fmt_money(credit_limit), credit_limit_from))
throw(_("{0} Credit limit {0} crossed").format(_(credit_limit_from), credit_limit))
def validate_due_date(self, posting_date, due_date):
credit_days = (self.credit_days or frappe.db.get_value("Company", self.company, "credit_days"))
if credit_days is None:
return
posting_date, due_date = getdate(posting_date), getdate(due_date)
diff = (due_date - posting_date).days
if diff < 0:
frappe.throw(_("Due Date cannot be before Posting Date"))
elif diff > credit_days:
is_credit_controller = frappe.db.get_value("Accounts Settings", None,
"credit_controller") in frappe.user.get_roles()
if is_credit_controller:
msgprint(_("Note: Due Date exceeds the allowed credit days by {0} day(s)").format(
diff - credit_days))
else:
max_due_date = formatdate(add_days(posting_date, credit_days))
frappe.throw(_("Due Date cannot be after {0}").format(max_due_date))
def validate_trash(self):
"""checks gl entries and if child exists"""
if not self.doc.parent_account:
if not self.parent_account:
throw(_("Root account can not be deleted"))
if self.check_gle_exists():
throw("""Account with existing transaction (Sales Invoice / Purchase Invoice / \
Journal Voucher) can not be deleted""")
throw(_("Account with existing transaction can not be deleted"))
if self.check_if_child_exists():
throw(_("Child account exists for this account. You can not delete this account."))
def on_trash(self):
def on_trash(self):
self.validate_trash()
self.update_nsm_model()
def before_rename(self, old, new, merge=False):
# Add company abbr if not provided
from erpnext.setup.doctype.company.company import get_name_with_abbr
new_account = get_name_with_abbr(new, self.doc.company)
new_account = get_name_with_abbr(new, self.company)
# Validate properties before merging
if merge:
if not frappe.db.exists("Account", new):
throw(_("Account ") + new +_(" does not exists"))
val = list(frappe.db.get_value("Account", new_account,
["group_or_ledger", "debit_or_credit", "is_pl_account", "company"]))
if val != [self.doc.group_or_ledger, self.doc.debit_or_credit, self.doc.is_pl_account, self.doc.company]:
throw(_("""Merging is only possible if following \
properties are same in both records.
Group or Ledger, Debit or Credit, Is PL Account"""))
throw(_("Account {0} does not exist").format(new))
val = list(frappe.db.get_value("Account", new_account,
["group_or_ledger", "report_type", "company"]))
if val != [self.group_or_ledger, self.report_type, self.company]:
throw(_("""Merging is only possible if following properties are same in both records. Group or Ledger, Report Type, Company"""))
return new_account
def after_rename(self, old, new, merge=False):
if not merge:
frappe.db.set_value("Account", new, "account_name",
frappe.db.set_value("Account", new, "account_name",
" - ".join(new.split(" - ")[:-1]))
else:
from frappe.utils.nestedset import rebuild_tree
rebuild_tree("Account", "parent_account")
def get_master_name(doctype, txt, searchfield, start, page_len, filters):
conditions = (" and company='%s'"% filters["company"]) if doctype == "Warehouse" else ""
conditions = (" and company='%s'"% filters["company"].replace("'", "\'")) if doctype == "Warehouse" else ""
return frappe.db.sql("""select name from `tab%s` where %s like %s %s
order by name limit %s, %s""" %
(filters["master_type"], searchfield, "%s", conditions, "%s", "%s"),
(filters["master_type"], searchfield, "%s", conditions, "%s", "%s"),
("%%%s%%" % txt, start, page_len), as_list=1)
def get_parent_account(doctype, txt, searchfield, start, page_len, filters):
return frappe.db.sql("""select name from tabAccount
return frappe.db.sql("""select name from tabAccount
where group_or_ledger = 'Group' and docstatus != 2 and company = %s
and %s like %s order by name limit %s, %s""" %
("%s", searchfield, "%s", "%s", "%s"),
(filters["company"], "%%%s%%" % txt, start, page_len), as_list=1)
and %s like %s order by name limit %s, %s""" %
("%s", searchfield, "%s", "%s", "%s"),
(filters["company"], "%%%s%%" % txt, start, page_len), as_list=1)

View File

@@ -1,334 +0,0 @@
[
{
"creation": "2013-01-30 12:49:46",
"docstatus": 0,
"modified": "2014-01-20 17:48:20",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"allow_copy": 1,
"allow_rename": 1,
"description": "Heads (or groups) against which Accounting Entries are made and balances are maintained.",
"doctype": "DocType",
"document_type": "Master",
"icon": "icon-money",
"in_create": 1,
"module": "Accounts",
"name": "__common__",
"search_fields": "debit_or_credit, group_or_ledger"
},
{
"doctype": "DocField",
"name": "__common__",
"parent": "Account",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0
},
{
"amend": 0,
"cancel": 0,
"doctype": "DocPerm",
"name": "__common__",
"parent": "Account",
"parentfield": "permissions",
"parenttype": "DocType",
"read": 1,
"report": 1,
"submit": 0
},
{
"doctype": "DocType",
"name": "Account"
},
{
"doctype": "DocField",
"fieldname": "properties",
"fieldtype": "Section Break",
"label": "Account Details",
"oldfieldtype": "Section Break"
},
{
"doctype": "DocField",
"fieldname": "column_break0",
"fieldtype": "Column Break",
"width": "50%"
},
{
"doctype": "DocField",
"fieldname": "account_name",
"fieldtype": "Data",
"in_filter": 1,
"label": "Account Name",
"no_copy": 1,
"oldfieldname": "account_name",
"oldfieldtype": "Data",
"read_only": 1,
"reqd": 1,
"search_index": 1
},
{
"doctype": "DocField",
"fieldname": "level",
"fieldtype": "Int",
"hidden": 1,
"label": "Level",
"oldfieldname": "level",
"oldfieldtype": "Int",
"print_hide": 1,
"read_only": 1
},
{
"default": "Ledger",
"doctype": "DocField",
"fieldname": "group_or_ledger",
"fieldtype": "Select",
"in_filter": 1,
"label": "Group or Ledger",
"oldfieldname": "group_or_ledger",
"oldfieldtype": "Select",
"options": "\nLedger\nGroup",
"read_only": 1,
"reqd": 1,
"search_index": 1
},
{
"doctype": "DocField",
"fieldname": "debit_or_credit",
"fieldtype": "Data",
"in_filter": 1,
"label": "Debit or Credit",
"oldfieldname": "debit_or_credit",
"oldfieldtype": "Data",
"read_only": 1,
"search_index": 1
},
{
"doctype": "DocField",
"fieldname": "is_pl_account",
"fieldtype": "Select",
"in_filter": 1,
"label": "Is PL Account",
"oldfieldname": "is_pl_account",
"oldfieldtype": "Select",
"options": "Yes\nNo",
"read_only": 1,
"search_index": 1
},
{
"doctype": "DocField",
"fieldname": "company",
"fieldtype": "Link",
"in_filter": 1,
"label": "Company",
"oldfieldname": "company",
"oldfieldtype": "Link",
"options": "Company",
"read_only": 1,
"reqd": 1,
"search_index": 1
},
{
"doctype": "DocField",
"fieldname": "column_break1",
"fieldtype": "Column Break",
"width": "50%"
},
{
"doctype": "DocField",
"fieldname": "parent_account",
"fieldtype": "Link",
"ignore_restrictions": 1,
"label": "Parent Account",
"oldfieldname": "parent_account",
"oldfieldtype": "Link",
"options": "Account",
"search_index": 1
},
{
"description": "Setting Account Type helps in selecting this Account in transactions.",
"doctype": "DocField",
"fieldname": "account_type",
"fieldtype": "Select",
"in_filter": 1,
"label": "Account Type",
"oldfieldname": "account_type",
"oldfieldtype": "Select",
"options": "\nFixed Asset Account\nBank or Cash\nExpense Account\nTax\nIncome Account\nChargeable\nWarehouse",
"search_index": 0
},
{
"description": "Rate at which this tax is applied",
"doctype": "DocField",
"fieldname": "tax_rate",
"fieldtype": "Float",
"hidden": 0,
"label": "Rate",
"oldfieldname": "tax_rate",
"oldfieldtype": "Currency",
"reqd": 0
},
{
"description": "If the account is frozen, entries are allowed to restricted users.",
"doctype": "DocField",
"fieldname": "freeze_account",
"fieldtype": "Select",
"label": "Frozen",
"oldfieldname": "freeze_account",
"oldfieldtype": "Select",
"options": "No\nYes"
},
{
"doctype": "DocField",
"fieldname": "credit_days",
"fieldtype": "Int",
"hidden": 1,
"label": "Credit Days",
"oldfieldname": "credit_days",
"oldfieldtype": "Int",
"print_hide": 1
},
{
"doctype": "DocField",
"fieldname": "credit_limit",
"fieldtype": "Currency",
"hidden": 1,
"label": "Credit Limit",
"oldfieldname": "credit_limit",
"oldfieldtype": "Currency",
"options": "Company:company:default_currency",
"print_hide": 1
},
{
"description": "If this Account represents a Customer, Supplier or Employee, set it here.",
"doctype": "DocField",
"fieldname": "master_type",
"fieldtype": "Select",
"label": "Master Type",
"oldfieldname": "master_type",
"oldfieldtype": "Select",
"options": "\nSupplier\nCustomer\nEmployee"
},
{
"doctype": "DocField",
"fieldname": "master_name",
"fieldtype": "Link",
"label": "Master Name",
"oldfieldname": "master_name",
"oldfieldtype": "Link",
"options": "[Select]"
},
{
"default": "1",
"depends_on": "eval:doc.group_or_ledger==\"Ledger\"",
"doctype": "DocField",
"fieldname": "allow_negative_balance",
"fieldtype": "Check",
"label": "Allow Negative Balance"
},
{
"doctype": "DocField",
"fieldname": "lft",
"fieldtype": "Int",
"hidden": 1,
"label": "Lft",
"print_hide": 1,
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "rgt",
"fieldtype": "Int",
"hidden": 1,
"label": "Rgt",
"print_hide": 1,
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "old_parent",
"fieldtype": "Data",
"hidden": 1,
"label": "Old Parent",
"print_hide": 1,
"read_only": 1
},
{
"create": 1,
"delete": 1,
"doctype": "DocPerm",
"email": 1,
"permlevel": 0,
"print": 1,
"role": "Accounts User",
"write": 1
},
{
"create": 0,
"delete": 0,
"doctype": "DocPerm",
"email": 1,
"permlevel": 0,
"print": 1,
"role": "Auditor",
"write": 0
},
{
"create": 0,
"delete": 0,
"doctype": "DocPerm",
"email": 1,
"permlevel": 0,
"print": 1,
"role": "Sales User",
"write": 0
},
{
"create": 0,
"delete": 0,
"doctype": "DocPerm",
"email": 1,
"permlevel": 0,
"print": 1,
"role": "Purchase User",
"write": 0
},
{
"create": 0,
"delete": 0,
"doctype": "DocPerm",
"permlevel": 2,
"role": "Auditor",
"write": 0
},
{
"create": 1,
"delete": 1,
"doctype": "DocPerm",
"email": 1,
"export": 0,
"import": 0,
"permlevel": 0,
"print": 1,
"restrict": 1,
"role": "Accounts Manager",
"write": 1
},
{
"create": 0,
"delete": 0,
"doctype": "DocPerm",
"permlevel": 2,
"role": "Accounts Manager",
"write": 1
},
{
"create": 0,
"delete": 0,
"doctype": "DocPerm",
"permlevel": 2,
"role": "Accounts User",
"write": 0
}
]

View File

@@ -9,38 +9,39 @@ def _make_test_records(verbose):
accounts = [
# [account_name, parent_account, group_or_ledger]
["_Test Account Bank Account", "Bank Accounts", "Ledger"],
["_Test Account Bank Account", "Bank Accounts", "Ledger", "Bank"],
["_Test Account Stock Expenses", "Direct Expenses", "Group"],
["_Test Account Shipping Charges", "_Test Account Stock Expenses", "Ledger"],
["_Test Account Customs Duty", "_Test Account Stock Expenses", "Ledger"],
["_Test Account Stock Expenses", "Direct Expenses", "Group", None],
["_Test Account Shipping Charges", "_Test Account Stock Expenses", "Ledger", "Chargeable"],
["_Test Account Customs Duty", "_Test Account Stock Expenses", "Ledger", "Tax"],
["_Test Account Tax Assets", "Current Assets", "Group"],
["_Test Account VAT", "_Test Account Tax Assets", "Ledger"],
["_Test Account Service Tax", "_Test Account Tax Assets", "Ledger"],
["_Test Account Tax Assets", "Current Assets", "Group", None],
["_Test Account VAT", "_Test Account Tax Assets", "Ledger", "Tax"],
["_Test Account Service Tax", "_Test Account Tax Assets", "Ledger", "Tax"],
["_Test Account Reserves and Surplus", "Current Liabilities", "Ledger"],
["_Test Account Reserves and Surplus", "Current Liabilities", "Ledger", None],
["_Test Account Cost for Goods Sold", "Expenses", "Ledger"],
["_Test Account Excise Duty", "_Test Account Tax Assets", "Ledger"],
["_Test Account Education Cess", "_Test Account Tax Assets", "Ledger"],
["_Test Account S&H Education Cess", "_Test Account Tax Assets", "Ledger"],
["_Test Account CST", "Direct Expenses", "Ledger"],
["_Test Account Discount", "Direct Expenses", "Ledger"],
["_Test Account Cost for Goods Sold", "Expenses", "Ledger", None],
["_Test Account Excise Duty", "_Test Account Tax Assets", "Ledger", "Tax"],
["_Test Account Education Cess", "_Test Account Tax Assets", "Ledger", "Tax"],
["_Test Account S&H Education Cess", "_Test Account Tax Assets", "Ledger", "Tax"],
["_Test Account CST", "Direct Expenses", "Ledger", "Tax"],
["_Test Account Discount", "Direct Expenses", "Ledger", None],
# related to Account Inventory Integration
["_Test Account Stock In Hand", "Current Assets", "Ledger"],
["_Test Account Fixed Assets", "Current Assets", "Ledger"],
["_Test Account Stock In Hand", "Current Assets", "Ledger", None],
["_Test Account Fixed Assets", "Current Assets", "Ledger", None],
]
for company, abbr in [["_Test Company", "_TC"], ["_Test Company 1", "_TC1"]]:
test_objects = make_test_objects("Account", [[{
test_objects = make_test_objects("Account", [{
"doctype": "Account",
"account_name": account_name,
"parent_account": parent_account + " - " + abbr,
"company": company,
"group_or_ledger": group_or_ledger
}] for account_name, parent_account, group_or_ledger in accounts])
"group_or_ledger": group_or_ledger,
"account_type": account_type
} for account_name, parent_account, group_or_ledger, account_type in accounts])
return test_objects

View File

@@ -0,0 +1,66 @@
{
"creation": "2013-06-24 15:49:57.000000",
"description": "Settings for Accounts",
"docstatus": 0,
"doctype": "DocType",
"fields": [
{
"default": "1",
"description": "If enabled, the system will post accounting entries for inventory automatically.",
"fieldname": "auto_accounting_for_stock",
"fieldtype": "Check",
"label": "Make Accounting Entry For Every Stock Movement",
"permlevel": 0
},
{
"description": "Accounting entry frozen up to this date, nobody can do / modify entry except role specified below.",
"fieldname": "acc_frozen_upto",
"fieldtype": "Date",
"label": "Accounts Frozen Upto",
"permlevel": 0
},
{
"description": "Users with this role are allowed to create / modify accounting entry before frozen date",
"fieldname": "bde_auth_role",
"fieldtype": "Link",
"label": "Allowed Role to Edit Entries Before Frozen Date",
"options": "Role",
"permlevel": 0
},
{
"description": "Users with this role are allowed to set frozen accounts and create / modify accounting entries against frozen accounts",
"fieldname": "frozen_accounts_modifier",
"fieldtype": "Link",
"label": "Frozen Accounts Modifier",
"options": "Role",
"permlevel": 0
},
{
"description": "Role that is allowed to submit transactions that exceed credit limits set.",
"fieldname": "credit_controller",
"fieldtype": "Link",
"label": "Credit Controller",
"options": "Role",
"permlevel": 0
}
],
"icon": "icon-cog",
"idx": 1,
"issingle": 1,
"modified": "2013-12-20 19:22:52.000000",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Accounts Settings",
"owner": "Administrator",
"permissions": [
{
"create": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"role": "Accounts Manager",
"write": 1
}
]
}

View File

@@ -6,26 +6,23 @@
from __future__ import unicode_literals
import frappe
from frappe import _
from frappe.utils import cint
class DocType:
def __init__(self, d, dl):
self.doc, self.doclist = d, dl
from frappe.utils import cint, comma_and
from frappe.model.document import Document
class AccountsSettings(Document):
def on_update(self):
frappe.db.set_default("auto_accounting_for_stock", self.doc.auto_accounting_for_stock)
if cint(self.doc.auto_accounting_for_stock):
frappe.db.set_default("auto_accounting_for_stock", self.auto_accounting_for_stock)
if cint(self.auto_accounting_for_stock):
# set default perpetual account in company
for company in frappe.db.sql("select name from tabCompany"):
frappe.bean("Company", company[0]).save()
frappe.get_doc("Company", company[0]).save()
# Create account head for warehouses
warehouse_list = frappe.db.sql("select name, company from tabWarehouse", as_dict=1)
warehouse_with_no_company = [d.name for d in warehouse_list if not d.company]
if warehouse_with_no_company:
frappe.throw(_("Company is missing in following warehouses") + ": \n" +
"\n".join(warehouse_with_no_company))
frappe.throw(_("Company is missing in warehouses {0}").format(comma_and(warehouse_with_no_company)))
for wh in warehouse_list:
wh_bean = frappe.bean("Warehouse", wh.name)
wh_bean.save()
wh_doc = frappe.get_doc("Warehouse", wh.name)
wh_doc.save()

View File

@@ -1,85 +0,0 @@
[
{
"creation": "2013-06-24 15:49:57",
"docstatus": 0,
"modified": "2013-12-20 19:22:52",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"description": "Settings for Accounts",
"doctype": "DocType",
"icon": "icon-cog",
"issingle": 1,
"module": "Accounts",
"name": "__common__"
},
{
"doctype": "DocField",
"name": "__common__",
"parent": "Accounts Settings",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0
},
{
"create": 1,
"doctype": "DocPerm",
"email": 1,
"name": "__common__",
"parent": "Accounts Settings",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"print": 1,
"read": 1,
"role": "Accounts Manager",
"write": 1
},
{
"doctype": "DocType",
"name": "Accounts Settings"
},
{
"default": "1",
"description": "If enabled, the system will post accounting entries for inventory automatically.",
"doctype": "DocField",
"fieldname": "auto_accounting_for_stock",
"fieldtype": "Check",
"label": "Make Accounting Entry For Every Stock Movement"
},
{
"description": "Accounting entry frozen up to this date, nobody can do / modify entry except role specified below.",
"doctype": "DocField",
"fieldname": "acc_frozen_upto",
"fieldtype": "Date",
"label": "Accounts Frozen Upto"
},
{
"description": "Users with this role are allowed to create / modify accounting entry before frozen date",
"doctype": "DocField",
"fieldname": "bde_auth_role",
"fieldtype": "Link",
"label": "Allowed Role to Edit Entries Before Frozen Date",
"options": "Role"
},
{
"description": "Users with this role are allowed to set frozen accounts and create / modify accounting entries against frozen accounts",
"doctype": "DocField",
"fieldname": "frozen_accounts_modifier",
"fieldtype": "Link",
"label": "Frozen Accounts Modifier",
"options": "Role"
},
{
"description": "Role that is allowed to submit transactions that exceed credit limits set.",
"doctype": "DocField",
"fieldname": "credit_controller",
"fieldtype": "Link",
"label": "Credit Controller",
"options": "Role"
},
{
"doctype": "DocPerm"
}
]

View File

@@ -1,8 +1,18 @@
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
cur_frm.add_fetch("bank_account", "company", "company");
cur_frm.cscript.onload = function(doc, cdt, cdn){
cur_frm.set_intro('<i class="icon-question" /> ' +
frappe._("Update clearance date of Journal Entries marked as 'Bank Vouchers'"))
}
cur_frm.set_intro('<i class="icon-question" /> ' +
__("Update clearance date of Journal Entries marked as 'Bank Vouchers'"));
cur_frm.add_fetch("bank_account", "company", "company");
cur_frm.set_query("bank_account", function() {
return {
"filters": {
"account_type": "Bank",
"group_or_ledger": "Ledger"
}
};
});
}

View File

@@ -0,0 +1,96 @@
{
"allow_copy": 1,
"allow_email": 1,
"allow_print": 1,
"creation": "2013-01-10 16:34:05.000000",
"docstatus": 0,
"doctype": "DocType",
"fields": [
{
"description": "Select account head of the bank where cheque was deposited.",
"fieldname": "bank_account",
"fieldtype": "Link",
"label": "Bank Account",
"options": "Account",
"permlevel": 0,
"reqd": 1
},
{
"fieldname": "company",
"fieldtype": "Link",
"hidden": 1,
"label": "Company",
"options": "Company",
"permlevel": 0,
"print_hide": 1,
"reqd": 0
},
{
"fieldname": "from_date",
"fieldtype": "Date",
"label": "From Date",
"permlevel": 0,
"reqd": 1
},
{
"fieldname": "to_date",
"fieldtype": "Date",
"label": "To Date",
"permlevel": 0,
"reqd": 1
},
{
"fieldname": "get_non_reconciled_entries",
"fieldtype": "Button",
"label": "Get Non Reconciled Entries",
"options": "get_details",
"permlevel": 0
},
{
"fieldname": "entries",
"fieldtype": "Table",
"label": "Entries",
"options": "Bank Reconciliation Detail",
"permlevel": 0
},
{
"fieldname": "update_clearance_date",
"fieldtype": "Button",
"label": "Update Clearance Date",
"options": "update_details",
"permlevel": 0
},
{
"fieldname": "total_amount",
"fieldtype": "Currency",
"label": "Total Amount",
"options": "Company:company:default_currency",
"permlevel": 0,
"read_only": 1
}
],
"hide_heading": 1,
"hide_toolbar": 1,
"icon": "icon-check",
"idx": 1,
"issingle": 1,
"modified": "2013-07-05 14:26:22.000000",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Bank Reconciliation",
"owner": "Administrator",
"permissions": [
{
"amend": 0,
"cancel": 0,
"create": 1,
"permlevel": 0,
"read": 1,
"report": 0,
"role": "Accounts User",
"submit": 0,
"write": 1
}
],
"read_only": 1
}

View File

@@ -3,32 +3,31 @@
from __future__ import unicode_literals
import frappe
from frappe.utils import cstr, flt, getdate, nowdate
from frappe import msgprint, _
from frappe.model.document import Document
from frappe.utils import cstr, flt, getdate, now, nowdate
from frappe.model import db_exists
from frappe.model.doc import addchild
from frappe.model.bean import getlist, copy_doclist
from frappe import msgprint
class DocType:
def __init__(self, d, dl):
self.doc, self.doclist = d, dl
class BankReconciliation(Document):
def get_details(self):
if not (self.doc.bank_account and self.doc.from_date and self.doc.to_date):
if not (self.bank_account and self.from_date and self.to_date):
msgprint("Bank Account, From Date and To Date are Mandatory")
return
dl = frappe.db.sql("select t1.name, t1.cheque_no, t1.cheque_date, t2.debit, t2.credit, t1.posting_date, t2.against_account from `tabJournal Voucher` t1, `tabJournal Voucher Detail` t2 where t2.parent = t1.name and t2.account = %s and (clearance_date is null or clearance_date = '0000-00-00' or clearance_date = '') and t1.posting_date >= %s and t1.posting_date <= %s and t1.docstatus=1", (self.doc.bank_account, self.doc.from_date, self.doc.to_date))
self.doclist = self.doc.clear_table(self.doclist, 'entries')
self.doc.total_amount = 0.0
dl = frappe.db.sql("""select t1.name, t1.cheque_no, t1.cheque_date, t2.debit,
t2.credit, t1.posting_date, t2.against_account
from
`tabJournal Voucher` t1, `tabJournal Voucher Detail` t2
where
t2.parent = t1.name and t2.account = %s
and (clearance_date is null or clearance_date = '0000-00-00' or clearance_date = '')
and t1.posting_date >= %s and t1.posting_date <= %s and t1.docstatus=1""",
(self.bank_account, self.from_date, self.to_date))
self.set('entries', [])
self.total_amount = 0.0
for d in dl:
nl = addchild(self.doc, 'entries', 'Bank Reconciliation Detail', self.doclist)
nl = self.append('entries', {})
nl.posting_date = cstr(d[5])
nl.voucher_id = cstr(d[0])
nl.cheque_number = cstr(d[1])
@@ -36,22 +35,21 @@ class DocType:
nl.debit = flt(d[3])
nl.credit = flt(d[4])
nl.against_account = cstr(d[6])
self.doc.total_amount += flt(flt(d[4]) - flt(d[3]))
self.total_amount += flt(flt(d[4]) - flt(d[3]))
def update_details(self):
vouchers = []
for d in getlist(self.doclist, 'entries'):
for d in self.get('entries'):
if d.clearance_date:
if d.cheque_date and getdate(d.clearance_date) < getdate(d.cheque_date):
msgprint("Clearance Date can not be before Cheque Date (Row #%s)" %
d.idx, raise_exception=1)
frappe.db.sql("""update `tabJournal Voucher`
set clearance_date = %s, modified = %s where name=%s""",
(d.clearance_date, nowdate(), d.voucher_id))
frappe.throw(_("Clearance date cannot be before check date in row {0}").format(d.idx))
frappe.db.set_value("Journal Voucher", d.voucher_id, "clearance_date", d.clearance_date)
frappe.db.sql("""update `tabJournal Voucher` set clearance_date = %s, modified = %s
where name=%s""", (d.clearance_date, nowdate(), d.voucher_id))
vouchers.append(d.voucher_id)
if vouchers:
msgprint("Clearance Date updated in %s" % ", ".join(vouchers))
msgprint("Clearance Date updated in: {0}".format(", ".join(vouchers)))
else:
msgprint("Clearance Date not mentioned")
msgprint(_("Clearance Date not mentioned"))

View File

@@ -1,115 +0,0 @@
[
{
"creation": "2013-01-10 16:34:05",
"docstatus": 0,
"modified": "2013-07-05 14:26:22",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"allow_copy": 1,
"allow_email": 1,
"allow_print": 1,
"doctype": "DocType",
"hide_heading": 1,
"hide_toolbar": 1,
"icon": "icon-check",
"issingle": 1,
"module": "Accounts",
"name": "__common__",
"read_only": 1
},
{
"doctype": "DocField",
"name": "__common__",
"parent": "Bank Reconciliation",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0
},
{
"amend": 0,
"cancel": 0,
"create": 1,
"doctype": "DocPerm",
"name": "__common__",
"parent": "Bank Reconciliation",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"read": 1,
"report": 0,
"role": "Accounts User",
"submit": 0,
"write": 1
},
{
"doctype": "DocType",
"name": "Bank Reconciliation"
},
{
"description": "Select account head of the bank where cheque was deposited.",
"doctype": "DocField",
"fieldname": "bank_account",
"fieldtype": "Link",
"label": "Bank Account",
"options": "Account",
"reqd": 1
},
{
"doctype": "DocField",
"fieldname": "company",
"fieldtype": "Link",
"hidden": 1,
"label": "Company",
"options": "Company",
"print_hide": 1,
"reqd": 0
},
{
"doctype": "DocField",
"fieldname": "from_date",
"fieldtype": "Date",
"label": "From Date",
"reqd": 1
},
{
"doctype": "DocField",
"fieldname": "to_date",
"fieldtype": "Date",
"label": "To Date",
"reqd": 1
},
{
"doctype": "DocField",
"fieldname": "get_non_reconciled_entries",
"fieldtype": "Button",
"label": "Get Non Reconciled Entries",
"options": "get_details"
},
{
"doctype": "DocField",
"fieldname": "entries",
"fieldtype": "Table",
"label": "Entries",
"options": "Bank Reconciliation Detail"
},
{
"doctype": "DocField",
"fieldname": "update_clearance_date",
"fieldtype": "Button",
"label": "Update Clearance Date",
"options": "update_details"
},
{
"doctype": "DocField",
"fieldname": "total_amount",
"fieldtype": "Currency",
"label": "Total Amount",
"options": "Company:company:default_currency",
"read_only": 1
},
{
"doctype": "DocPerm"
}
]

View File

@@ -0,0 +1,109 @@
{
"creation": "2013-02-22 01:27:37.000000",
"docstatus": 0,
"doctype": "DocType",
"fields": [
{
"fieldname": "voucher_id",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Voucher ID",
"no_copy": 0,
"oldfieldname": "voucher_id",
"oldfieldtype": "Link",
"options": "Journal Voucher",
"permlevel": 0,
"search_index": 0
},
{
"fieldname": "against_account",
"fieldtype": "Data",
"in_list_view": 1,
"label": "Against Account",
"no_copy": 0,
"oldfieldname": "against_account",
"oldfieldtype": "Data",
"permlevel": 0,
"read_only": 1,
"search_index": 0
},
{
"fieldname": "posting_date",
"fieldtype": "Date",
"in_list_view": 1,
"label": "Posting Date",
"no_copy": 0,
"oldfieldname": "posting_date",
"oldfieldtype": "Date",
"permlevel": 0,
"read_only": 1,
"search_index": 0
},
{
"fieldname": "clearance_date",
"fieldtype": "Date",
"in_list_view": 1,
"label": "Clearance Date",
"no_copy": 0,
"oldfieldname": "clearance_date",
"oldfieldtype": "Date",
"permlevel": 0,
"search_index": 0
},
{
"fieldname": "cheque_number",
"fieldtype": "Data",
"in_list_view": 1,
"label": "Cheque Number",
"no_copy": 0,
"oldfieldname": "cheque_number",
"oldfieldtype": "Data",
"permlevel": 0,
"read_only": 1,
"search_index": 0
},
{
"fieldname": "cheque_date",
"fieldtype": "Date",
"in_list_view": 1,
"label": "Cheque Date",
"no_copy": 0,
"oldfieldname": "cheque_date",
"oldfieldtype": "Date",
"permlevel": 0,
"read_only": 1,
"search_index": 0
},
{
"fieldname": "debit",
"fieldtype": "Currency",
"label": "Debit",
"no_copy": 0,
"oldfieldname": "debit",
"oldfieldtype": "Currency",
"options": "Company:company:default_currency",
"permlevel": 0,
"read_only": 1,
"search_index": 0
},
{
"fieldname": "credit",
"fieldtype": "Currency",
"label": "Credit",
"no_copy": 0,
"oldfieldname": "credit",
"oldfieldtype": "Currency",
"options": "Company:company:default_currency",
"permlevel": 0,
"read_only": 1,
"search_index": 0
}
],
"idx": 1,
"istable": 1,
"modified": "2013-12-20 19:22:55.000000",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Bank Reconciliation Detail",
"owner": "Administrator"
}

View File

@@ -3,7 +3,7 @@
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
class DocType:
def __init__(self, d, dl):
self.doc, self.doclist = d, dl
class BankReconciliationDetail(Document):
pass

View File

@@ -1,108 +0,0 @@
[
{
"creation": "2013-02-22 01:27:37",
"docstatus": 0,
"modified": "2013-12-20 19:22:55",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"doctype": "DocType",
"istable": 1,
"module": "Accounts",
"name": "__common__"
},
{
"doctype": "DocField",
"name": "__common__",
"no_copy": 0,
"parent": "Bank Reconciliation Detail",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0,
"search_index": 0
},
{
"doctype": "DocType",
"name": "Bank Reconciliation Detail"
},
{
"doctype": "DocField",
"fieldname": "voucher_id",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Voucher ID",
"oldfieldname": "voucher_id",
"oldfieldtype": "Link",
"options": "Journal Voucher"
},
{
"doctype": "DocField",
"fieldname": "against_account",
"fieldtype": "Data",
"in_list_view": 1,
"label": "Against Account",
"oldfieldname": "against_account",
"oldfieldtype": "Data",
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "posting_date",
"fieldtype": "Date",
"in_list_view": 1,
"label": "Posting Date",
"oldfieldname": "posting_date",
"oldfieldtype": "Date",
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "clearance_date",
"fieldtype": "Date",
"in_list_view": 1,
"label": "Clearance Date",
"oldfieldname": "clearance_date",
"oldfieldtype": "Date"
},
{
"doctype": "DocField",
"fieldname": "cheque_number",
"fieldtype": "Data",
"in_list_view": 1,
"label": "Cheque Number",
"oldfieldname": "cheque_number",
"oldfieldtype": "Data",
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "cheque_date",
"fieldtype": "Date",
"in_list_view": 1,
"label": "Cheque Date",
"oldfieldname": "cheque_date",
"oldfieldtype": "Date",
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "debit",
"fieldtype": "Currency",
"label": "Debit",
"oldfieldname": "debit",
"oldfieldtype": "Currency",
"options": "Company:company:default_currency",
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "credit",
"fieldtype": "Currency",
"label": "Credit",
"oldfieldname": "credit",
"oldfieldtype": "Currency",
"options": "Company:company:default_currency",
"read_only": 1
}
]

View File

@@ -0,0 +1,52 @@
{
"autoname": "CBD/.######",
"creation": "2013-03-07 11:55:04.000000",
"docstatus": 0,
"doctype": "DocType",
"fields": [
{
"fieldname": "account",
"fieldtype": "Link",
"in_filter": 1,
"in_list_view": 1,
"label": "Account",
"oldfieldname": "account",
"oldfieldtype": "Link",
"options": "Account",
"permlevel": 0,
"reqd": 1,
"search_index": 1
},
{
"fieldname": "budget_allocated",
"fieldtype": "Currency",
"in_list_view": 1,
"label": "Budget Allocated",
"oldfieldname": "budget_allocated",
"oldfieldtype": "Currency",
"options": "Company:company:default_currency",
"permlevel": 0,
"reqd": 1
},
{
"fieldname": "fiscal_year",
"fieldtype": "Select",
"in_filter": 1,
"in_list_view": 1,
"label": "Fiscal Year",
"oldfieldname": "fiscal_year",
"oldfieldtype": "Select",
"options": "link:Fiscal Year",
"permlevel": 0,
"reqd": 1,
"search_index": 1
}
],
"idx": 1,
"istable": 1,
"modified": "2013-12-20 19:22:59.000000",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Budget Detail",
"owner": "Administrator"
}

View File

@@ -3,7 +3,7 @@
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
class DocType:
def __init__(self, d, dl):
self.doc, self.doclist = d, dl
class BudgetDetail(Document):
pass

View File

@@ -1,61 +0,0 @@
[
{
"creation": "2013-03-07 11:55:04",
"docstatus": 0,
"modified": "2013-12-20 19:22:59",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"autoname": "CBD/.######",
"doctype": "DocType",
"istable": 1,
"module": "Accounts",
"name": "__common__"
},
{
"doctype": "DocField",
"in_list_view": 1,
"name": "__common__",
"parent": "Budget Detail",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0,
"reqd": 1
},
{
"doctype": "DocType",
"name": "Budget Detail"
},
{
"doctype": "DocField",
"fieldname": "account",
"fieldtype": "Link",
"in_filter": 1,
"label": "Account",
"oldfieldname": "account",
"oldfieldtype": "Link",
"options": "Account",
"search_index": 1
},
{
"doctype": "DocField",
"fieldname": "budget_allocated",
"fieldtype": "Currency",
"label": "Budget Allocated",
"oldfieldname": "budget_allocated",
"oldfieldtype": "Currency",
"options": "Company:company:default_currency"
},
{
"doctype": "DocField",
"fieldname": "fiscal_year",
"fieldtype": "Select",
"in_filter": 1,
"label": "Fiscal Year",
"oldfieldname": "fiscal_year",
"oldfieldtype": "Select",
"options": "link:Fiscal Year",
"search_index": 1
}
]

View File

@@ -7,8 +7,7 @@ cur_frm.cscript.onload = function(doc,cdt,cdn){
refresh_field('budget_distribution_details');
}
return $c('runserverobj',args={'method' : 'get_months', 'docs' :
frappe.model.compress(make_doclist(doc.doctype, doc.name))},callback1);
return $c('runserverobj',args={'method':'get_months', 'docs':doc}, callback1);
}
}

View File

@@ -0,0 +1,81 @@
{
"autoname": "field:distribution_id",
"creation": "2013-01-10 16:34:05.000000",
"description": "**Budget Distribution** helps you distribute your budget across months if you have seasonality in your business.\n\nTo distribute a budget using this distribution, set this **Budget Distribution** in the **Cost Center**",
"docstatus": 0,
"doctype": "DocType",
"fields": [
{
"description": "Name of the Budget Distribution",
"fieldname": "distribution_id",
"fieldtype": "Data",
"label": "Distribution Name",
"oldfieldname": "distribution_id",
"oldfieldtype": "Data",
"permlevel": 0,
"reqd": 1
},
{
"fieldname": "fiscal_year",
"fieldtype": "Select",
"in_filter": 1,
"label": "Fiscal Year",
"oldfieldname": "fiscal_year",
"oldfieldtype": "Select",
"options": "link:Fiscal Year",
"permlevel": 0,
"search_index": 1
},
{
"fieldname": "budget_distribution_details",
"fieldtype": "Table",
"label": "Budget Distribution Details",
"oldfieldname": "budget_distribution_details",
"oldfieldtype": "Table",
"options": "Budget Distribution Detail",
"permlevel": 0
},
{
"fieldname": "trash_reason",
"fieldtype": "Small Text",
"label": "Trash Reason",
"oldfieldname": "trash_reason",
"oldfieldtype": "Small Text",
"permlevel": 0,
"read_only": 1
}
],
"icon": "icon-bar-chart",
"idx": 1,
"modified": "2014-01-20 17:48:27.000000",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Budget Distribution",
"name_case": "Title Case",
"owner": "Administrator",
"permissions": [
{
"amend": 0,
"cancel": 0,
"create": 1,
"delete": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Accounts Manager",
"submit": 0,
"write": 1
},
{
"cancel": 0,
"delete": 0,
"permlevel": 2,
"read": 1,
"report": 1,
"role": "Accounts Manager",
"submit": 0
}
]
}

View File

@@ -3,30 +3,23 @@
from __future__ import unicode_literals
import frappe
from frappe.utils import flt
from frappe.model.doc import addchild
from frappe.model.bean import getlist
from frappe import msgprint, _
from frappe import _
from frappe.model.document import Document
class DocType:
def __init__(self,doc,doclist=[]):
self.doc,self.doclist = doc,doclist
class BudgetDistribution(Document):
def get_months(self):
month_list = ['January','February','March','April','May','June','July','August','September',
'October','November','December']
idx =1
for m in month_list:
mnth = addchild(self.doc, 'budget_distribution_details',
'Budget Distribution Detail', self.doclist)
mnth.month = m or ''
mnth = self.append('budget_distribution_details')
mnth.month = m
mnth.idx = idx
idx += 1
def validate(self):
total = sum([flt(d.percentage_allocation, 2) for d in self.doclist.get(
{"parentfield": "budget_distribution_details"})])
total = sum([flt(d.percentage_allocation) for d in self.get("budget_distribution_details")])
if total != 100.0:
msgprint(_("Percentage Allocation should be equal to ") + "100%", raise_exception=1)
frappe.throw(_("Percentage Allocation should be equal to 100%"))

View File

@@ -1,96 +0,0 @@
[
{
"creation": "2013-01-10 16:34:05",
"docstatus": 0,
"modified": "2014-01-20 17:48:27",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"autoname": "field:distribution_id",
"description": "**Budget Distribution** helps you distribute your budget across months if you have seasonality in your business.\n\nTo distribute a budget using this distribution, set this **Budget Distribution** in the **Cost Center**",
"doctype": "DocType",
"icon": "icon-bar-chart",
"module": "Accounts",
"name": "__common__",
"name_case": "Title Case"
},
{
"doctype": "DocField",
"name": "__common__",
"parent": "Budget Distribution",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0
},
{
"cancel": 0,
"doctype": "DocPerm",
"name": "__common__",
"parent": "Budget Distribution",
"parentfield": "permissions",
"parenttype": "DocType",
"read": 1,
"report": 1,
"role": "Accounts Manager",
"submit": 0
},
{
"doctype": "DocType",
"name": "Budget Distribution"
},
{
"description": "Name of the Budget Distribution",
"doctype": "DocField",
"fieldname": "distribution_id",
"fieldtype": "Data",
"label": "Distribution Name",
"oldfieldname": "distribution_id",
"oldfieldtype": "Data",
"reqd": 1
},
{
"doctype": "DocField",
"fieldname": "fiscal_year",
"fieldtype": "Select",
"in_filter": 1,
"label": "Fiscal Year",
"oldfieldname": "fiscal_year",
"oldfieldtype": "Select",
"options": "link:Fiscal Year",
"search_index": 1
},
{
"doctype": "DocField",
"fieldname": "budget_distribution_details",
"fieldtype": "Table",
"label": "Budget Distribution Details",
"oldfieldname": "budget_distribution_details",
"oldfieldtype": "Table",
"options": "Budget Distribution Detail"
},
{
"doctype": "DocField",
"fieldname": "trash_reason",
"fieldtype": "Small Text",
"label": "Trash Reason",
"oldfieldname": "trash_reason",
"oldfieldtype": "Small Text",
"read_only": 1
},
{
"amend": 0,
"create": 1,
"delete": 1,
"doctype": "DocPerm",
"email": 1,
"permlevel": 0,
"print": 1,
"write": 1
},
{
"delete": 0,
"doctype": "DocPerm",
"permlevel": 2
}
]

View File

@@ -1,70 +1,6 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
test_records = [
[{
"doctype": "Budget Distribution",
"distribution_id": "_Test Distribution",
"fiscal_year": "_Test Fiscal Year 2013",
}, {
"doctype": "Budget Distribution Detail",
"parentfield": "budget_distribution_details",
"month": "January",
"percentage_allocation": "8"
}, {
"doctype": "Budget Distribution Detail",
"parentfield": "budget_distribution_details",
"month": "February",
"percentage_allocation": "8"
}, {
"doctype": "Budget Distribution Detail",
"parentfield": "budget_distribution_details",
"month": "March",
"percentage_allocation": "8"
}, {
"doctype": "Budget Distribution Detail",
"parentfield": "budget_distribution_details",
"month": "April",
"percentage_allocation": "8"
}, {
"doctype": "Budget Distribution Detail",
"parentfield": "budget_distribution_details",
"month": "May",
"percentage_allocation": "8"
}, {
"doctype": "Budget Distribution Detail",
"parentfield": "budget_distribution_details",
"month": "June",
"percentage_allocation": "8"
}, {
"doctype": "Budget Distribution Detail",
"parentfield": "budget_distribution_details",
"month": "July",
"percentage_allocation": "8"
}, {
"doctype": "Budget Distribution Detail",
"parentfield": "budget_distribution_details",
"month": "August",
"percentage_allocation": "8"
}, {
"doctype": "Budget Distribution Detail",
"parentfield": "budget_distribution_details",
"month": "September",
"percentage_allocation": "8"
}, {
"doctype": "Budget Distribution Detail",
"parentfield": "budget_distribution_details",
"month": "October",
"percentage_allocation": "8"
}, {
"doctype": "Budget Distribution Detail",
"parentfield": "budget_distribution_details",
"month": "November",
"percentage_allocation": "10"
}, {
"doctype": "Budget Distribution Detail",
"parentfield": "budget_distribution_details",
"month": "December",
"percentage_allocation": "10"
}]
]
import frappe
test_records = frappe.get_test_records('Budget Distribution')

View File

@@ -0,0 +1,44 @@
[{
"doctype": "Budget Distribution",
"distribution_id": "_Test Distribution",
"fiscal_year": "_Test Fiscal Year 2013",
"budget_distribution_details": [
{
"month": "January",
"percentage_allocation": "8"
}, {
"month": "February",
"percentage_allocation": "8"
}, {
"month": "March",
"percentage_allocation": "8"
}, {
"month": "April",
"percentage_allocation": "8"
}, {
"month": "May",
"percentage_allocation": "8"
}, {
"month": "June",
"percentage_allocation": "8"
}, {
"month": "July",
"percentage_allocation": "8"
}, {
"month": "August",
"percentage_allocation": "8"
}, {
"month": "September",
"percentage_allocation": "8"
}, {
"month": "October",
"percentage_allocation": "8"
}, {
"month": "November",
"percentage_allocation": "10"
}, {
"month": "December",
"percentage_allocation": "10"
}
]
}]

View File

@@ -0,0 +1,35 @@
{
"autoname": "BDD/.#####",
"creation": "2013-02-22 01:27:38.000000",
"docstatus": 0,
"doctype": "DocType",
"fields": [
{
"fieldname": "month",
"fieldtype": "Data",
"in_list_view": 1,
"label": "Month",
"oldfieldname": "month",
"oldfieldtype": "Data",
"permlevel": 0,
"read_only": 1,
"reqd": 1
},
{
"fieldname": "percentage_allocation",
"fieldtype": "Float",
"in_list_view": 1,
"label": "Percentage Allocation",
"oldfieldname": "percentage_allocation",
"oldfieldtype": "Currency",
"permlevel": 0
}
],
"idx": 1,
"istable": 1,
"modified": "2013-12-20 19:22:59.000000",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Budget Distribution Detail",
"owner": "Administrator"
}

View File

@@ -3,7 +3,7 @@
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
class DocType:
def __init__(self, d, dl):
self.doc, self.doclist = d, dl
class BudgetDistributionDetail(Document):
pass

View File

@@ -1,47 +0,0 @@
[
{
"creation": "2013-02-22 01:27:38",
"docstatus": 0,
"modified": "2013-12-20 19:22:59",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"autoname": "BDD/.#####",
"doctype": "DocType",
"istable": 1,
"module": "Accounts",
"name": "__common__"
},
{
"doctype": "DocField",
"in_list_view": 1,
"name": "__common__",
"parent": "Budget Distribution Detail",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0
},
{
"doctype": "DocType",
"name": "Budget Distribution Detail"
},
{
"doctype": "DocField",
"fieldname": "month",
"fieldtype": "Data",
"label": "Month",
"oldfieldname": "month",
"oldfieldtype": "Data",
"read_only": 1,
"reqd": 1
},
{
"doctype": "DocField",
"fieldname": "percentage_allocation",
"fieldtype": "Float",
"label": "Percentage Allocation",
"oldfieldname": "percentage_allocation",
"oldfieldtype": "Currency"
}
]

View File

@@ -0,0 +1,178 @@
{
"allow_attach": 1,
"autoname": "naming_series:",
"creation": "2013-03-07 11:55:06.000000",
"docstatus": 0,
"doctype": "DocType",
"fields": [
{
"fieldname": "column_break0",
"fieldtype": "Column Break",
"permlevel": 0,
"print_width": "50%",
"read_only": 0,
"width": "50%"
},
{
"fieldname": "naming_series",
"fieldtype": "Select",
"label": "Series",
"options": "\nC-FORM/",
"permlevel": 0,
"read_only": 0,
"reqd": 1
},
{
"fieldname": "c_form_no",
"fieldtype": "Data",
"label": "C-Form No",
"permlevel": 0,
"read_only": 0,
"reqd": 1
},
{
"fieldname": "received_date",
"fieldtype": "Date",
"label": "Received Date",
"permlevel": 0,
"read_only": 0,
"reqd": 1
},
{
"fieldname": "customer",
"fieldtype": "Link",
"label": "Customer",
"options": "Customer",
"permlevel": 0,
"read_only": 0,
"reqd": 1
},
{
"fieldname": "column_break1",
"fieldtype": "Column Break",
"permlevel": 0,
"print_width": "50%",
"read_only": 0,
"width": "50%"
},
{
"fieldname": "company",
"fieldtype": "Select",
"label": "Company",
"options": "link:Company",
"permlevel": 0,
"read_only": 0
},
{
"fieldname": "fiscal_year",
"fieldtype": "Select",
"label": "Fiscal Year",
"options": "link:Fiscal Year",
"permlevel": 0,
"read_only": 0,
"reqd": 1
},
{
"fieldname": "quarter",
"fieldtype": "Select",
"label": "Quarter",
"options": "\nI\nII\nIII\nIV",
"permlevel": 0,
"read_only": 0
},
{
"fieldname": "total_amount",
"fieldtype": "Currency",
"label": "Total Amount",
"options": "Company:company:default_currency",
"permlevel": 0,
"read_only": 0,
"reqd": 1
},
{
"fieldname": "state",
"fieldtype": "Data",
"label": "State",
"permlevel": 0,
"read_only": 0,
"reqd": 1
},
{
"fieldname": "section_break0",
"fieldtype": "Section Break",
"permlevel": 0,
"read_only": 0
},
{
"fieldname": "invoice_details",
"fieldtype": "Table",
"label": "Invoice Details",
"options": "C-Form Invoice Detail",
"permlevel": 0,
"read_only": 0
},
{
"fieldname": "total_invoiced_amount",
"fieldtype": "Currency",
"label": "Total Invoiced Amount",
"options": "Company:company:default_currency",
"permlevel": 0,
"print_hide": 0,
"read_only": 1
},
{
"fieldname": "amended_from",
"fieldtype": "Link",
"ignore_restrictions": 1,
"label": "Amended From",
"no_copy": 1,
"options": "C-Form",
"permlevel": 0,
"print_hide": 1,
"read_only": 1
}
],
"icon": "icon-file-text",
"idx": 1,
"is_submittable": 1,
"max_attachments": 3,
"modified": "2013-12-20 19:23:58.000000",
"modified_by": "Administrator",
"module": "Accounts",
"name": "C-Form",
"owner": "Administrator",
"permissions": [
{
"create": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Accounts User",
"submit": 0,
"write": 1
},
{
"create": 1,
"email": 1,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Accounts Manager",
"submit": 0,
"write": 1
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"permlevel": 1,
"read": 1,
"report": 1,
"role": "All",
"submit": 0
}
]
}

View File

@@ -3,84 +3,74 @@
from __future__ import unicode_literals
import frappe
from frappe.utils import flt, getdate
from frappe.model.bean import getlist
class DocType:
def __init__(self,d,dl):
self.doc, self.doclist = d,dl
from frappe.utils import flt
from frappe import _
from frappe.model.document import Document
class CForm(Document):
def validate(self):
"""Validate invoice that c-form is applicable
"""Validate invoice that c-form is applicable
and no other c-form is received for that"""
for d in getlist(self.doclist, 'invoice_details'):
for d in self.get('invoice_details'):
if d.invoice_no:
inv = frappe.db.sql("""select c_form_applicable, c_form_no from
`tabSales Invoice` where name = %s and docstatus = 1""", d.invoice_no)
if not inv:
frappe.msgprint("""Invoice: %s is not exists in the system or
is not submitted, please check.""" % d.invoice_no, raise_exception=1)
elif inv[0][0] != 'Yes':
frappe.msgprint("C-form is not applicable for Invoice: %s" %
d.invoice_no, raise_exception=1)
elif inv[0][1] and inv[0][1] != self.doc.name:
frappe.msgprint("""Invoice %s is tagged in another C-form: %s.
if inv[0][0] != 'Yes':
frappe.throw("C-form is not applicable for Invoice: %s" % d.invoice_no)
elif inv[0][1] and inv[0][1] != self.name:
frappe.throw("""Invoice %s is tagged in another C-form: %s.
If you want to change C-form no for this invoice,
please remove invoice no from the previous c-form and then try again""" %
(d.invoice_no, inv[0][1]), raise_exception=1)
please remove invoice no from the previous c-form and then try again""" %
(d.invoice_no, inv[0][1]))
def on_update(self):
""" Update C-Form No on invoices"""
self.set_total_invoiced_amount()
def on_submit(self):
self.set_cform_in_sales_invoices()
def before_cancel(self):
# remove cform reference
frappe.db.sql("""update `tabSales Invoice` set c_form_no=null
where c_form_no=%s""", self.doc.name)
frappe.db.sql("""update `tabSales Invoice` set c_form_no=null where c_form_no=%s""", self.name)
def set_cform_in_sales_invoices(self):
inv = [d.invoice_no for d in getlist(self.doclist, 'invoice_details')]
inv = [d.invoice_no for d in self.get('invoice_details')]
if inv:
frappe.db.sql("""update `tabSales Invoice` set c_form_no=%s, modified=%s
where name in (%s)""" % ('%s', '%s', ', '.join(['%s'] * len(inv))),
tuple([self.doc.name, self.doc.modified] + inv))
frappe.db.sql("""update `tabSales Invoice` set c_form_no = null, modified = %s
where name not in (%s) and ifnull(c_form_no, '') = %s""" %
('%s', ', '.join(['%s']*len(inv)), '%s'),
tuple([self.doc.modified] + inv + [self.doc.name]))
frappe.db.sql("""update `tabSales Invoice` set c_form_no=%s, modified=%s where name in (%s)""" %
('%s', '%s', ', '.join(['%s'] * len(inv))), tuple([self.name, self.modified] + inv))
frappe.db.sql("""update `tabSales Invoice` set c_form_no = null, modified = %s
where name not in (%s) and ifnull(c_form_no, '') = %s""" %
('%s', ', '.join(['%s']*len(inv)), '%s'), tuple([self.modified] + inv + [self.name]))
else:
frappe.msgprint("Please enter atleast 1 invoice in the table", raise_exception=1)
frappe.throw(_("Please enter atleast 1 invoice in the table"))
def set_total_invoiced_amount(self):
total = sum([flt(d.grand_total) for d in getlist(self.doclist, 'invoice_details')])
frappe.db.set(self.doc, 'total_invoiced_amount', total)
total = sum([flt(d.grand_total) for d in self.get('invoice_details')])
frappe.db.set(self, 'total_invoiced_amount', total)
def get_invoice_details(self, invoice_no):
""" Pull details from invoices for referrence """
inv = frappe.db.sql("""select posting_date, territory, net_total, grand_total
from `tabSales Invoice` where name = %s""", invoice_no)
inv = frappe.db.get_value("Sales Invoice", invoice_no,
["posting_date", "territory", "net_total", "grand_total"], as_dict=True)
return {
'invoice_date' : inv and getdate(inv[0][0]).strftime('%Y-%m-%d') or '',
'territory' : inv and inv[0][1] or '',
'net_total' : inv and flt(inv[0][2]) or '',
'grand_total' : inv and flt(inv[0][3]) or ''
'invoice_date' : inv.posting_date,
'territory' : inv.territory,
'net_total' : inv.net_total,
'grand_total' : inv.grand_total
}
def get_invoice_nos(doctype, txt, searchfield, start, page_len, filters):
from erpnext.utilities import build_filter_conditions
conditions, filter_values = build_filter_conditions(filters)
return frappe.db.sql("""select name from `tabSales Invoice` where docstatus = 1
and c_form_applicable = 'Yes' and ifnull(c_form_no, '') = '' %s
and %s like %s order by name limit %s, %s""" %
(conditions, searchfield, "%s", "%s", "%s"),
tuple(filter_values + ["%%%s%%" % txt, start, page_len]))
return frappe.db.sql("""select name from `tabSales Invoice` where docstatus = 1
and c_form_applicable = 'Yes' and ifnull(c_form_no, '') = '' %s
and %s like %s order by name limit %s, %s""" %
(conditions, searchfield, "%s", "%s", "%s"),
tuple(filter_values + ["%%%s%%" % txt, start, page_len]))

View File

@@ -1,193 +0,0 @@
[
{
"creation": "2013-03-07 11:55:06",
"docstatus": 0,
"modified": "2013-12-20 19:23:58",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"allow_attach": 1,
"autoname": "naming_series:",
"doctype": "DocType",
"icon": "icon-file-text",
"is_submittable": 1,
"max_attachments": 3,
"module": "Accounts",
"name": "__common__"
},
{
"doctype": "DocField",
"name": "__common__",
"parent": "C-Form",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0
},
{
"doctype": "DocPerm",
"name": "__common__",
"parent": "C-Form",
"parentfield": "permissions",
"parenttype": "DocType",
"read": 1,
"report": 1,
"submit": 0
},
{
"doctype": "DocType",
"name": "C-Form"
},
{
"doctype": "DocField",
"fieldname": "column_break0",
"fieldtype": "Column Break",
"print_width": "50%",
"read_only": 0,
"width": "50%"
},
{
"doctype": "DocField",
"fieldname": "naming_series",
"fieldtype": "Select",
"label": "Series",
"options": "\nC-FORM/",
"read_only": 0,
"reqd": 1
},
{
"doctype": "DocField",
"fieldname": "c_form_no",
"fieldtype": "Data",
"label": "C-Form No",
"read_only": 0,
"reqd": 1
},
{
"doctype": "DocField",
"fieldname": "received_date",
"fieldtype": "Date",
"label": "Received Date",
"read_only": 0,
"reqd": 1
},
{
"doctype": "DocField",
"fieldname": "customer",
"fieldtype": "Link",
"label": "Customer",
"options": "Customer",
"read_only": 0,
"reqd": 1
},
{
"doctype": "DocField",
"fieldname": "column_break1",
"fieldtype": "Column Break",
"print_width": "50%",
"read_only": 0,
"width": "50%"
},
{
"doctype": "DocField",
"fieldname": "company",
"fieldtype": "Select",
"label": "Company",
"options": "link:Company",
"read_only": 0
},
{
"doctype": "DocField",
"fieldname": "fiscal_year",
"fieldtype": "Select",
"label": "Fiscal Year",
"options": "link:Fiscal Year",
"read_only": 0,
"reqd": 1
},
{
"doctype": "DocField",
"fieldname": "quarter",
"fieldtype": "Select",
"label": "Quarter",
"options": "\nI\nII\nIII\nIV",
"read_only": 0
},
{
"doctype": "DocField",
"fieldname": "total_amount",
"fieldtype": "Currency",
"label": "Total Amount",
"options": "Company:company:default_currency",
"read_only": 0,
"reqd": 1
},
{
"doctype": "DocField",
"fieldname": "state",
"fieldtype": "Data",
"label": "State",
"read_only": 0,
"reqd": 1
},
{
"doctype": "DocField",
"fieldname": "section_break0",
"fieldtype": "Section Break",
"read_only": 0
},
{
"doctype": "DocField",
"fieldname": "invoice_details",
"fieldtype": "Table",
"label": "Invoice Details",
"options": "C-Form Invoice Detail",
"read_only": 0
},
{
"doctype": "DocField",
"fieldname": "total_invoiced_amount",
"fieldtype": "Currency",
"label": "Total Invoiced Amount",
"options": "Company:company:default_currency",
"print_hide": 0,
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "amended_from",
"fieldtype": "Link",
"ignore_restrictions": 1,
"label": "Amended From",
"no_copy": 1,
"options": "C-Form",
"print_hide": 1,
"read_only": 1
},
{
"create": 1,
"doctype": "DocPerm",
"email": 1,
"permlevel": 0,
"print": 1,
"role": "Accounts User",
"write": 1
},
{
"create": 1,
"doctype": "DocPerm",
"email": 1,
"permlevel": 0,
"print": 1,
"role": "Accounts Manager",
"write": 1
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"permlevel": 1,
"role": "All"
}
]

View File

@@ -0,0 +1,68 @@
{
"creation": "2013-02-22 01:27:38.000000",
"docstatus": 0,
"doctype": "DocType",
"fields": [
{
"fieldname": "invoice_no",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Invoice No",
"options": "Sales Invoice",
"permlevel": 0,
"print_width": "160px",
"width": "160px"
},
{
"fieldname": "invoice_date",
"fieldtype": "Date",
"in_list_view": 1,
"label": "Invoice Date",
"permlevel": 0,
"print_width": "120px",
"read_only": 1,
"width": "120px"
},
{
"description": "<a href=\"#Sales Browser/Territory\">Add / Edit</a>",
"fieldname": "territory",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Territory",
"options": "Territory",
"permlevel": 0,
"print_width": "120px",
"read_only": 1,
"width": "120px"
},
{
"fieldname": "net_total",
"fieldtype": "Currency",
"in_list_view": 1,
"label": "Net Total",
"options": "Company:company:default_currency",
"permlevel": 0,
"print_width": "120px",
"read_only": 1,
"width": "120px"
},
{
"fieldname": "grand_total",
"fieldtype": "Currency",
"in_list_view": 1,
"label": "Grand Total",
"options": "Company:company:default_currency",
"permlevel": 0,
"print_width": "120px",
"read_only": 1,
"width": "120px"
}
],
"idx": 1,
"istable": 1,
"modified": "2013-12-20 19:23:00.000000",
"modified_by": "Administrator",
"module": "Accounts",
"name": "C-Form Invoice Detail",
"owner": "Administrator"
}

View File

@@ -3,7 +3,7 @@
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
class DocType:
def __init__(self, d, dl):
self.doc, self.doclist = d, dl
class CFormInvoiceDetail(Document):
pass

View File

@@ -1,77 +0,0 @@
[
{
"creation": "2013-02-22 01:27:38",
"docstatus": 0,
"modified": "2013-12-20 19:23:00",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"doctype": "DocType",
"istable": 1,
"module": "Accounts",
"name": "__common__"
},
{
"doctype": "DocField",
"in_list_view": 1,
"name": "__common__",
"parent": "C-Form Invoice Detail",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0
},
{
"doctype": "DocType",
"name": "C-Form Invoice Detail"
},
{
"doctype": "DocField",
"fieldname": "invoice_no",
"fieldtype": "Link",
"label": "Invoice No",
"options": "Sales Invoice",
"print_width": "160px",
"width": "160px"
},
{
"doctype": "DocField",
"fieldname": "invoice_date",
"fieldtype": "Date",
"label": "Invoice Date",
"print_width": "120px",
"read_only": 1,
"width": "120px"
},
{
"description": "<a href=\"#Sales Browser/Territory\">Add / Edit</a>",
"doctype": "DocField",
"fieldname": "territory",
"fieldtype": "Link",
"label": "Territory",
"options": "Territory",
"print_width": "120px",
"read_only": 1,
"width": "120px"
},
{
"doctype": "DocField",
"fieldname": "net_total",
"fieldtype": "Currency",
"label": "Net Total",
"options": "Company:company:default_currency",
"print_width": "120px",
"read_only": 1,
"width": "120px"
},
{
"doctype": "DocField",
"fieldname": "grand_total",
"fieldtype": "Currency",
"label": "Grand Total",
"options": "Company:company:default_currency",
"print_width": "120px",
"read_only": 1,
"width": "120px"
}
]

View File

@@ -0,0 +1,59 @@
{
"autoname": "field:chart_name",
"creation": "2014-03-05 14:11:31.000000",
"description": "Financial Chart of Accounts. Imported from file.",
"docstatus": 0,
"doctype": "DocType",
"document_type": "Master",
"fields": [
{
"fieldname": "chart_name",
"fieldtype": "Data",
"in_list_view": 0,
"label": "Chart Name",
"permlevel": 0,
"reqd": 1
},
{
"fieldname": "country",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Country",
"options": "Country",
"permlevel": 0,
"reqd": 1
},
{
"fieldname": "preview",
"fieldtype": "HTML",
"label": "Preview",
"permlevel": 0
},
{
"fieldname": "source_file",
"fieldtype": "Data",
"hidden": 1,
"label": "Source File",
"permlevel": 0,
"read_only": 1,
"reqd": 0
}
],
"idx": 1,
"in_create": 1,
"modified": "2014-03-05 14:51:05.000000",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Chart of Accounts",
"owner": "Administrator",
"permissions": [
{
"export": 0,
"permlevel": 0,
"print": 1,
"read": 1,
"report": 1,
"role": "Accounts Manager"
}
]
}

View File

@@ -0,0 +1,62 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe, os, json
from frappe.utils import cstr
from unidecode import unidecode
from frappe.model.document import Document
class ChartofAccounts(Document):
no_report_type = False
def create_accounts(self, company):
chart = {}
with open(os.path.join(os.path.dirname(__file__), "charts", self.source_file), "r") as f:
chart = json.loads(f.read())
from erpnext.accounts.doctype.chart_of_accounts.charts.account_properties import account_properties
if chart:
accounts = []
def _import_accounts(children, parent):
for child in children:
account_name = child.get("name")
account_name_in_db = unidecode(account_name.strip().lower())
if account_name_in_db in accounts:
count = accounts.count(account_name_in_db)
account_name = account_name + " " + cstr(count)
child.update(account_properties.get(chart.get("name"), {}).get(account_name, {}))
account = frappe.get_doc({
"doctype": "Account",
"account_name": account_name,
"company": company,
"parent_account": parent,
"group_or_ledger": "Group" if child.get("children") else "Ledger",
"report_type": child.get("report_type"),
"account_type": child.get("account_type")
}).insert()
accounts.append(account_name_in_db)
# set report_type for all parents where blank
if not account.report_type or account.report_type == 'None':
self.no_report_type = True
elif self.no_report_type:
frappe.db.sql("""update tabAccount set report_type=%s
where lft<=%s and rgt>=%s and ifnull(report_type, '')=''""",
(account.report_type, account.lft, account.rgt))
if child.get("children"):
_import_accounts(child.get("children"), account.name)
_import_accounts(chart.get("root").get("children"), None)
@frappe.whitelist()
def get_charts_for_country(country):
return frappe.db.sql_list("""select chart_name from `tabChart of Accounts`
where country=%s""", country)

View File

@@ -0,0 +1,13 @@
account_properties = {
"Deutscher Kontenplan SKR03": {
"Bilanzkonten": {
"report_type": "Balance Sheet",
},
"Gewinn u. Verlust": {
"report_type": "Profit and Loss",
},
"Vortrags- Kapital- und Statistische Konten": {
"report_type": "Balance Sheet"
}
}
}

View File

@@ -0,0 +1,669 @@
{
"name": "Argentina - Plan de Cuentas",
"root": {
"children": [
{
"children": [
{
"children": [
{
"name": "Acreedor por Garant\u00edas Otorgadas"
},
{
"name": "Acreedor por Documentos Descontados"
},
{
"name": "Comitente por Mercaderias Recibidas en Consignaci\u00f3n"
}
],
"name": "CUENTAS DE ORDEN ACREEDORAS"
},
{
"children": [
{
"name": "Documentos Endosados"
},
{
"name": "Documentos Descontados"
},
{
"name": "Garantias Otorgadas"
},
{
"name": "Dep\u00f3sito de Valores Recibos en Garant\u00eda"
},
{
"name": "Mercaderias Recibidas en Consignaci\u00f3n"
}
],
"name": "CUENTAS DE ORDEN DEUDORAS"
}
],
"name": "Cuentas de Orden"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Recupero de Rezagos",
"report_type": "Profit and Loss"
},
{
"name": "Ganancia Venta de Bienes de Uso",
"report_type": "Profit and Loss"
},
{
"name": "Recupero de Deudores Incobrables",
"report_type": "Profit and Loss"
},
{
"name": "Ganancia Venta Inversiones Permanentes",
"report_type": "Profit and Loss"
},
{
"name": "Donaciones obtenidas, ganandas, percibidas",
"report_type": "Profit and Loss"
}
],
"name": "Resultados Positivos Extraordinarios"
},
{
"children": [
{
"name": "Comisiones gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"name": "Descuentos gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"name": "Renta de T\u00edtulos P\u00fablicos",
"report_type": "Profit and Loss"
},
{
"name": "Honorarios gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"children": [
{
"name": "Ventas - Categoria de productos 01",
"report_type": "Profit and Loss"
}
],
"name": "Resultados Positivos Ordinarios"
},
{
"name": "Intereses gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"name": "Alquileres gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"name": "Ganancia Venta de Acciones",
"report_type": "Profit and Loss"
}
],
"name": "Resultados Positivos Ordinarios"
}
],
"name": "RESULTADOS POSITIVOS"
},
{
"children": [
{
"children": [
{
"name": "Gastos de Publicidad y Propaganda",
"report_type": "Profit and Loss"
},
{
"name": "Gastos en Servicios P\u00fablicos"
},
{
"children": [
{
"name": "Costo de Mercader\u00edas Vendidas - Categoria de productos 01",
"report_type": "Profit and Loss"
}
],
"name": "Costo de Mercader\u00edas Vendidas"
},
{
"name": "Gastos en Amortizaci\u00f3n",
"report_type": "Profit and Loss"
},
{
"name": "Gastos en Cargas Sociales",
"report_type": "Profit and Loss"
},
{
"name": "Gastos en Sueldos y Jormales",
"report_type": "Profit and Loss"
},
{
"name": "Gastos Bancarios"
},
{
"name": "Gastos en Impuestos"
},
{
"name": "Gastos en Depreciaci\u00f3n de Bienes de Uso",
"report_type": "Profit and Loss"
}
],
"name": "Resultados Negativos Ordinarios"
},
{
"children": [
{
"name": "Gastos en Siniestros",
"report_type": "Profit and Loss"
},
{
"name": "Donaciones Cedidas, Otorgadas",
"report_type": "Profit and Loss"
},
{
"name": "P\u00e9rdida Venta Bienes de Uso",
"report_type": "Profit and Loss"
}
],
"name": "Resultados Negativos Extraordinarios"
}
],
"name": "RESULTADOS NEGATIVOS"
}
],
"name": "Cuentas de Resultado"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Ajustes al Patrimonio / Revaluo T\u00e9cnico de Bienes de Uso",
"report_type": "Balance Sheet"
}
],
"name": "Ajustes al Patrimonio"
},
{
"children": [
{
"name": "Aportes No Capitalizados / Aportes Irrevocables Futura Suscripci\u00f3n de Acciones",
"report_type": "Balance Sheet"
},
{
"name": "Aportes No Capitalizados / Primas de Emsi\u00f3n",
"report_type": "Balance Sheet"
}
],
"name": "Aportes No Capitalizados"
},
{
"children": [
{
"name": "Capital social / Dividendos a Distribuir en Acciones",
"report_type": "Balance Sheet"
},
{
"name": "Capital social / Acciones en Circulaci\u00f3n",
"report_type": "Balance Sheet"
},
{
"name": "Capital social / Capital Suscripto",
"report_type": "Balance Sheet"
},
{
"name": "Capital social / (-) Descuento de Emisi\u00f3n de Acciones",
"report_type": "Balance Sheet"
}
],
"name": "Capital Social"
},
{
"children": [
{
"name": "Resultados Acumulados",
"report_type": "Balance Sheet"
},
{
"name": "Resultado del Ejercicio",
"report_type": "Balance Sheet"
},
{
"name": "Ganancias y P\u00e9rdidas del Ejercicio",
"report_type": "Balance Sheet"
},
{
"name": "Resultados Acumulados del Ejercicio Anterior",
"report_type": "Balance Sheet"
}
],
"name": "Resultados No Asignados"
},
{
"children": [
{
"name": "Reserva para Renovaci\u00f3n de Bienes de Uso",
"report_type": "Balance Sheet"
},
{
"name": "Reserva Estatutaria",
"report_type": "Balance Sheet"
},
{
"name": "Reserva Facultativa",
"report_type": "Balance Sheet"
},
{
"name": "Reserva Legal",
"report_type": "Balance Sheet"
}
],
"name": "Ganancias Reservadas"
}
],
"name": "PATRIMONIO NETO"
},
{
"children": [
{
"children": [
{
"name": "Deudas Sociales / Retenciones a Depositar",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Sociales / Sueldos a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Sociales / Provisi\u00f3n para Sueldo Anual Complementario",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Sociales / Cargas Sociales a Pagar",
"report_type": "Balance Sheet"
}
],
"name": "Deudas Sociales"
},
{
"children": [
{
"name": "Otras Deudas / Acreedores Varios",
"report_type": "Balance Sheet"
},
{
"name": "Otras Deudas / Honorarios Directores y S\u00edndicos a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Otras Deudas / Dividendos a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Otras Deudas / Cobros por Adelantado",
"report_type": "Balance Sheet"
}
],
"name": "Otras Deudas"
},
{
"children": [
{
"name": "Previsiones / Previsi\u00f3n para Garant\u00edas por Service",
"report_type": "Balance Sheet"
},
{
"name": "Previsiones / Previsi\u00f3n para juicios Pendientes",
"report_type": "Balance Sheet"
},
{
"name": "Previsiones / Previsi\u00f3n Indemnizaci\u00f3n por Despidos",
"report_type": "Balance Sheet"
}
],
"name": "Previsiones"
},
{
"children": [
{
"name": "Deudas Comerciales / Anticipos de Clientes",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Comerciales / (-) Intereses a Devengar por Compras al Cr\u00e9dito",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Comerciales / Proveedores",
"report_type": "Balance Sheet"
}
],
"name": "Deudas Comerciales"
},
{
"children": [
{
"name": "Deudas Bancarias y Financieras / Debentures Emitidos",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Bancarias y Financieras / Intereses a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Bancarias y Financieras / Obligaciones a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Bancarias y Financieras / Prestamos",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Bancarias y Financieras / Adelantos en Cuenta Corriente",
"report_type": "Balance Sheet"
}
],
"name": "Deudas Bancarias y Financieras"
},
{
"children": [
{
"name": "Deudas Fiscales / Impuesto sobre los Bienes Personales a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Fiscales / Impuesto a la Ganancia M\u00ednima Presunta a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Fiscales / Monotributo a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Fiscales / IVA a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Fiscales / Impuesto a los D\u00e9bitos y Cr\u00e9ditos Bancarios a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Fiscales / Impuesto a las Ganancias a Pagar",
"report_type": "Balance Sheet"
}
],
"name": "Deudas Fiscales"
}
],
"name": "PASIVO"
},
{
"children": [
{
"name": "Otros Cr\u00e9ditos / Anticipo de Impuestos",
"report_type": "Balance Sheet"
},
{
"name": "Otros Cr\u00e9ditos / Anticipos a Proveedores",
"report_type": "Balance Sheet"
},
{
"name": "Otros Cr\u00e9ditos / Pr\u00e9stamos otorgados",
"report_type": "Balance Sheet"
},
{
"name": "Otros Cr\u00e9ditos / Accionistas",
"report_type": "Balance Sheet"
},
{
"name": "Otros Cr\u00e9ditos / Intereses Pagados por Adelantado",
"report_type": "Balance Sheet"
},
{
"name": "Otros Cr\u00e9ditos / Alquileres Pagados por Adelantado",
"report_type": "Balance Sheet"
},
{
"name": "Otros Cr\u00e9ditos / Anticipo al Personal",
"report_type": "Balance Sheet"
},
{
"name": "Otros Cr\u00e9ditos / (-) Intereses (+) a Devengar",
"report_type": "Balance Sheet"
},
{
"name": "Otros Cr\u00e9ditos / (-) Previsi\u00f3n para Descuentos",
"report_type": "Balance Sheet"
}
],
"name": "Otros Cr\u00e9ditos"
},
{
"children": [
{
"name": "Cr\u00e9ditos por Ventas / Deudores por Ventas",
"report_type": "Balance Sheet"
},
{
"name": "Cr\u00e9ditos por Ventas / Deudores Morosos",
"report_type": "Balance Sheet"
},
{
"name": "Cr\u00e9ditos por Ventas / Deudores en Gesti\u00f3n Judicial",
"report_type": "Balance Sheet"
},
{
"name": "Cr\u00e9ditos por Ventas / Deudores Varios",
"report_type": "Balance Sheet"
},
{
"name": "Cr\u00e9ditos por Ventas / (-) Previsi\u00f3n para Ds. Incobrables",
"report_type": "Balance Sheet"
}
],
"name": "Cr\u00e9ditos por Ventas"
},
{
"children": [
{
"children": [
{
"name": "Caja y bancos - Valores a Depositar ",
"report_type": "Balance Sheet"
},
{
"children": [
{
"name": "Caja y Bancos.../ BCO. CTA CTE ARS",
"report_type": "Balance Sheet"
}
],
"name": "Caja y Bancos - Cuentas Corrientes"
},
{
"name": "Caja y bancos - Recaudaciones a Depositar ",
"report_type": "Balance Sheet"
},
{
"children": [
{
"name": "Caja y bancos - Caja / efectivo ARS",
"report_type": "Balance Sheet"
}
],
"name": "Caja y Bancos - Caja"
},
{
"children": [
{
"name": "Caja y ...- Fondos fijos / caja chica 01 ARS",
"report_type": "Balance Sheet"
}
],
"name": "Caja y Bancos - Fondos fijos"
},
{
"children": [
{
"name": "Caja y bancos - Caja / efectivo USD",
"report_type": "Balance Sheet"
}
],
"name": "Caja y Bancos - Moneda Extranjera"
}
],
"name": "Caja y Bancos"
},
{
"children": [
{
"children": [
{
"name": "Bienes de Cambio - Mercader\u00edas / Categoria de productos 01",
"report_type": "Balance Sheet"
}
],
"name": "Bienes de Cambio - Mercader\u00edas"
},
{
"name": "Materias primas",
"report_type": "Balance Sheet"
},
{
"name": "Bienes de Cambio - Mercader\u00edas en Tr\u00e1nsito",
"report_type": "Balance Sheet"
},
{
"name": "Productos Elaborados",
"report_type": "Balance Sheet"
},
{
"name": "Productos en Curso de Elaboraci\u00f3n",
"report_type": "Balance Sheet"
},
{
"name": "(-) Previsi\u00f3n para Desvalorizaci\u00f3n de Bienes de Cambio",
"report_type": "Balance Sheet"
},
{
"name": "Materiales Varios ",
"report_type": "Balance Sheet"
}
],
"name": "Bienes de Cambio"
},
{
"children": [
{
"name": "Inversiones / (-) Previsi\u00f3n para Devalorizaci\u00f3n de Acciones",
"report_type": "Balance Sheet"
},
{
"name": "Inversiones / Acciones Permanentes",
"report_type": "Balance Sheet"
},
{
"name": "Inversiones / T\u00edtulos P\u00fablicos",
"report_type": "Balance Sheet"
},
{
"name": "Inversiones / Acciones Transitorias",
"report_type": "Balance Sheet"
}
],
"name": "Inversiones"
},
{
"children": [
{
"name": "Bienes Inmateriales / (-) Amortizaci\u00f3n Acumulada",
"report_type": "Balance Sheet"
},
{
"name": "Bienes Inmateriales / Patentes de Invenci\u00f3n",
"report_type": "Balance Sheet"
},
{
"name": "Bienes Inmateriales / Concesiones y Franquicias",
"report_type": "Balance Sheet"
},
{
"name": "Bienes Inmateriales / Marcas de F\u00e1brica",
"report_type": "Balance Sheet"
}
],
"name": "Bienes Inmateriales"
},
{
"children": [
{
"name": "Bienes de Uso / Inmuebles",
"report_type": "Balance Sheet"
},
{
"name": "Bienes de Uso / Maquinaria",
"report_type": "Balance Sheet"
},
{
"name": "Bienes de Uso / Rodados",
"report_type": "Balance Sheet"
},
{
"name": "Bienes de Uso / (-) Depreciaci\u00f3n Acumulada",
"report_type": "Balance Sheet"
},
{
"name": "Bienes de Uso / Equipos",
"report_type": "Balance Sheet"
}
],
"name": "Bienes de Uso"
}
],
"name": "ACTIVO"
}
],
"name": "Cuentas Patrimoniales"
},
{
"children": [
{
"children": [
{
"name": "Compras - Categoria de productos 01"
}
],
"name": "Compras"
},
{
"name": "Costos de Producci\u00f3n",
"report_type": "Profit and Loss"
},
{
"name": "Gastos de Administraci\u00f3n",
"report_type": "Profit and Loss"
},
{
"name": "Gastos de Comercializaci\u00f3n",
"report_type": "Profit and Loss"
}
],
"name": "Cuentas de Movimiento"
}
],
"name": "Argentina"
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,657 @@
{
"name": "Bolivia - Plan de Cuentas",
"root": {
"children": [
{
"children": [
{
"children": [
{
"name": "Acreedor por Garant\u00edas Otorgadas"
},
{
"name": "Acreedor por Documentos Descontados"
},
{
"name": "Comitente por Mercaderias Recibidas en Consignaci\u00f3n"
}
],
"name": "CUENTAS DE ORDEN ACREEDORAS"
},
{
"children": [
{
"name": "Documentos Endosados"
},
{
"name": "Documentos Descontados"
},
{
"name": "Garantias Otorgadas"
},
{
"name": "Dep\u00f3sito de Valores Recibos en Garant\u00eda"
},
{
"name": "Mercaderias Recibidas en Consignaci\u00f3n"
}
],
"name": "CUENTAS DE ORDEN DEUDORAS"
}
],
"name": "Cuentas de Orden"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Recupero de Rezagos",
"report_type": "Profit and Loss"
},
{
"name": "Ganancia Venta de Bienes de Uso",
"report_type": "Profit and Loss"
},
{
"name": "Recupero de Deudores Incobrables",
"report_type": "Profit and Loss"
},
{
"name": "Ganancia Venta Inversiones Permanentes",
"report_type": "Profit and Loss"
},
{
"name": "Donaciones obtenidas, ganandas, percibidas",
"report_type": "Profit and Loss"
}
],
"name": "Resultados Positivos Extraordinarios"
},
{
"children": [
{
"name": "Comisiones gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"name": "Descuentos gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"name": "Renta de T\u00edtulos P\u00fablicos",
"report_type": "Profit and Loss"
},
{
"name": "Honorarios gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"children": [
{
"name": "Ventas - Categoria de productos 01",
"report_type": "Profit and Loss"
}
],
"name": "Ventas"
},
{
"name": "Intereses gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"name": "Alquileres gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"name": "Ganancia Venta de Acciones",
"report_type": "Profit and Loss"
}
],
"name": "Resultados Positivos Ordinarios"
}
],
"name": "RESULTADOS POSITIVOS"
},
{
"children": [
{
"children": [
{
"name": "Gastos de Publicidad y Propaganda",
"report_type": "Profit and Loss"
},
{
"name": "Gastos en Servicios P\u00fablicos"
},
{
"children": [
{
"name": "Costo de Mercader\u00edas Vendidas - Categoria de productos 01",
"report_type": "Profit and Loss"
}
],
"name": "Costo de Mercader\u00edas Vendidas"
},
{
"name": "Gastos en Amortizaci\u00f3n",
"report_type": "Profit and Loss"
},
{
"name": "Gastos en Cargas Sociales",
"report_type": "Profit and Loss"
},
{
"name": "Gastos en Sueldos y Jormales",
"report_type": "Profit and Loss"
},
{
"name": "Gastos Bancarios"
},
{
"name": "Gastos en Impuestos"
},
{
"name": "Gastos en Depreciaci\u00f3n de Bienes de Uso",
"report_type": "Profit and Loss"
}
],
"name": "Resultados Negativos Ordinarios"
},
{
"children": [
{
"name": "Gastos en Siniestros",
"report_type": "Profit and Loss"
},
{
"name": "Donaciones Cedidas, Otorgadas",
"report_type": "Profit and Loss"
},
{
"name": "P\u00e9rdida Venta Bienes de Uso",
"report_type": "Profit and Loss"
}
],
"name": "Resultados Negativos Extraordinarios"
}
],
"name": "RESULTADOS NEGATIVOS"
}
],
"name": "Cuentas de Resultado"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Ajustes al Patrimonio / Revaluo T\u00e9cnico de Bienes de Uso",
"report_type": "Balance Sheet"
}
],
"name": "Ajustes al Patrimonio"
},
{
"children": [
{
"name": "Aportes No Capitalizados / Aportes Irrevocables Futura Suscripci\u00f3n de Acciones",
"report_type": "Balance Sheet"
},
{
"name": "Aportes No Capitalizados / Primas de Emsi\u00f3n",
"report_type": "Balance Sheet"
}
],
"name": "Aportes No Capitalizados"
},
{
"children": [
{
"name": "Capital social / Dividendos a Distribuir en Acciones",
"report_type": "Balance Sheet"
},
{
"name": "Capital social / Acciones en Circulaci\u00f3n",
"report_type": "Balance Sheet"
},
{
"name": "Capital social / Capital Suscripto",
"report_type": "Balance Sheet"
},
{
"name": "Capital social / (-) Descuento de Emisi\u00f3n de Acciones",
"report_type": "Balance Sheet"
}
],
"name": "Capital Social"
},
{
"children": [
{
"name": "Resultados Acumulados",
"report_type": "Balance Sheet"
},
{
"name": "Resultado del Ejercicio",
"report_type": "Balance Sheet"
},
{
"name": "Ganancias y P\u00e9rdidas del Ejercicio",
"report_type": "Balance Sheet"
},
{
"name": "Resultados Acumulados del Ejercicio Anterior",
"report_type": "Balance Sheet"
}
],
"name": "Resultados No Asignados"
},
{
"children": [
{
"name": "Reserva para Renovaci\u00f3n de Bienes de Uso",
"report_type": "Balance Sheet"
},
{
"name": "Reserva Estatutaria",
"report_type": "Balance Sheet"
},
{
"name": "Reserva Facultativa",
"report_type": "Balance Sheet"
},
{
"name": "Reserva Legal",
"report_type": "Balance Sheet"
}
],
"name": "Ganancias Reservadas"
}
],
"name": "PATRIMONIO NETO"
},
{
"children": [
{
"children": [
{
"name": "Deudas Sociales / Retenciones a Depositar",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Sociales / Sueldos a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Sociales / Provisi\u00f3n para Sueldo Anual Complementario",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Sociales / Cargas Sociales a Pagar",
"report_type": "Balance Sheet"
}
],
"name": "Deudas Sociales"
},
{
"children": [
{
"name": "Otras Deudas / Acreedores Varios",
"report_type": "Balance Sheet"
},
{
"name": "Otras Deudas / Honorarios Directores y S\u00edndicos a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Otras Deudas / Dividendos a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Otras Deudas / Cobros por Adelantado",
"report_type": "Balance Sheet"
}
],
"name": "Otras Deudas"
},
{
"children": [
{
"name": "Previsiones / Previsi\u00f3n para Garant\u00edas por Service",
"report_type": "Balance Sheet"
},
{
"name": "Previsiones / Previsi\u00f3n para juicios Pendientes",
"report_type": "Balance Sheet"
},
{
"name": "Previsiones / Previsi\u00f3n Indemnizaci\u00f3n por Despidos",
"report_type": "Balance Sheet"
}
],
"name": "Previsiones"
},
{
"children": [
{
"name": "Deudas Comerciales / Anticipos de Clientes",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Comerciales / (-) Intereses a Devengar por Compras al Cr\u00e9dito",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Comerciales / Proveedores",
"report_type": "Balance Sheet"
}
],
"name": "Deudas Comerciales"
},
{
"children": [
{
"name": "Deudas Bancarias y Financieras / Letras de Cambio Emitidos",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Bancarias y Financieras / Intereses a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Bancarias y Financieras / Obligaciones a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Bancarias y Financieras / Prestamos",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Bancarias y Financieras / Adelantos en Cuenta Corriente",
"report_type": "Balance Sheet"
}
],
"name": "Deudas Bancarias y Financieras"
},
{
"children": [
{
"name": "Deudas Fiscales / IVA a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Fiscales / Impuesto a las Transacciones IT a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Deudas Fiscales / Impuesto a las Utilidades de Empresas IUE a Pagar",
"report_type": "Balance Sheet"
}
],
"name": "Deudas Fiscales"
}
],
"name": "PASIVO"
},
{
"children": [
{
"children": [
{
"name": "Caja y bancos - Valores a Depositar ",
"report_type": "Balance Sheet"
},
{
"children": [
{
"name": "Caja y Bancos.../ BCO. CTA CTE BOB",
"report_type": "Balance Sheet"
}
],
"name": "Caja y Bancos - Cuentas Corrientes"
},
{
"name": "Caja y bancos - Recaudaciones a Depositar ",
"report_type": "Balance Sheet"
},
{
"children": [
{
"name": "Caja y bancos - Caja / efectivo en BOB",
"report_type": "Balance Sheet"
}
],
"name": "Caja y Bancos - Caja"
},
{
"children": [
{
"name": "Caja y ...- Fondos fijos / caja chica 01 BOB",
"report_type": "Balance Sheet"
}
],
"name": "Caja y Bancos - Fondos fijos"
},
{
"children": [
{
"name": "Caja y bancos - Caja / efectivo USD",
"report_type": "Balance Sheet"
}
],
"name": "Caja y Bancos - Moneda Extranjera"
}
],
"name": "Caja y Bancos"
},
{
"children": [
{
"name": "Otros Cr\u00e9ditos / Anticipo de Impuestos",
"report_type": "Balance Sheet"
},
{
"name": "Otros Cr\u00e9ditos / Anticipos a Proveedores",
"report_type": "Balance Sheet"
},
{
"name": "Otros Cr\u00e9ditos / Pr\u00e9stamos otorgados",
"report_type": "Balance Sheet"
},
{
"name": "Otros Cr\u00e9ditos / Accionistas",
"report_type": "Balance Sheet"
},
{
"name": "Otros Cr\u00e9ditos / Intereses Pagados por Adelantado",
"report_type": "Balance Sheet"
},
{
"name": "Otros Cr\u00e9ditos / Alquileres Pagados por Adelantado",
"report_type": "Balance Sheet"
},
{
"name": "Otros Cr\u00e9ditos / Anticipo al Personal",
"report_type": "Balance Sheet"
},
{
"name": "Otros Cr\u00e9ditos / (-) Intereses (+) a Devengar",
"report_type": "Balance Sheet"
},
{
"name": "Otros Cr\u00e9ditos / (-) Previsi\u00f3n para Descuentos",
"report_type": "Balance Sheet"
}
],
"name": "Otros Cr\u00e9ditos"
},
{
"children": [
{
"name": "Cr\u00e9ditos fiscal IVA / Deudores por Ventas",
"report_type": "Balance Sheet"
},
{
"name": "Cr\u00e9ditos fiscal IVA / Deudores Morosos",
"report_type": "Balance Sheet"
},
{
"name": "Cr\u00e9ditos fiscal IVA / Deudores en Gesti\u00f3n Judicial",
"report_type": "Balance Sheet"
},
{
"name": "Cr\u00e9ditos fiscal IVA / Deudores Varios",
"report_type": "Balance Sheet"
},
{
"name": "Cr\u00e9ditos fiscal IVA / (-) Previsi\u00f3n para Ds. Incobrables",
"report_type": "Balance Sheet"
}
],
"name": "Cr\u00e9ditos fiscal IVA"
},
{
"children": [
{
"children": [
{
"name": "Bienes de Cambio - Existencia de Mercader\u00edas / Categoria de productos 01",
"report_type": "Balance Sheet"
}
],
"name": "Bienes de Cambio - Mercader\u00edas"
},
{
"name": "Materias primas",
"report_type": "Balance Sheet"
},
{
"name": "Bienes de Cambio - Mercader\u00edas en Tr\u00e1nsito",
"report_type": "Balance Sheet"
},
{
"name": "Productos Elaborados",
"report_type": "Balance Sheet"
},
{
"name": "Productos en Curso de Elaboraci\u00f3n",
"report_type": "Balance Sheet"
},
{
"name": "(-) Desvalorizaci\u00f3n de Existencias",
"report_type": "Balance Sheet"
},
{
"name": "Materiales Varios ",
"report_type": "Balance Sheet"
}
],
"name": "Bienes de Cambio o Realizables"
},
{
"children": [
{
"name": "Inversiones / (-) Previsi\u00f3n para Devalorizaci\u00f3n de Acciones",
"report_type": "Balance Sheet"
},
{
"name": "Inversiones / Acciones Permanentes",
"report_type": "Balance Sheet"
},
{
"name": "Inversiones / T\u00edtulos P\u00fablicos",
"report_type": "Balance Sheet"
},
{
"name": "Inversiones / Acciones Transitorias",
"report_type": "Balance Sheet"
}
],
"name": "Inversiones"
},
{
"children": [
{
"name": "Bienes Intangibles / (-) Amortizaci\u00f3n Acumulada",
"report_type": "Balance Sheet"
},
{
"name": "Bienes Intangibles / Patentes de Invenci\u00f3n",
"report_type": "Balance Sheet"
},
{
"name": "Bienes Intangibles / Concesiones y Franquicias",
"report_type": "Balance Sheet"
},
{
"name": "Bienes Intangibles / Marcas de F\u00e1brica",
"report_type": "Balance Sheet"
}
],
"name": "Bienes Intangibles"
},
{
"children": [
{
"name": "Bienes de Uso / Inmuebles",
"report_type": "Balance Sheet"
},
{
"name": "Bienes de Uso / Maquinaria",
"report_type": "Balance Sheet"
},
{
"name": "Bienes de Uso / Veh\u00edculos",
"report_type": "Balance Sheet"
},
{
"name": "Bienes de Uso / (-) Depreciaci\u00f3n Acumulada Bienes de Uso",
"report_type": "Balance Sheet"
},
{
"name": "Bienes de Uso / Equipos",
"report_type": "Balance Sheet"
}
],
"name": "Bienes de Uso"
}
],
"name": "ACTIVO"
}
],
"name": "Cuentas Patrimoniales"
},
{
"children": [
{
"children": [
{
"name": "Compras - Categoria de productos 01"
}
],
"name": "Compras"
},
{
"name": "Costos de Producci\u00f3n",
"report_type": "Profit and Loss"
},
{
"name": "Gastos de Administraci\u00f3n",
"report_type": "Profit and Loss"
},
{
"name": "Gastos de Comercializaci\u00f3n",
"report_type": "Profit and Loss"
}
],
"name": "Cuentas de Movimiento"
}
],
"name": "Bolivia"
}
}

View File

@@ -4,6 +4,30 @@
"children": [
{
"children": [
{
"children": [
{
"name": "International Sales",
"report_type": "Profit and Loss"
},
{
"name": "Inside Sales",
"report_type": "Profit and Loss"
},
{
"name": "Non-Harmonized Provinces Sales",
"report_type": "Profit and Loss"
},
{
"name": "OTHER OPERATING INCOMES"
},
{
"name": "Harmonized Provinces Sales",
"report_type": "Profit and Loss"
}
],
"name": "OPERATING INCOMES"
},
{
"children": [
{
@@ -14,30 +38,6 @@
}
],
"name": "NON-OPERATING INCOMES"
},
{
"children": [
{
"name": "Inside Sales",
"root_type": "Income"
},
{
"name": "International Sales",
"root_type": "Income"
},
{
"name": "Non-Harmonized Provinces Sales",
"root_type": "Income"
},
{
"name": "Harmonized Provinces Sales",
"root_type": "Income"
},
{
"name": "OTHER OPERATING INCOMES"
}
],
"name": "OPERATING INCOMES"
}
],
"name": "INCOMES"
@@ -46,41 +46,46 @@
"children": [
{
"children": [
{
"name": "PREPAID EXPENSES"
},
{
"name": "INVESTMENTS HELD FOR TRADING"
},
{
"children": [
{
"name": "ALLOWANCE FOR DOUBTFUL ACCOUNTS"
},
{
"name": "Customers Account"
}
],
"name": "ACCOUNTS RECEIVABLES"
},
{
"children": [
{
"name": "Stock In Hand",
"root_type": "Asset"
},
{
"name": "Stock Delivered But Not Billed",
"root_type": "Asset"
}
],
"name": "STOCKS"
},
{
"name": "TREASURY OR TREASURY EQUIVALENTS"
},
{
"name": "CASH"
"children": [
{
"children": [
{
"account_type": "Receivable",
"name": "HST receivable - 13%",
"report_type": "Balance Sheet"
},
{
"account_type": "Receivable",
"name": "HST receivable - 15%",
"report_type": "Balance Sheet"
},
{
"account_type": "Receivable",
"name": "HST receivable - 14%",
"report_type": "Balance Sheet"
}
],
"name": "HST receivable"
},
{
"account_type": "Receivable",
"name": "PST/QST receivable",
"report_type": "Balance Sheet"
},
{
"account_type": "Receivable",
"name": "GST receivable",
"report_type": "Balance Sheet"
}
],
"name": "TAXES RECEIVABLES"
},
{
"name": "INVESTMENTS HELD FOR TRADING"
},
{
"name": "CERTIFICATES OF DEPOSITS"
@@ -88,25 +93,40 @@
{
"children": [
{
"name": "GST receivable"
"name": "Stock In Hand",
"report_type": "Balance Sheet"
},
{
"name": "PST/QST receivable"
},
{
"name": "HST receivable"
"name": "Stock Delivered But Not Billed",
"report_type": "Balance Sheet"
}
],
"name": "TAXES RECEIVABLES"
"name": "STOCKS"
},
{
"name": "CASH"
},
{
"name": "PREPAID EXPENSES"
},
{
"children": [
{
"account_type": "Receivable",
"name": "Customers Account",
"report_type": "Balance Sheet"
},
{
"name": "ALLOWANCE FOR DOUBTFUL ACCOUNTS"
}
],
"name": "ACCOUNTS RECEIVABLES"
}
],
"name": "CURRENT ASSETS"
},
{
"children": [
{
"name": "INVESTMENTS AVAILABLE FOR SALE"
},
{
"children": [
{
@@ -115,6 +135,9 @@
],
"name": "TANGIBLE ASSETS"
},
{
"name": "INVESTMENTS AVAILABLE FOR SALE"
},
{
"children": [
{
@@ -132,112 +155,151 @@
{
"children": [
{
"name": "TRANSLATION ADJUSTMENTS"
"children": [
{
"name": "OTHER OPERATING EXPENSES"
},
{
"name": "RESEARCH AND DEVELOPMENT EXPENSES"
},
{
"children": [
{
"name": "International Purchases",
"report_type": "Profit and Loss"
},
{
"name": "Purchases in non-harmonized provinces",
"report_type": "Profit and Loss"
},
{
"name": "Purchases in harmonized provinces",
"report_type": "Profit and Loss"
},
{
"name": "Inside Purchases",
"report_type": "Profit and Loss"
}
],
"name": "COST OF GOODS SOLD"
},
{
"name": "SALES EXPENSES"
},
{
"name": "GENERAL EXPENSES"
},
{
"children": [
{
"name": "Parental Insurance",
"report_type": "Profit and Loss"
},
{
"name": "Holidays",
"report_type": "Profit and Loss"
},
{
"name": "Labour Health and Safety",
"report_type": "Profit and Loss"
},
{
"name": "Employment Insurance",
"report_type": "Profit and Loss"
},
{
"name": "Federal Income Tax",
"report_type": "Profit and Loss"
},
{
"name": "Salaries, wages and commissions",
"report_type": "Profit and Loss"
},
{
"name": "Annuities",
"report_type": "Profit and Loss"
},
{
"name": "Provincial Income Tax",
"report_type": "Profit and Loss"
},
{
"name": "Labour Standards",
"report_type": "Profit and Loss"
},
{
"name": "Health Services Fund",
"report_type": "Profit and Loss"
}
],
"name": "LABOUR EXPENSES"
}
],
"name": "OPERATING EXPENSES"
},
{
"name": "CONTRIBUTED SURPLUS"
},
{
"name": "RETAINED EARNINGS"
},
{
"name": "PREMIUMS"
},
{
"name": "SHARE CAPITAL"
},
{
"name": "DIVIDENDS"
"children": [
{
"name": "INTERESTS EXPENSES"
},
{
"name": "OTHER NON-OPERATING EXPENSES"
}
],
"name": "NON-OPERATING EXPENSES"
}
],
"name": "EQUITY"
"name": "EXPENSES"
},
{
"children": [
{
"children": [
{
"name": "DEFERRED TAXES"
},
{
"name": "NON-CURRENT FINANCIAL DEBTS"
},
{
"name": "OTHER NON-CURRENT LIABILITIES"
},
{
"name": "PROVISIONS FOR PENSIONS AND OTHER POST-EMPLOYMENT ADVANTAGES"
}
],
"name": "NON-CURRENT LIABILITIES"
},
{
"children": [
{
"children": [
{
"name": "Stock Received But Not Billed",
"root_type": "Liability"
}
],
"name": "LIABILITIES ASSETS HELD FOR TRANSFER"
},
{
"name": "CURRENT FINANCIAL DEBTS"
},
{
"children": [
{
"name": "Suppliers Account"
}
],
"name": "ACCOUNTS PAYABLES"
},
{
"children": [
{
"children": [
{
"name": "Health Services Fund to pay",
"root_type": "Liability"
},
{
"name": "Labour Health and Safety to pay",
"root_type": "Liability"
},
{
"children": [
{
"name": "Annuities - Employees Contribution",
"root_type": "Liability"
"report_type": "Balance Sheet"
},
{
"name": "Annuities - Employer Contribution",
"root_type": "Liability"
"report_type": "Balance Sheet"
}
],
"name": "ANNUITIES TO PAY"
},
{
"children": [
{
"name": "PAP - Employer Contribution",
"root_type": "Liability"
},
{
"name": "PAP - Employee Contribution",
"root_type": "Liability"
}
],
"name": "PARENTAL INSURANCE PLAN TO PAY"
"name": "Health Services Fund to pay",
"report_type": "Balance Sheet"
},
{
"name": "Labour Health and Safety to pay",
"report_type": "Balance Sheet"
},
{
"name": "Provincial Income Tax",
"root_type": "Liability"
"report_type": "Balance Sheet"
},
{
"name": "Labour Standards to pay",
"root_type": "Liability"
"report_type": "Balance Sheet"
},
{
"children": [
{
"name": "PAP - Employer Contribution",
"report_type": "Balance Sheet"
},
{
"name": "PAP - Employee Contribution",
"report_type": "Balance Sheet"
}
],
"name": "PARENTAL INSURANCE PLAN TO PAY"
}
],
"name": "PROVINCIAL REVENU AGENCY"
@@ -248,18 +310,18 @@
"children": [
{
"name": "EI - Employees Contribution",
"root_type": "Liability"
"report_type": "Balance Sheet"
},
{
"name": "EI - Employer Contribution",
"root_type": "Liability"
"report_type": "Balance Sheet"
}
],
"name": "EMPLOYMENT INSURANCE TO PAY"
},
{
"name": "Federal Income Tax",
"root_type": "Liability"
"report_type": "Balance Sheet"
}
],
"name": "CANADIAN REVENU AGENCY"
@@ -267,28 +329,88 @@
],
"name": "LABOUR TAXES TO PAY"
},
{
"name": "STOCK LIABILITIES"
},
{
"name": "OTHER ACCOUNTS PAYABLES"
},
{
"children": [
{
"account_type": "Payable",
"name": "Suppliers Account",
"report_type": "Balance Sheet"
}
],
"name": "ACCOUNTS PAYABLES"
},
{
"children": [
{
"account_type": "Payable",
"name": "GST to pay",
"report_type": "Balance Sheet"
},
{
"children": [
{
"account_type": "Payable",
"name": "HST to pay - 14%",
"report_type": "Balance Sheet"
},
{
"account_type": "Payable",
"name": "HST to pay - 13%",
"report_type": "Balance Sheet"
},
{
"account_type": "Payable",
"name": "HST to pay - 15%",
"report_type": "Balance Sheet"
}
],
"name": "HST to pay"
},
{
"name": "GST to pay"
},
{
"name": "PST/QST to pay"
"account_type": "Payable",
"name": "PST/QST to pay",
"report_type": "Balance Sheet"
}
],
"name": "TAXES PAYABLES"
},
{
"name": "STOCK LIABILITIES"
"name": "CURRENT FINANCIAL DEBTS"
},
{
"name": "OTHER ACCOUNTS PAYABLES"
"children": [
{
"name": "Stock Received But Not Billed",
"report_type": "Balance Sheet"
}
],
"name": "LIABILITIES ASSETS HELD FOR TRANSFER"
}
],
"name": "CURRENT LIABILITIES"
},
{
"children": [
{
"name": "NON-CURRENT FINANCIAL DEBTS"
},
{
"name": "OTHER NON-CURRENT LIABILITIES"
},
{
"name": "PROVISIONS FOR PENSIONS AND OTHER POST-EMPLOYMENT ADVANTAGES"
},
{
"name": "DEFERRED TAXES"
}
],
"name": "NON-CURRENT LIABILITIES"
}
],
"name": "LIABILITIES"
@@ -296,104 +418,27 @@
{
"children": [
{
"children": [
{
"name": "OTHER NON-OPERATING EXPENSES"
},
{
"name": "INTERESTS EXPENSES"
}
],
"name": "NON-OPERATING EXPENSES"
"name": "DIVIDENDS"
},
{
"children": [
{
"name": "RESEARCH AND DEVELOPMENT EXPENSES"
},
{
"children": [
{
"name": "Salaries, wages and commissions",
"root_type": "Expense"
},
{
"name": "Labour Health and Safety",
"root_type": "Expense"
},
{
"name": "Annuities",
"root_type": "Expense"
},
{
"name": "Labour Standards",
"root_type": "Expense"
},
{
"name": "Provincial Income Tax",
"root_type": "Expense"
},
{
"name": "Parental Insurance",
"root_type": "Expense"
},
{
"name": "Holidays",
"root_type": "Expense"
},
{
"name": "Federal Income Tax",
"root_type": "Expense"
},
{
"name": "Employment Insurance",
"root_type": "Expense"
},
{
"name": "Health Services Fund",
"root_type": "Expense"
}
],
"name": "LABOUR EXPENSES"
},
{
"name": "SALES EXPENSES"
},
{
"children": [
{
"name": "Purchases in non-harmonized provinces",
"root_type": "Expense"
},
{
"name": "International Purchases",
"root_type": "Expense"
},
{
"name": "Inside Purchases",
"root_type": "Expense"
},
{
"name": "Purchases in harmonized provinces",
"root_type": "Expense"
}
],
"name": "COST OF GOODS SOLD"
},
{
"name": "OTHER OPERATING EXPENSES"
},
{
"name": "GENERAL EXPENSES"
}
],
"name": "OPERATING EXPENSES"
"name": "TRANSLATION ADJUSTMENTS"
},
{
"name": "RETAINED EARNINGS"
},
{
"name": "SHARE CAPITAL"
},
{
"name": "PREMIUMS"
},
{
"name": "CONTRIBUTED SURPLUS"
}
],
"name": "EXPENSES"
"name": "EQUITY"
}
],
"name": "Account Chart CA EN",
"parent_id": null
"name": "Account Chart CA EN"
}
}

View File

@@ -7,10 +7,10 @@
{
"children": [
{
"name": "INT\u00c9R\u00caTS"
"name": "AUTRES PRODUITS NON LI\u00c9S \u00c0 L'EXPLOITATION"
},
{
"name": "AUTRES PRODUITS NON LI\u00c9S \u00c0 L'EXPLOITATION"
"name": "INT\u00c9R\u00caTS"
}
],
"name": "PRODUITS NON LI\u00c9S \u00c0 L'EXPLOITATION"
@@ -18,23 +18,23 @@
{
"children": [
{
"name": "AUTRES PRODUITS D'EXPLOITATION"
"name": "Ventes avec des provinces harmonis\u00e9es",
"report_type": "Profit and Loss"
},
{
"name": "Ventes avec des provinces non-harmonis\u00e9es",
"root_type": "Income"
"report_type": "Profit and Loss"
},
{
"name": "AUTRES PRODUITS D'EXPLOITATION"
},
{
"name": "Ventes",
"root_type": "Income"
},
{
"name": "Ventes avec des provinces harmonis\u00e9es",
"root_type": "Income"
"report_type": "Profit and Loss"
},
{
"name": "Ventes \u00e0 l'\u00e9tranger",
"root_type": "Income"
"report_type": "Profit and Loss"
}
],
"name": "PRODUITS D'EXPLOITATION"
@@ -42,39 +42,248 @@
],
"name": "PRODUITS"
},
{
"children": [
{
"name": "AUTRES \u00c9L\u00c9MENTS DU R\u00c9SULTAT GLOBAL"
},
{
"name": "\u00c9CARTS DE CONVERSION"
},
{
"name": "SURPLUS D'APPORT"
},
{
"name": "PRIMES"
},
{
"name": "CAPITAL-ACTIONS"
},
{
"name": "B\u00c9N\u00c9FICES NON R\u00c9PARTIS"
},
{
"name": "DIVIDENDES"
}
],
"name": "CAPITAUX PROPRES"
},
{
"children": [
{
"children": [
{
"name": "FRAIS SUR VENTE"
"name": "PROVISIONS POUR RETRAITES ET AUTRES AVANTAGES POST\u00c9RIEURS \u00c0 L'EMPLOI"
},
{
"name": "IMP\u00d4TS DIFF\u00c9R\u00c9S"
},
{
"name": "AUTRES PASSIFS NON-COURANTS"
},
{
"name": "DETTES FINANCI\u00c8RES NON-COURANTES"
}
],
"name": "PASSIFS NON-COURANTS"
},
{
"children": [
{
"name": "AUTRES COMPTES CR\u00c9DITEURS"
},
{
"children": [
{
"name": "Achats dans des provinces harmonis\u00e9es",
"root_type": "Income"
},
{
"name": "Achats dans des provinces non-harmonis\u00e9es",
"root_type": "Income"
},
{
"name": "Achats \u00e0 l'\u00e9tranger",
"root_type": "Income"
},
{
"name": "Achats",
"root_type": "Expense"
"account_type": "Payable",
"name": "Comptes fournisseurs",
"report_type": "Balance Sheet"
}
],
"name": "CO\u00dbT DES PRODUITS VENDUS"
"name": "FOURNISSEURS ET COMPTES RATTACH\u00c9S"
},
{
"children": [
{
"children": [
{
"name": "TVH \u00e0 payer - 14%",
"report_type": "Balance Sheet"
},
{
"name": "TVH \u00e0 payer - 15%",
"report_type": "Balance Sheet"
},
{
"name": "TVH \u00e0 payer - 13%",
"report_type": "Balance Sheet"
}
],
"name": "TVH \u00e0 payer"
},
{
"name": "TVP/TVQ \u00e0 payer",
"report_type": "Balance Sheet"
},
{
"name": "TPS \u00e0 payer",
"report_type": "Balance Sheet"
}
],
"name": "IMP\u00d4TS \u00c0 PAYER"
},
{
"name": "DETTES FINANCI\u00c8RES COURANTES"
},
{
"children": [
{
"children": [
{
"name": "Fond des Services de Sant\u00e9 \u00e0 payer",
"report_type": "Balance Sheet"
},
{
"children": [
{
"name": "AP - Contribution de l'employeur",
"report_type": "Balance Sheet"
},
{
"name": "AP - Contribution des employ\u00e9s",
"report_type": "Balance Sheet"
}
],
"name": "ASSURANCE PARENTALE \u00c0 PAYER"
},
{
"name": "Imp\u00f4t provincial sur les revenus",
"report_type": "Balance Sheet"
},
{
"children": [
{
"name": "Rentes - Contribution des employ\u00e9s",
"report_type": "Balance Sheet"
},
{
"name": "Rentes - Contribution de l'employeur",
"report_type": "Balance Sheet"
}
],
"name": "RENTES \u00c0 PAYER"
},
{
"name": "Sant\u00e9 et S\u00e9curit\u00e9 au Travail \u00e0 payer",
"report_type": "Balance Sheet"
},
{
"name": "Normes du Travail \u00e0 payer",
"report_type": "Balance Sheet"
}
],
"name": "AGENCE DU REVENU PROVINCIAL"
},
{
"children": [
{
"children": [
{
"name": "AE - Contribution des employ\u00e9s",
"report_type": "Balance Sheet"
},
{
"name": "AE - Contribution de l'employeur",
"report_type": "Balance Sheet"
}
],
"name": "ASSURANCE EMPLOI \u00c0 PAYER"
},
{
"name": "Imp\u00f4t f\u00e9d\u00e9ral sur les revenus",
"report_type": "Balance Sheet"
}
],
"name": "AGENCE DU REVENU DU CANADA"
}
],
"name": "IMP\u00d4TS LI\u00c9S AUX SALAIRES \u00c0 PAYER"
},
{
"children": [
{
"name": "Stock re\u00e7u non factur\u00e9",
"report_type": "Balance Sheet"
}
],
"name": "PASSIFS DE STOCK"
},
{
"name": "PASSIFS LI\u00c9S AUX ACTIFS D\u00c9TENUS EN VUE DE LEUR CESSION"
}
],
"name": "PASSIFS COURANTS"
}
],
"name": "PASSIF"
},
{
"children": [
{
"children": [
{
"name": "FRAIS G\u00c9N\u00c9RAUX"
},
{
"children": [
{
"name": "Imp\u00f4t f\u00e9d\u00e9ral",
"report_type": "Profit and Loss"
},
{
"name": "Assurance parentale",
"report_type": "Profit and Loss"
},
{
"name": "Imp\u00f4t provincial",
"report_type": "Profit and Loss"
},
{
"name": "Rentes",
"report_type": "Profit and Loss"
},
{
"name": "Sant\u00e9 et s\u00e9curit\u00e9 au travail",
"report_type": "Profit and Loss"
},
{
"name": "Fonds des services de sant\u00e9",
"report_type": "Profit and Loss"
},
{
"name": "Normes du travail",
"report_type": "Profit and Loss"
},
{
"name": "Assurance Emploi",
"report_type": "Profit and Loss"
},
{
"name": "Salaires",
"report_type": "Profit and Loss"
},
{
"name": "Vacances",
"report_type": "Profit and Loss"
}
],
"name": "SALAIRES ET CHARGES SOCIALES"
},
{
"name": "AUTRES FRAIS D'EXPLOITATION"
},
{
"name": "FRAIS G\u00c9N\u00c9RAUX"
"name": "FRAIS SUR VENTE"
},
{
"name": "FRAIS DE RECHERCHE ET D\u00c9VELOPPEMENT"
@@ -82,47 +291,23 @@
{
"children": [
{
"name": "Vacances",
"root_type": "Expense"
"name": "Achats",
"report_type": "Profit and Loss"
},
{
"name": "Imp\u00f4t f\u00e9d\u00e9ral",
"root_type": "Expense"
"name": "Achats dans des provinces harmonis\u00e9es",
"report_type": "Profit and Loss"
},
{
"name": "Assurance Emploi",
"root_type": "Expense"
"name": "Achats dans des provinces non-harmonis\u00e9es",
"report_type": "Profit and Loss"
},
{
"name": "Fonds des services de sant\u00e9",
"root_type": "Expense"
},
{
"name": "Assurance parentale",
"root_type": "Expense"
},
{
"name": "Sant\u00e9 et s\u00e9curit\u00e9 au travail",
"root_type": "Expense"
},
{
"name": "Salaires",
"root_type": "Expense"
},
{
"name": "Rentes",
"root_type": "Expense"
},
{
"name": "Imp\u00f4t provincial",
"root_type": "Expense"
},
{
"name": "Normes du travail",
"root_type": "Expense"
"name": "Achats \u00e0 l'\u00e9tranger",
"report_type": "Profit and Loss"
}
],
"name": "SALAIRES ET CHARGES SOCIALES"
"name": "CO\u00dbT DES PRODUITS VENDUS"
}
],
"name": "CHARGES D'EXPLOITATION"
@@ -145,14 +330,6 @@
"children": [
{
"children": [
{
"children": [
{
"name": "BREVETS, MARQUES DE COMMERCE ET DROITS D'AUTEURS"
}
],
"name": "IMMOBILISATIONS INCORPORELLES"
},
{
"name": "PLACEMENTS DISPONIBLES \u00c0 LA VENTE"
},
@@ -163,56 +340,52 @@
}
],
"name": "IMMOBILISATIONS CORPORELLES"
},
{
"children": [
{
"name": "BREVETS, MARQUES DE COMMERCE ET DROITS D'AUTEURS"
}
],
"name": "IMMOBILISATIONS INCORPORELLES"
}
],
"name": "ACTIFS NON-COURANTS"
},
{
"children": [
{
"children": [
{
"name": "Stock",
"root_type": "Asset"
},
{
"name": "Stock exp\u00e9di\u00e9 non-factur\u00e9",
"root_type": "Asset"
}
],
"name": "STOCKS"
},
{
"name": "TR\u00c9SORERIE OU \u00c9QUIVALENTS DE TR\u00c9SORERIE"
},
{
"name": "ENCAISSE"
},
{
"name": "CERTIFICATS DE D\u00c9P\u00d4TS"
},
{
"children": [
{
"name": "TVP/TVQ \u00e0 recevoir",
"root_type": "Asset"
},
{
"name": "TVH \u00e0 recevoir",
"root_type": "Asset"
},
{
"name": "TPS \u00e0 recevoir",
"root_type": "Asset"
}
],
"name": "IMP\u00d4TS \u00c0 RECEVOIR"
},
{
"name": "FRAIS PAY\u00c9S D'AVANCE"
},
{
"name": "PLACEMENTS D\u00c9TENUS \u00c0 DES FINS DE TRANSACTION"
"children": [
{
"name": "TPS \u00e0 recevoir",
"report_type": "Balance Sheet"
},
{
"children": [
{
"name": "TVH \u00e0 recevoir - 13%",
"report_type": "Balance Sheet"
},
{
"name": "TVH \u00e0 recevoir - 14%",
"report_type": "Balance Sheet"
},
{
"name": "TVH \u00e0 recevoir - 15%",
"report_type": "Balance Sheet"
}
],
"name": "TVH \u00e0 recevoir"
},
{
"name": "TVP/TVQ \u00e0 recevoir",
"report_type": "Balance Sheet"
}
],
"name": "IMP\u00d4TS \u00c0 RECEVOIR"
},
{
"children": [
@@ -220,186 +393,43 @@
"name": "PROVISION POUR CR\u00c9ANCES DOUTEUSES"
},
{
"name": "Comptes clients"
"account_type": "Receivable",
"name": "Comptes clients",
"report_type": "Balance Sheet"
}
],
"name": "COMPTES CLIENTS"
},
{
"children": [
{
"name": "Stock exp\u00e9di\u00e9 non-factur\u00e9",
"report_type": "Balance Sheet"
},
{
"name": "Stock",
"report_type": "Balance Sheet"
}
],
"name": "STOCKS"
},
{
"name": "ENCAISSE"
},
{
"name": "TR\u00c9SORERIE OU \u00c9QUIVALENTS DE TR\u00c9SORERIE"
},
{
"name": "CERTIFICATS DE D\u00c9P\u00d4TS"
},
{
"name": "PLACEMENTS D\u00c9TENUS \u00c0 DES FINS DE TRANSACTION"
}
],
"name": "ACTIFS COURANTS"
}
],
"name": "ACTIF"
},
{
"children": [
{
"name": "AUTRES \u00c9L\u00c9MENTS DU R\u00c9SULTAT GLOBAL"
},
{
"name": "B\u00c9N\u00c9FICES NON R\u00c9PARTIS"
},
{
"name": "PRIMES"
},
{
"name": "CAPITAL-ACTIONS"
},
{
"name": "\u00c9CARTS DE CONVERSION"
},
{
"name": "SURPLUS D'APPORT"
},
{
"name": "DIVIDENDES"
}
],
"name": "CAPITAUX PROPRES"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "TPS \u00e0 payer",
"root_type": "Liability"
},
{
"name": "TVH \u00e0 payer",
"root_type": "Liability"
},
{
"name": "TVP/TVQ \u00e0 payer",
"root_type": "Liability"
}
],
"name": "IMP\u00d4TS \u00c0 PAYER"
},
{
"children": [
{
"name": "Stock re\u00e7u non factur\u00e9",
"root_type": "Liability"
}
],
"name": "PASSIFS DE STOCK"
},
{
"name": "AUTRES COMPTES CR\u00c9DITEURS"
},
{
"name": "PASSIFS LI\u00c9S AUX ACTIFS D\u00c9TENUS EN VUE DE LEUR CESSION"
},
{
"name": "DETTES FINANCI\u00c8RES COURANTES"
},
{
"children": [
{
"name": "Comptes fournisseurs"
}
],
"name": "FOURNISSEURS ET COMPTES RATTACH\u00c9S"
},
{
"children": [
{
"children": [
{
"name": "Imp\u00f4t f\u00e9d\u00e9ral sur les revenus",
"root_type": "Liability"
},
{
"children": [
{
"name": "AE - Contribution de l'employeur",
"root_type": "Liability"
},
{
"name": "AE - Contribution des employ\u00e9s",
"root_type": "Liability"
}
],
"name": "ASSURANCE EMPLOI \u00c0 PAYER"
}
],
"name": "AGENCE DU REVENU DU CANADA"
},
{
"children": [
{
"children": [
{
"name": "Rentes - Contribution de l'employeur",
"root_type": "Liability"
},
{
"name": "Rentes - Contribution des employ\u00e9s",
"root_type": "Liability"
}
],
"name": "RENTES \u00c0 PAYER"
},
{
"name": "Normes du Travail \u00e0 payer",
"root_type": "Liability"
},
{
"name": "Imp\u00f4t provincial sur les revenus",
"root_type": "Liability"
},
{
"children": [
{
"name": "AP - Contribution des employ\u00e9s",
"root_type": "Liability"
},
{
"name": "AP - Contribution de l'employeur",
"root_type": "Liability"
}
],
"name": "ASSURANCE PARENTALE \u00c0 PAYER"
},
{
"name": "Fond des Services de Sant\u00e9 \u00e0 payer",
"root_type": "Liability"
},
{
"name": "Sant\u00e9 et S\u00e9curit\u00e9 au Travail \u00e0 payer",
"root_type": "Liability"
}
],
"name": "AGENCE DU REVENU PROVINCIAL"
}
],
"name": "IMP\u00d4TS LI\u00c9S AUX SALAIRES \u00c0 PAYER"
}
],
"name": "PASSIFS COURANTS"
},
{
"children": [
{
"name": "IMP\u00d4TS DIFF\u00c9R\u00c9S"
},
{
"name": "PROVISIONS POUR RETRAITES ET AUTRES AVANTAGES POST\u00c9RIEURS \u00c0 L'EMPLOI"
},
{
"name": "DETTES FINANCI\u00c8RES NON-COURANTES"
},
{
"name": "AUTRES PASSIFS NON-COURANTS"
}
],
"name": "PASSIFS NON-COURANTS"
}
],
"name": "PASSIF"
}
],
"name": "Account Chart CA FR"

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,653 @@
{
"name": "Chile - Plan de Cuentas",
"root": {
"children": [
{
"children": [
{
"children": [
{
"name": "Acreedor por Garant\u00edas Otorgadas"
},
{
"name": "Acreedor por Documentos Descontados"
},
{
"name": "Comitente por Mercaderias Recibidas en Consignaci\u00f3n"
}
],
"name": "CUENTAS DE ORDEN ACREEDORAS"
},
{
"children": [
{
"name": "Documentos Endosados"
},
{
"name": "Documentos Descontados"
},
{
"name": "Garantias Otorgadas"
},
{
"name": "Dep\u00f3sito de Valores Recibos en Garant\u00eda"
},
{
"name": "Mercaderias Recibidas en Consignaci\u00f3n"
}
],
"name": "CUENTAS DE ORDEN DEUDORAS"
}
],
"name": "Cuentas de Orden"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Recupero de Rezagos",
"report_type": "Profit and Loss"
},
{
"name": "Ganancia Venta de Activo Fijo",
"report_type": "Profit and Loss"
},
{
"name": "Recupero de Deudores Incobrables",
"report_type": "Profit and Loss"
},
{
"name": "Ganancia Venta Inversiones Permanentes",
"report_type": "Profit and Loss"
},
{
"name": "Donaciones obtenidas, ganandas, percibidas",
"report_type": "Profit and Loss"
}
],
"name": "Ingresos Fuera de Explotaci\u00f3n"
},
{
"children": [
{
"name": "Comisiones gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"name": "Descuentos gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"name": "Interese sobre Inversiones",
"report_type": "Profit and Loss"
},
{
"name": "Honorarios gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"children": [
{
"name": "Ventas - Categoria de productos 01",
"report_type": "Profit and Loss"
}
],
"name": "Ventas"
},
{
"name": "Intereses gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"name": "Alquileres gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"name": "Ganancia Venta de Acciones",
"report_type": "Profit and Loss"
}
],
"name": "Ingresos de Explotaci\u00f3n"
}
],
"name": "RESULTADO GANANCIA"
},
{
"children": [
{
"children": [
{
"name": "Gastos de Publicidad y Propaganda",
"report_type": "Profit and Loss"
},
{
"name": "Gastos en Servicios P\u00fablicos"
},
{
"children": [
{
"name": "Costo de Mercader\u00edas Vendidas - Categoria de productos 01",
"report_type": "Profit and Loss"
}
],
"name": "Costo de Mercader\u00edas Vendidas"
},
{
"name": "Gastos en Amortizaci\u00f3n",
"report_type": "Profit and Loss"
},
{
"name": "Gastos en Cargas Sociales",
"report_type": "Profit and Loss"
},
{
"name": "Gastos en Sueldos y Jornales",
"report_type": "Profit and Loss"
},
{
"name": "Gastos Bancarios"
},
{
"name": "Gastos en Impuestos"
},
{
"name": "Gastos en Depreciaci\u00f3n de Activo Fijo",
"report_type": "Profit and Loss"
}
],
"name": "Egresos de Explotaci\u00f3n"
},
{
"children": [
{
"name": "Gastos en Siniestros",
"report_type": "Profit and Loss"
},
{
"name": "Donaciones Cedidas, Otorgadas",
"report_type": "Profit and Loss"
},
{
"name": "P\u00e9rdida Venta Activo Fijo",
"report_type": "Profit and Loss"
}
],
"name": "Egresos Fuera de Explotaci\u00f3n"
}
],
"name": "RESULTADO P\u00c9RDIDA"
}
],
"name": "Cuentas de Resultado"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Ajustes al Patrimonio / Revaluo T\u00e9cnico de Activo Fijo",
"report_type": "Balance Sheet"
}
],
"name": "Ajustes al Patrimonio"
},
{
"children": [
{
"name": "Aportes No Capitalizados / Aportes Irrevocables Futura Suscripci\u00f3n de Acciones",
"report_type": "Balance Sheet"
},
{
"name": "Aportes No Capitalizados / Primas de Emsi\u00f3n",
"report_type": "Balance Sheet"
}
],
"name": "Aportes No Capitalizados"
},
{
"children": [
{
"name": "Capital / Dividendos a Distribuir en Acciones",
"report_type": "Balance Sheet"
},
{
"name": "Capital / Acciones en Circulaci\u00f3n",
"report_type": "Balance Sheet"
},
{
"name": "Capital / Capital Propio",
"report_type": "Balance Sheet"
},
{
"name": "Capital / (-) Descuento de Emisi\u00f3n de Acciones",
"report_type": "Balance Sheet"
}
],
"name": "Capital"
},
{
"children": [
{
"name": "Resultados Acumulados",
"report_type": "Balance Sheet"
},
{
"name": "Resultado del Ejercicio",
"report_type": "Balance Sheet"
},
{
"name": "Utilidades y P\u00e9rdidas del Ejercicio",
"report_type": "Balance Sheet"
},
{
"name": "Resultados Acumulados del Ejercicio Anterior",
"report_type": "Balance Sheet"
}
],
"name": "Resultados No Asignados"
},
{
"children": [
{
"name": "Reserva para Renovaci\u00f3n de Activo Fijo",
"report_type": "Balance Sheet"
},
{
"name": "Reserva Estatutaria",
"report_type": "Balance Sheet"
},
{
"name": "Reserva Facultativa",
"report_type": "Balance Sheet"
},
{
"name": "Reserva Legal",
"report_type": "Balance Sheet"
}
],
"name": "Futuras Eventualidades"
}
],
"name": "PATRIMONIO"
},
{
"children": [
{
"children": [
{
"name": "Remuneraciones por Pagar / Retenciones a Depositar",
"report_type": "Balance Sheet"
},
{
"name": "Remuneraciones por Pagar / Sueldos a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Remuneraciones por Pagar / Provisi\u00f3n para Sueldo Anual Complementario",
"report_type": "Balance Sheet"
},
{
"name": "Remuneraciones por Pagar / Cargas Sociales a Pagar",
"report_type": "Balance Sheet"
}
],
"name": "Remuneraciones por Pagar"
},
{
"children": [
{
"name": "Otras Cuentas por Pagar / Acreedores Varios",
"report_type": "Balance Sheet"
},
{
"name": "Otras Cuentas por Pagar / Honorarios Directores y S\u00edndicos a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Otras Cuentas por Pagar / Dividendos a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Otras Cuentas por Pagar / Cobros por Adelantado",
"report_type": "Balance Sheet"
}
],
"name": "Otras Cuentas por Pagar"
},
{
"children": [
{
"name": "Provisiones / Previsi\u00f3n para Garant\u00edas por Service",
"report_type": "Balance Sheet"
},
{
"name": "Provisiones / Previsi\u00f3n para juicios Pendientes",
"report_type": "Balance Sheet"
},
{
"name": "Provisiones / Previsi\u00f3n Indemnizaci\u00f3n por Despidos",
"report_type": "Balance Sheet"
}
],
"name": "Provisiones"
},
{
"children": [
{
"name": "Cuentas por Pagar / Anticipos de Clientes",
"report_type": "Balance Sheet"
},
{
"name": "Cuentas por Pagar / (-) Intereses a Devengar por Compras al Cr\u00e9dito",
"report_type": "Balance Sheet"
},
{
"name": "Cuentas por Pagar / Proveedores",
"report_type": "Balance Sheet"
}
],
"name": "Cuentas por Pagar"
},
{
"children": [
{
"name": "Pasivo Circulante / Debentures Emitidos",
"report_type": "Balance Sheet"
},
{
"name": "Pasivo Circulante / Intereses a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Pasivo Circulante / Obligaciones a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Pasivo Circulante / Prestamos",
"report_type": "Balance Sheet"
},
{
"name": "Pasivo Circulante / Adelantos en Cuenta Corriente",
"report_type": "Balance Sheet"
}
],
"name": "Pasivo Circulante"
},
{
"children": [
{
"name": "Impuestos por Pagar / IVA a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Impuestos por Pagar / Impuesto a la Renta a Pagar",
"report_type": "Balance Sheet"
}
],
"name": "Impuestos por Pagar"
}
],
"name": "PASIVOS"
},
{
"children": [
{
"name": "Cuentas por Cobrar / Anticipo de Impuestos",
"report_type": "Balance Sheet"
},
{
"name": "Cuentas por Cobrar / Anticipos a Proveedores",
"report_type": "Balance Sheet"
},
{
"name": "Cuentas por Cobrar / Pr\u00e9stamos otorgados",
"report_type": "Balance Sheet"
},
{
"name": "Cuentas por Cobrar / Accionistas",
"report_type": "Balance Sheet"
},
{
"name": "Cuentas por Cobrar / Intereses Pagados por Adelantado",
"report_type": "Balance Sheet"
},
{
"name": "Cuentas por Cobrar / Alquileres Pagados por Adelantado",
"report_type": "Balance Sheet"
},
{
"name": "Cuentas por Cobrar / Anticipo al Personal",
"report_type": "Balance Sheet"
},
{
"name": "Cuentas por Cobrar / (-) Intereses (+) a Devengar",
"report_type": "Balance Sheet"
},
{
"name": "Cuentas por Cobrar / (-) Previsi\u00f3n para Descuentos",
"report_type": "Balance Sheet"
}
],
"name": "Cuentas por Cobrar"
},
{
"children": [
{
"name": "Documentos por Cobrar / Deudores por Ventas",
"report_type": "Balance Sheet"
},
{
"name": "Documentos por Cobrar / Deudores Morosos",
"report_type": "Balance Sheet"
},
{
"name": "Documentos por Cobrar / Deudores en Gesti\u00f3n Judicial",
"report_type": "Balance Sheet"
},
{
"name": "Documentos por Cobrar / Deudores Varios",
"report_type": "Balance Sheet"
},
{
"name": "Documentos por Cobrar / (-) Previsi\u00f3n para Incobrables",
"report_type": "Balance Sheet"
}
],
"name": "Documentos por Cobrar"
},
{
"children": [
{
"children": [
{
"name": "Activo Circulante - Valores a Depositar ",
"report_type": "Balance Sheet"
},
{
"children": [
{
"name": "Activo Circulante.../ BCO. CTA CTE CLP",
"report_type": "Balance Sheet"
}
],
"name": "Activo Circulante - Bancos"
},
{
"name": "Activo Circulante - Recaudaciones a Depositar ",
"report_type": "Balance Sheet"
},
{
"children": [
{
"name": "Activo Circulante - Caja / efectivo CLP",
"report_type": "Balance Sheet"
}
],
"name": "Activo Circulante - Caja"
},
{
"children": [
{
"name": "Activo Circulante - Fondos fijos / caja chica 01 CLP",
"report_type": "Balance Sheet"
}
],
"name": "Activo Circulante - Fondos fijos"
},
{
"children": [
{
"name": "Activo Circulante - Caja / efectivo USD",
"report_type": "Balance Sheet"
}
],
"name": "Activo Circulante - Moneda Extranjera"
}
],
"name": "Activo Circulante"
},
{
"children": [
{
"children": [
{
"name": "Existencias - Mercader\u00edas / Categoria de productos 01",
"report_type": "Balance Sheet"
}
],
"name": "Existencias - Mercader\u00edas"
},
{
"name": "Materias primas",
"report_type": "Balance Sheet"
},
{
"name": "Existencias - Mercader\u00edas en Tr\u00e1nsito",
"report_type": "Balance Sheet"
},
{
"name": "Productos Elaborados",
"report_type": "Balance Sheet"
},
{
"name": "Productos en Curso de Elaboraci\u00f3n",
"report_type": "Balance Sheet"
},
{
"name": "(-) Previsi\u00f3n para Desvalorizaci\u00f3n de Existencias",
"report_type": "Balance Sheet"
},
{
"name": "Materiales Varios ",
"report_type": "Balance Sheet"
}
],
"name": "Existencias"
},
{
"children": [
{
"name": "Inversiones / (-) Previsi\u00f3n para Devalorizaci\u00f3n de Acciones",
"report_type": "Balance Sheet"
},
{
"name": "Inversiones / Acciones Permanentes",
"report_type": "Balance Sheet"
},
{
"name": "Inversiones / T\u00edtulos P\u00fablicos",
"report_type": "Balance Sheet"
},
{
"name": "Inversiones / Acciones Transitorias",
"report_type": "Balance Sheet"
}
],
"name": "Inversiones Financieras"
},
{
"children": [
{
"name": "Activo Intangible / (-) Amortizaci\u00f3n Acumulada",
"report_type": "Balance Sheet"
},
{
"name": "Activo Intangible / Marcas y Patentes de Invenci\u00f3n",
"report_type": "Balance Sheet"
},
{
"name": "Activo Intangible / Concesiones y Franquicias",
"report_type": "Balance Sheet"
},
{
"name": "Activo Intangible / Derecho de Llaves",
"report_type": "Balance Sheet"
}
],
"name": "Activo Intangible"
},
{
"children": [
{
"name": "Activo Fijo / Inmuebles",
"report_type": "Balance Sheet"
},
{
"name": "Activo Fijo / Maquinaria",
"report_type": "Balance Sheet"
},
{
"name": "Activo Fijo / Material Rodante Motorizado",
"report_type": "Balance Sheet"
},
{
"name": "Activo Fijo / (-) Depreciaci\u00f3n Acumulada",
"report_type": "Balance Sheet"
},
{
"name": "Activo Fijo / Equipos",
"report_type": "Balance Sheet"
}
],
"name": "Activo Fijo"
}
],
"name": "ACTIVOS"
}
],
"name": "inventario del Balance General"
},
{
"children": [
{
"children": [
{
"name": "Compras - Categoria de productos 01"
}
],
"name": "Compras"
},
{
"name": "Costos de Producci\u00f3n",
"report_type": "Profit and Loss"
},
{
"name": "Gastos de Administraci\u00f3n",
"report_type": "Profit and Loss"
},
{
"name": "Gastos de Comercializaci\u00f3n",
"report_type": "Profit and Loss"
}
],
"name": "Cuentas de Movimiento"
}
],
"name": "Chile"
}
}

View File

@@ -3,452 +3,452 @@
"root": {
"children": [
{
"name": "\u957f\u671f\u5e94\u6536\u6b3e",
"root_type": "Asset"
},
{
"name": "\u94f6\u884c\u5b58\u6b3e",
"root_type": "Asset"
},
{
"name": "\u73b0\u91d1",
"root_type": "Asset"
},
{
"name": "\u8425\u4e1a\u7a0e\u91d1\u53ca\u9644\u52a0",
"root_type": "Expense"
},
{
"name": "\u5176\u4ed6\u4e1a\u52a1\u652f\u51fa",
"root_type": "Expense"
},
{
"name": "\u4e3b\u8425\u4e1a\u52a1\u6210\u672c",
"root_type": "Expense"
},
{
"name": "\u8d44\u672c\u516c\u79ef",
"root_type": "Liability"
},
{
"name": "\u9012\u5ef6\u6240\u5f97\u7a0e\u8d1f\u503a",
"root_type": "Liability"
},
{
"name": "\u56fa\u5b9a\u8d44\u4ea7",
"root_type": "Asset"
},
{
"name": "\u7d2f\u8ba1\u6298\u65e7",
"root_type": "Asset"
},
{
"name": "\u5f85\u5904\u7406\u8d22\u4ea7\u635f\u6ea2",
"root_type": "Asset"
},
{
"name": "\u5176\u4ed6\u4e1a\u52a1\u6536\u5165",
"root_type": "Income"
},
{
"name": "\u77ed\u671f\u501f\u6b3e",
"root_type": "Liability"
},
{
"name": "\u5e94\u4ed8\u804c\u5de5\u85aa\u916c",
"root_type": "Liability"
},
{
"name": "\u574f\u8d26\u51c6\u5907",
"root_type": "Asset"
},
{
"name": "\u5e94\u4ed8\u80a1\u5229",
"root_type": "Liability"
},
{
"name": "\u5e94\u4ed8\u5229\u606f",
"root_type": "Liability"
},
{
"name": "\u957f\u671f\u6295\u8d44\u51cf\u503c\u51c6\u5907",
"root_type": "Asset"
},
{
"name": "\u957f\u671f\u80a1\u6743\u6295\u8d44",
"root_type": "Asset"
},
{
"name": "\u65e0\u5f62\u8d44\u4ea7",
"root_type": "Asset"
},
{
"name": "\u65e0\u5f62\u8d44\u4ea7\u51cf\u503c\u51c6\u5907",
"root_type": "Asset"
},
{
"name": "\u7d2f\u8ba1\u644a\u9500",
"root_type": "Asset"
},
{
"name": "\u5229\u6da6\u5206\u914d",
"root_type": "Liability"
},
{
"name": "\u76c8\u4f59\u516c\u79ef",
"root_type": "Liability"
},
{
"name": "\u672c\u5e74\u5229\u6da6",
"root_type": "Liability"
},
{
"name": "\u9884\u8ba1\u8d1f\u503a",
"root_type": "Liability"
},
{
"name": "\u8425\u4e1a\u5916\u652f\u51fa",
"root_type": "Expense"
},
{
"name": "\u957f\u671f\u501f\u6b3e",
"root_type": "Liability"
},
{
"name": "\u957f\u671f\u503a\u5238",
"root_type": "Liability"
},
{
"name": "\u957f\u671f\u5f85\u644a\u8d39\u7528",
"root_type": "Asset"
},
{
"name": "\u5e94\u6536\u7968\u636e",
"root_type": "Asset"
},
{
"name": "\u9884\u4ed8\u8d26\u6b3e",
"root_type": "Asset"
},
{
"name": "\u5e94\u6536\u8d26\u6b3e",
"root_type": "Asset"
},
{
"name": "\u516c\u5141\u4ef7\u503c\u53d8\u52a8\u635f\u76ca",
"root_type": "Income"
"name": "\u4ee5\u524d\u5e74\u5ea6\u635f\u76ca\u8c03\u6574",
"report_type": "Profit and Loss"
},
{
"name": "\u5236\u9020\u8d39\u7528",
"root_type": "Expense"
"report_type": "Profit and Loss"
},
{
"name": "\u4ea4\u6613\u6027\u91d1\u878d\u8d1f\u503a",
"root_type": "Liability"
},
{
"name": "\u4ea4\u6613\u6027\u91d1\u878d\u8d44\u4ea7",
"root_type": "Asset"
},
{
"name": "\u4ee3\u7406\u4e1a\u52a1\u8d1f\u503a",
"root_type": "Liability"
},
{
"name": "\u56fa\u5b9a\u8d44\u4ea7\u6e05\u7406",
"root_type": "Asset"
},
{
"name": "\u6240\u5f97\u7a0e",
"root_type": "Expense"
},
{
"name": "\u88ab\u5957\u671f\u9879\u76ee",
"root_type": "Liability"
},
{
"name": "\u5b9e\u6536\u8d44\u672c",
"root_type": "Liability"
},
{
"name": "\u59d4\u6258\u52a0\u5de5\u7269\u8d44",
"root_type": "Asset"
},
{
"name": "\u5546\u54c1\u8fdb\u9500\u5dee\u4ef7",
"root_type": "Asset"
},
{
"name": "\u5305\u88c5\u7269\u53ca\u4f4e\u503c\u6613\u8017\u54c1",
"root_type": "Asset"
},
{
"name": "\u9012\u5ef6\u6536\u76ca",
"root_type": "Liability"
},
{
"name": "\u8425\u4e1a\u5916\u6536\u5165",
"root_type": "Income"
},
{
"name": "\u7814\u53d1\u652f\u51fa",
"root_type": "Expense"
"name": "\u9884\u63d0\u8d39\u7528",
"report_type": "Balance Sheet"
},
{
"name": "\u5728\u5efa\u5de5\u7a0b",
"root_type": "Asset"
"report_type": "Balance Sheet"
},
{
"name": "\u5de5\u7a0b\u7269\u8d44",
"root_type": "Asset"
"report_type": "Balance Sheet"
},
{
"name": "\u56fa\u5b9a\u8d44\u4ea7\u51cf\u503c\u51c6\u5907",
"root_type": "Asset"
"name": "\u56fa\u5b9a\u8d44\u4ea7\u6e05\u7406",
"report_type": "Balance Sheet"
},
{
"name": "\u5176\u4ed6\u8d27\u5e01\u8d44\u91d1",
"root_type": "Asset"
"name": "\u56fa\u5b9a\u8d44\u4ea7",
"report_type": "Balance Sheet"
},
{
"name": "\u5176\u4ed6\u5e94\u6536\u6b3e",
"root_type": "Asset"
"name": "\u7d2f\u8ba1\u6298\u65e7",
"report_type": "Balance Sheet"
},
{
"name": "\u9500\u552e\u8d39\u7528",
"root_type": "Expense"
"name": "\u4ee3\u7406\u4e1a\u52a1\u8d1f\u503a",
"report_type": "Balance Sheet"
},
{
"name": "\u8d22\u52a1\u8d39\u7528",
"root_type": "Expense"
"name": "\u65e0\u5f62\u8d44\u4ea7",
"report_type": "Balance Sheet"
},
{
"name": "\u7ba1\u7406\u8d39\u7528",
"root_type": "Expense"
"name": "\u65e0\u5f62\u8d44\u4ea7\u51cf\u503c\u51c6\u5907",
"report_type": "Balance Sheet"
},
{
"name": "\u751f\u4ea7\u6210\u672c",
"root_type": "Expense"
"name": "\u7d2f\u8ba1\u644a\u9500",
"report_type": "Balance Sheet"
},
{
"name": "\u8425\u4e1a\u7a0e\u91d1\u53ca\u9644\u52a0",
"report_type": "Profit and Loss"
},
{
"name": "\u5176\u4ed6\u4e1a\u52a1\u652f\u51fa",
"report_type": "Profit and Loss"
},
{
"name": "\u4e3b\u8425\u4e1a\u52a1\u6210\u672c",
"report_type": "Profit and Loss"
},
{
"name": "\u7814\u53d1\u652f\u51fa",
"report_type": "Profit and Loss"
},
{
"name": "\u9884\u8ba1\u8d1f\u503a",
"report_type": "Balance Sheet"
},
{
"name": "\u9884\u6536\u8d26\u6b3e",
"root_type": "Liability"
"report_type": "Balance Sheet"
},
{
"name": "\u5e94\u4ed8\u7968\u636e",
"root_type": "Liability"
"report_type": "Balance Sheet"
},
{
"name": "\u5e94\u4ed8\u8d26\u6b3e",
"root_type": "Liability"
"name": "\u5546\u8a89",
"report_type": "Balance Sheet"
},
{
"name": "\u4e3b\u8425\u4e1a\u52a1\u6536\u5165",
"root_type": "Income"
"name": "\u6240\u5f97\u7a0e",
"report_type": "Profit and Loss"
},
{
"name": "\u6301\u6709\u81f3\u5230\u671f\u6295\u8d44",
"root_type": "Asset"
"name": "\u5176\u4ed6\u8d27\u5e01\u8d44\u91d1",
"report_type": "Balance Sheet"
},
{
"name": "\u672a\u5b9e\u73b0\u878d\u8d44\u6536\u76ca",
"report_type": "Balance Sheet"
},
{
"name": "\u5b58\u8d27\u8dcc\u4ef7\u51c6\u5907",
"report_type": "Balance Sheet"
},
{
"name": "\u8425\u4e1a\u5916\u652f\u51fa",
"report_type": "Profit and Loss"
},
{
"name": "\u53ef\u4f9b\u51fa\u552e\u91d1\u878d\u8d44\u4ea7",
"root_type": "Asset"
"report_type": "Balance Sheet"
},
{
"name": "\u8425\u4e1a\u5916\u6536\u5165",
"report_type": "Profit and Loss"
},
{
"name": "\u957f\u671f\u501f\u6b3e",
"report_type": "Balance Sheet"
},
{
"name": "\u957f\u671f\u503a\u5238",
"report_type": "Balance Sheet"
},
{
"name": "\u5e94\u4ed8\u804c\u5de5\u85aa\u916c",
"report_type": "Balance Sheet"
},
{
"name": "\u94f6\u884c\u5b58\u6b3e",
"report_type": "Balance Sheet"
},
{
"name": "\u73b0\u91d1",
"report_type": "Balance Sheet"
},
{
"name": "\u884d\u751f\u5de5\u5177",
"report_type": "Balance Sheet"
},
{
"name": "\u6301\u6709\u81f3\u5230\u671f\u6295\u8d44\u51cf\u503c\u51c6\u5907",
"root_type": "Asset"
"report_type": "Balance Sheet"
},
{
"name": "\u5957\u671f\u5de5\u5177",
"report_type": "Balance Sheet"
},
{
"name": "\u751f\u4ea7\u6210\u672c",
"report_type": "Profit and Loss"
},
{
"name": "\u5b9e\u6536\u8d44\u672c",
"report_type": "Balance Sheet"
},
{
"name": "\u59d4\u6258\u52a0\u5de5\u7269\u8d44",
"report_type": "Balance Sheet"
},
{
"name": "\u5546\u54c1\u8fdb\u9500\u5dee\u4ef7",
"report_type": "Balance Sheet"
},
{
"name": "\u5305\u88c5\u7269\u53ca\u4f4e\u503c\u6613\u8017\u54c1",
"report_type": "Balance Sheet"
},
{
"name": "\u5229\u6da6\u5206\u914d",
"report_type": "Balance Sheet"
},
{
"name": "\u76c8\u4f59\u516c\u79ef",
"report_type": "Balance Sheet"
},
{
"name": "\u672c\u5e74\u5229\u6da6",
"report_type": "Balance Sheet"
},
{
"name": "\u8d44\u672c\u516c\u79ef",
"report_type": "Balance Sheet"
},
{
"name": "\u4ee3\u7406\u4e1a\u52a1\u8d44\u4ea7",
"report_type": "Balance Sheet"
},
{
"name": "\u9012\u5ef6\u6536\u76ca",
"report_type": "Balance Sheet"
},
{
"name": "\u9012\u5ef6\u6240\u5f97\u7a0e\u8d44\u4ea7",
"report_type": "Balance Sheet"
},
{
"name": "\u52b3\u52a1\u6210\u672c",
"root_type": "Expense"
"report_type": "Profit and Loss"
},
{
"name": "\u6301\u6709\u81f3\u5230\u671f\u6295\u8d44",
"report_type": "Balance Sheet"
},
{
"name": "\u5e93\u5b58\u5546\u54c1",
"report_type": "Balance Sheet"
},
{
"name": "\u53d1\u51fa\u5546\u54c1",
"report_type": "Balance Sheet"
},
{
"name": "\u6750\u6599\u6210\u672c\u5dee\u5f02",
"report_type": "Balance Sheet"
},
{
"name": "\u5e94\u4ed8\u8d26\u6b3e",
"report_type": "Balance Sheet"
},
{
"name": "\u5728\u9014\u7269\u8d44",
"report_type": "Balance Sheet"
},
{
"name": "\u539f\u6750\u6599",
"report_type": "Balance Sheet"
},
{
"name": "\u6750\u6599\u91c7\u8d2d",
"report_type": "Balance Sheet"
},
{
"name": "\u957f\u671f\u80a1\u6743\u6295\u8d44",
"report_type": "Balance Sheet"
},
{
"name": "\u6295\u8d44\u6027\u623f\u5730\u4ea7",
"root_type": "Asset"
"report_type": "Balance Sheet"
},
{
"name": "\u957f\u671f\u6295\u8d44\u51cf\u503c\u51c6\u5907",
"report_type": "Balance Sheet"
},
{
"name": "\u5176\u4ed6\u5e94\u6536\u6b3e",
"report_type": "Balance Sheet"
},
{
"name": "\u957f\u671f\u5f85\u644a\u8d39\u7528",
"report_type": "Balance Sheet"
},
{
"name": "\u9012\u5ef6\u6240\u5f97\u7a0e\u8d1f\u503a",
"report_type": "Balance Sheet"
},
{
"name": "\u88ab\u5957\u671f\u9879\u76ee",
"report_type": "Balance Sheet"
},
{
"name": "\u4ea4\u6613\u6027\u91d1\u878d\u8d1f\u503a",
"report_type": "Balance Sheet"
},
{
"name": "\u9500\u552e\u8d39\u7528",
"report_type": "Profit and Loss"
},
{
"name": "\u574f\u8d26\u51c6\u5907",
"report_type": "Balance Sheet"
},
{
"name": "\u8d22\u52a1\u8d39\u7528",
"report_type": "Profit and Loss"
},
{
"name": "\u7ba1\u7406\u8d39\u7528",
"report_type": "Profit and Loss"
},
{
"children": [
{
"children": [
{
"name": "\u8fdb\u9879\u7a0e\u989d\u8f6c\u51fa",
"root_type": "Liability"
},
{
"name": "\u51fa\u53e3\u9000\u7a0e",
"root_type": "Liability"
},
{
"name": "\u9500\u9879\u7a0e\u989d",
"root_type": "Liability"
},
{
"name": "\u51cf\u514d\u7a0e\u6b3e",
"root_type": "Liability"
},
{
"name": "\u8f6c\u51fa\u672a\u4ea4\u589e\u503c\u7a0e",
"root_type": "Liability"
},
{
"name": "\u5df2\u4ea4\u7a0e\u91d1",
"root_type": "Liability"
},
{
"name": "\u8fdb\u9879\u7a0e\u989d",
"root_type": "Liability"
},
{
"name": "\u8f6c\u51fa\u591a\u4ea4\u589e\u503c\u7a0e",
"root_type": "Liability"
},
{
"name": "\u51fa\u53e3\u62b5\u51cf\u5185\u9500\u4ea7\u54c1\u5e94\u7eb3\u7a0e\u989d",
"root_type": "Liability"
},
{
"name": "\u672a\u4ea4\u589e\u503c\u7a0e",
"root_type": "Liability"
}
],
"name": "\u5e94\u4ea4\u589e\u503c\u7a0e",
"root_type": "Liability"
},
{
"name": "\u5e94\u4ea4\u8425\u4e1a\u7a0e",
"root_type": "Liability"
},
{
"name": "\u5e94\u4ea4\u6d88\u8d39\u7a0e",
"root_type": "Liability"
},
{
"name": "\u5e94\u4ea4\u8d44\u6e90\u7a0e",
"root_type": "Liability"
},
{
"name": "\u5e94\u4ea4\u6240\u5f97\u7a0e",
"root_type": "Liability"
},
{
"name": "\u5e94\u4ea4\u571f\u5730\u589e\u503c\u7a0e",
"root_type": "Liability"
},
{
"name": "\u5e94\u4ea4\u57ce\u5e02\u7ef4\u62a4\u5efa\u8bbe\u7a0e",
"root_type": "Liability"
},
{
"name": "\u5e94\u4ea4\u623f\u4ea7\u7a0e",
"root_type": "Liability"
},
{
"name": "\u5e94\u4ea4\u571f\u5730\u4f7f\u7528\u7a0e",
"root_type": "Liability"
},
{
"name": "\u5e94\u4ea4\u4e2a\u4eba\u6240\u5f97\u7a0e",
"root_type": "Liability"
"report_type": "Balance Sheet"
},
{
"name": "\u5e94\u4ea4\u8f66\u8239\u4f7f\u7528\u7a0e",
"root_type": "Liability"
"report_type": "Balance Sheet"
},
{
"children": [
{
"name": "\u8fdb\u9879\u7a0e\u989d\u8f6c\u51fa",
"report_type": "Balance Sheet"
},
{
"name": "\u51fa\u53e3\u9000\u7a0e",
"report_type": "Balance Sheet"
},
{
"name": "\u9500\u9879\u7a0e\u989d",
"report_type": "Balance Sheet"
},
{
"name": "\u51cf\u514d\u7a0e\u6b3e",
"report_type": "Balance Sheet"
},
{
"name": "\u8f6c\u51fa\u672a\u4ea4\u589e\u503c\u7a0e",
"report_type": "Balance Sheet"
},
{
"name": "\u8fdb\u9879\u7a0e\u989d",
"report_type": "Balance Sheet"
},
{
"name": "\u8f6c\u51fa\u591a\u4ea4\u589e\u503c\u7a0e",
"report_type": "Balance Sheet"
},
{
"name": "\u51fa\u53e3\u62b5\u51cf\u5185\u9500\u4ea7\u54c1\u5e94\u7eb3\u7a0e\u989d",
"report_type": "Balance Sheet"
},
{
"name": "\u5df2\u4ea4\u7a0e\u91d1",
"report_type": "Balance Sheet"
},
{
"name": "\u672a\u4ea4\u589e\u503c\u7a0e",
"report_type": "Balance Sheet"
}
],
"name": "\u5e94\u4ea4\u589e\u503c\u7a0e",
"report_type": "Balance Sheet"
},
{
"name": "\u5e94\u4ea4\u8425\u4e1a\u7a0e",
"report_type": "Balance Sheet"
},
{
"name": "\u5e94\u4ea4\u6d88\u8d39\u7a0e",
"report_type": "Balance Sheet"
},
{
"name": "\u5e94\u4ea4\u8d44\u6e90\u7a0e",
"report_type": "Balance Sheet"
},
{
"name": "\u5e94\u4ea4\u6240\u5f97\u7a0e",
"report_type": "Balance Sheet"
},
{
"name": "\u5e94\u4ea4\u571f\u5730\u589e\u503c\u7a0e",
"report_type": "Balance Sheet"
},
{
"name": "\u5e94\u4ea4\u57ce\u5e02\u7ef4\u62a4\u5efa\u8bbe\u7a0e",
"report_type": "Balance Sheet"
},
{
"name": "\u5e94\u4ea4\u623f\u4ea7\u7a0e",
"report_type": "Balance Sheet"
},
{
"name": "\u5e94\u4ea4\u571f\u5730\u4f7f\u7528\u7a0e",
"report_type": "Balance Sheet"
}
],
"name": "\u5e94\u4ea4\u7a0e\u8d39",
"root_type": "Liability"
"report_type": "Balance Sheet"
},
{
"name": "\u884d\u751f\u5de5\u5177",
"root_type": "Liability"
"name": "\u56fa\u5b9a\u8d44\u4ea7\u51cf\u503c\u51c6\u5907",
"report_type": "Balance Sheet"
},
{
"name": "\u5957\u671f\u5de5\u5177",
"root_type": "Liability"
"name": "\u5e94\u6536\u7968\u636e",
"report_type": "Balance Sheet"
},
{
"name": "\u5f85\u644a\u8d39\u7528",
"root_type": "Asset"
"name": "\u9884\u4ed8\u8d26\u6b3e",
"report_type": "Balance Sheet"
},
{
"name": "\u9884\u63d0\u8d39\u7528",
"root_type": "Liability"
},
{
"name": "\u5546\u8a89",
"root_type": "Asset"
},
{
"name": "\u672a\u5b9e\u73b0\u878d\u8d44\u6536\u76ca",
"root_type": "Asset"
},
{
"name": "\u9012\u5ef6\u6240\u5f97\u7a0e\u8d44\u4ea7",
"root_type": "Asset"
"name": "\u5e94\u6536\u8d26\u6b3e",
"report_type": "Balance Sheet"
},
{
"name": "\u8d44\u4ea7\u51cf\u503c\u635f\u5931",
"root_type": "Expense"
"report_type": "Profit and Loss"
},
{
"name": "\u957f\u671f\u5e94\u6536\u6b3e",
"report_type": "Balance Sheet"
},
{
"name": "\u5f85\u644a\u8d39\u7528",
"report_type": "Balance Sheet"
},
{
"name": "\u6295\u8d44\u6536\u76ca",
"root_type": "Income"
"report_type": "Profit and Loss"
},
{
"name": "\u5e94\u6536\u5229\u606f",
"root_type": "Asset"
"report_type": "Balance Sheet"
},
{
"name": "\u5e94\u4ed8\u80a1\u5229",
"report_type": "Balance Sheet"
},
{
"name": "\u5e94\u4ed8\u5229\u606f",
"report_type": "Balance Sheet"
},
{
"name": "\u5e94\u6536\u80a1\u5229",
"root_type": "Asset"
"report_type": "Balance Sheet"
},
{
"name": "\u672a\u786e\u8ba4\u878d\u8d44\u8d39\u7528",
"root_type": "Liability"
},
{
"name": "\u957f\u671f\u5e94\u4ed8\u6b3e",
"root_type": "Liability"
},
{
"name": "\u4ee5\u524d\u5e74\u5ea6\u635f\u76ca\u8c03\u6574",
"root_type": "Income"
},
{
"name": "\u5b58\u8d27\u8dcc\u4ef7\u51c6\u5907",
"root_type": "Asset"
},
{
"name": "\u4ee3\u7406\u4e1a\u52a1\u8d44\u4ea7",
"root_type": "Asset"
"name": "\u4e3b\u8425\u4e1a\u52a1\u6536\u5165",
"report_type": "Profit and Loss"
},
{
"name": "\u5e93\u5b58\u80a1",
"root_type": "Liability"
"report_type": "Balance Sheet"
},
{
"name": "\u5e93\u5b58\u5546\u54c1",
"root_type": "Asset"
"name": "\u5f85\u5904\u7406\u8d22\u4ea7\u635f\u6ea2",
"report_type": "Balance Sheet"
},
{
"name": "\u53d1\u51fa\u5546\u54c1",
"root_type": "Asset"
"name": "\u672a\u786e\u8ba4\u878d\u8d44\u8d39\u7528",
"report_type": "Balance Sheet"
},
{
"name": "\u6750\u6599\u6210\u672c\u5dee\u5f02",
"root_type": "Asset"
"name": "\u957f\u671f\u5e94\u4ed8\u6b3e",
"report_type": "Balance Sheet"
},
{
"name": "\u5728\u9014\u7269\u8d44",
"root_type": "Asset"
"name": "\u5176\u4ed6\u4e1a\u52a1\u6536\u5165",
"report_type": "Profit and Loss"
},
{
"name": "\u539f\u6750\u6599",
"root_type": "Asset"
"name": "\u4ea4\u6613\u6027\u91d1\u878d\u8d44\u4ea7",
"report_type": "Balance Sheet"
},
{
"name": "\u6750\u6599\u91c7\u8d2d",
"root_type": "Asset"
"name": "\u77ed\u671f\u501f\u6b3e",
"report_type": "Balance Sheet"
},
{
"name": "\u516c\u5141\u4ef7\u503c\u53d8\u52a8\u635f\u76ca",
"report_type": "Profit and Loss"
}
],
"name": "\u4f1a\u8ba1\u79d1\u76ee"

View File

@@ -0,0 +1,726 @@
{
"name": "Costa Rica - Company 0",
"root": {
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"name": "0-Veh\u00edculos"
},
{
"name": "0-Equipo de c\u00f3mputo"
},
{
"name": "0-Moibliario y equipo de oficina"
},
{
"name": "0-Herramientas mayores"
},
{
"name": "0-Maquinaria y equipo de edificios"
}
],
"name": "0-Activos depreciables m\u00f3viles"
},
{
"children": [
{
"children": [
{
"name": "0-Edificio 1"
}
],
"name": "0-Edificios \u2013 Revaluaciones"
},
{
"children": [
{
"name": "0-Edificio 1"
}
],
"name": "0-Edificios \u2013 Valores originales"
}
],
"name": "0-Edificios"
},
{
"children": [
{
"children": [
{
"name": "0-Edificio 1"
}
],
"name": "0-Mejoras a edificios \u2013 Revaluaciones"
},
{
"children": [
{
"name": "0-Edificio 1"
}
],
"name": "0-Mejoras a edificios \u2013 Valores originales"
}
],
"name": "0-Mejoras a edificios"
}
],
"name": "0-Activo fijo depreciable"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "0-Terreno 1"
}
],
"name": "0-Valores originales"
},
{
"children": [
{
"name": "0-Terreno 1"
}
],
"name": "0-Revaluaciones"
}
],
"name": "0-Terrenos"
}
],
"name": "0-Activo fijo no depreciable"
}
],
"name": "0-Activo fijo"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "0-Cuenta PayPal 1"
}
],
"name": "0-PayPal"
},
{
"children": [
{
"name": "0-Fondos en tr\u00e1nsito en bancos"
},
{
"name": "0-Fondos en tr\u00e1nsito de PayPal a Bancos"
},
{
"name": "0-Fondos en tr\u00e1nsito en tesorer\u00eda"
}
],
"name": "0-Fondos en tr\u00e1nsito"
},
{
"children": [
{
"children": [
{
"name": "0-Fondo de caja oficinas centrales USD"
}
],
"name": "0-Fondos de caja USD"
},
{
"children": [
{
"name": "0-Fondo de caja oficinas centrales CRC"
}
],
"name": "0-Fondos de caja CRC"
}
],
"name": "0-Fondos de caja"
},
{
"children": [
{
"name": "0-Inversi\u00f3n 1"
}
],
"name": "0-Inversiones a la vista"
},
{
"children": [
{
"children": [
{
"name": "0-Cuenta en USD 1"
}
],
"name": "0-Cuentas corrientes USD"
},
{
"children": [
{
"name": "0-Cuenta en CRC 1"
}
],
"name": "0-Cuentas corrientes CRC"
}
],
"name": "0-Bancos"
}
],
"name": "0-Activo circulante disponible"
},
{
"children": [
{
"children": [
{
"name": "0-Inventario de producto para la venta"
},
{
"name": "0-Inventario de consumibles"
}
],
"name": "0-Inventarios"
}
],
"name": "0-Activo circulante realizable"
},
{
"children": [
{
"name": "0-Cuentas por cobrar a empleados"
},
{
"name": "0-Cuentas por cobrar a compa\u00f1\u00edas relacionadas"
},
{
"name": "0-Cuentas por cobrar comerciales"
},
{
"name": "0-Inversiones de corto plazo"
},
{
"name": "0-Otras cuentas por cobrar"
}
],
"name": "0-Activo circulante exigible"
}
],
"name": "0-Activo circulante"
},
{
"children": [
{
"children": [
{
"name": "0-P\u00f3lizas de seguros prepagadas"
}
],
"name": "0-Gastos pagados por anticipado"
},
{
"children": [
{
"name": "0-Dep\u00f3sitos sobre conexiones de Internet"
},
{
"name": "0-Dep\u00f3sitos sobre locales en alquiler"
},
{
"name": "0-Dep\u00f3sitos sobre derechos telef\u00f3nicos"
}
],
"name": "0-Dep\u00f3sitos de garant\u00eda"
}
],
"name": "0-Otros activos"
},
{
"children": [
{
"children": [
{
"name": "0-Dep. ac. de herramientas mayores"
},
{
"name": "0-Dep. ac. de mobiliario y equipo de oficina"
},
{
"name": "0-Dep. ac. de maquinaria y equipo de edificios"
},
{
"name": "0-Dep. ac. de equipo de c\u00f3mputo"
},
{
"name": "0-Dep. ac. de veh\u00edculos"
}
],
"name": "0-Dep. ac. de activos depreciables m\u00f3viles"
},
{
"children": [
{
"children": [
{
"name": "0-Edificio 1"
}
],
"name": "0-Dep. ac. de edificios \u2013 Valores originales"
},
{
"children": [
{
"name": "0-Edificio 1"
}
],
"name": "0-Dep. ac. de edificios \u2013 Revaluaciones"
}
],
"name": "0-Dep. ac. de edificios"
},
{
"children": [
{
"children": [
{
"name": "0-Edificio 1"
}
],
"name": "0-Dep. ac. de mejoras a edificios \u2013 Revaluaciones"
},
{
"children": [
{
"name": "0-Edificio 1"
}
],
"name": "0-Dep. ac. de mejoras a edificios \u2013 Valores originales"
}
],
"name": "0-Dep. ac. de mejoras a edificios"
}
],
"name": "0-Depreciaciones acumuladas sobre activo fijo depreciable"
}
],
"name": "0-Activo"
},
{
"children": [
{
"children": [
{
"name": "0-Gastos Financieros"
},
{
"name": "0-Depreciaci\u00f3n de activo fijo"
},
{
"name": "0-Ajustes"
},
{
"name": "0-Perdida por robo"
},
{
"name": "0-Donaciones deducibles"
}
],
"name": "0-Otros gastos"
},
{
"children": [
{
"name": "0-Donaciones no deducibles"
},
{
"name": "0-Multas"
},
{
"name": "0-Gastos de presidencia"
},
{
"name": "0-Diferencial cambiario"
}
],
"name": "0-Gastos no deducibles"
},
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"name": "0-Cesant\u00eda"
},
{
"name": "0-Comisiones"
},
{
"name": "0-Cargas patronales"
},
{
"name": "0-Aguinaldo"
},
{
"name": "0-Preaviso"
},
{
"name": "0-Salarios"
},
{
"name": "0-Extras"
},
{
"name": "0-Bonificaciones"
}
],
"name": "0-Salarios y deducciones"
},
{
"children": [
{
"name": "0-Transporte"
},
{
"name": "0-Hospedaje"
},
{
"name": "0-Alimentaci\u00f3n"
}
],
"name": "0-Vi\u00e1ticos"
}
],
"name": "0-Gastos de personal"
},
{
"children": [
{
"name": "0-Categor\u00eda 1"
}
],
"name": "0-Servicios profesionales"
},
{
"children": [
{
"name": "0-Campa\u00f1as publicitarias"
},
{
"name": "0-Dise\u00f1o de imagen"
}
],
"name": "0-Gastos de mercadeo"
},
{
"children": [
{
"name": "0-Costo de producto"
},
{
"name": "0-Costo de producci\u00f3n"
},
{
"name": "0-Costo de materia prima"
},
{
"name": "0-Costo de distribuci\u00f3n"
},
{
"name": "0-Costo de almacenamiento"
}
],
"name": "0-Costo de venta de producto"
}
],
"name": "0-Gastos operativos"
},
{
"children": [
{
"children": [
{
"name": "0-Departamento 1"
}
],
"name": "0-Equipo de c\u00f3mputo y comunicaci\u00f3n"
},
{
"children": [
{
"name": "0-Departamento 1"
}
],
"name": "0-Suministros de oficina"
},
{
"children": [
{
"children": [
{
"name": "0-Medidor 1"
}
],
"name": "0-Luz"
},
{
"children": [
{
"name": "0-Medidor 1"
}
],
"name": "0-Agua"
},
{
"children": [
{
"name": "0-Contrato 1"
}
],
"name": "0-Internet"
},
{
"children": [
{
"name": "0-Tel\u00e9fono 1"
}
],
"name": "0-Tel\u00e9fono"
}
],
"name": "0-Servicios p\u00fablicos"
},
{
"children": [
{
"name": "0-Compa\u00f1\u00eda administradora 1"
}
],
"name": "0-Cuota por administraci\u00f3n"
},
{
"children": [
{
"name": "0-Oficina 1"
}
],
"name": "0-Alquiler"
}
],
"name": "0-Gastos administrativos"
}
],
"name": "0-Gastos principales"
}
],
"name": "0-Gastos"
},
{
"children": [
{
"children": [
{
"name": "0-Socio 1",
"report_type": "Balance Sheet"
}
],
"name": "0-Aportes de capital"
},
{
"children": [
{
"name": "0-Socio 1",
"report_type": "Balance Sheet"
}
],
"name": "0-Capital social"
},
{
"children": [
{
"name": "0-Balance inicial",
"report_type": "Balance Sheet"
}
],
"name": "0-Balance inicial"
},
{
"children": [
{
"name": "0-Superavit ganado",
"report_type": "Balance Sheet"
},
{
"name": "0-Superavit por revaluaci\u00f3n de activos",
"report_type": "Balance Sheet"
},
{
"name": "0-Super\u00e1vit de capital",
"report_type": "Balance Sheet"
}
],
"name": "0-Cuentas de super\u00e1vit"
},
{
"children": [
{
"name": "0-Reserva para mejoras",
"report_type": "Balance Sheet"
},
{
"name": "0-Reserva para proyectos",
"report_type": "Balance Sheet"
}
],
"name": "0-Otras reservas"
},
{
"children": [
{
"name": "0-Reserva legal",
"report_type": "Balance Sheet"
}
],
"name": "0-Reserva legal"
},
{
"children": [
{
"name": "0-Periodo 1",
"report_type": "Balance Sheet"
}
],
"name": "0-Utilidad o p\u00e9rdida acumulada de periodos anteriores"
},
{
"children": [
{
"name": "0-Utilidad o p\u00e9rdida del per\u00edodo actual",
"report_type": "Balance Sheet"
}
],
"name": "0-Utilidad o p\u00e9rdida del per\u00edodo actual"
}
],
"name": "0-Patrimonio"
},
{
"children": [
{
"children": [
{
"name": "0-Donaciones"
},
{
"name": "0-Ajustes"
}
],
"name": "0-Otros ingresos"
},
{
"children": [
{
"name": "0-Intereses ganados sobre cuentas corrientes"
}
],
"name": "0-Ingresos financieros"
},
{
"children": [
{
"name": "0-Diferencial cambiario"
}
],
"name": "0-Ingresos no gravables"
},
{
"name": "0-Ingresos por ventas"
},
{
"children": [
{
"name": "0-Cuota por administraci\u00f3n"
}
],
"name": "0-Ingresos por administraci\u00f3n"
}
],
"name": "0-Ingresos"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "0-Cuentas por pagar de provisiones"
},
{
"name": "0-Cuentas por pagar a empleados"
},
{
"name": "0-Cuentas por pagar a proveedores"
},
{
"name": "0-Cuentas por pagar a compa\u00f1\u00edas relacionadas"
}
],
"name": "0-Cuentas por pagar"
},
{
"children": [
{
"children": [
{
"name": "0-Impuesto de ventas pagado"
},
{
"name": "0-Impuesto de ventas por pagar"
}
],
"name": "0-Impuesto de ventas"
},
{
"children": [
{
"name": "0-Adelantos de impuesto de renta"
},
{
"name": "0-Retenciones de impuesto de renta"
},
{
"name": "0-Impuesto de renta por pagar"
}
],
"name": "0-Impuesto de renta"
}
],
"name": "0-Impuestos"
}
],
"name": "0-Pasivo circulante"
}
],
"name": "0-Pasivo"
}
],
"name": "0-Plan Contable",
"parent_id": null
}
}

View File

@@ -0,0 +1,708 @@
{
"name": "Costa Rica - Company 1",
"root": {
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"name": "xImpuesto de renta por pagar"
},
{
"name": "xAdelantos de impuesto de renta"
},
{
"name": "xRetenciones de impuesto de renta"
}
],
"name": "xImpuesto de renta"
},
{
"children": [
{
"name": "xImpuesto de ventas pagado"
},
{
"name": "xImpuesto de ventas por pagar"
}
],
"name": "xImpuesto de ventas"
}
],
"name": "xImpuestos"
},
{
"children": [
{
"name": "xCuentas por pagar a compa\u00f1\u00edas relacionadas"
},
{
"name": "xCuentas por pagar a empleados"
},
{
"name": "xCuentas por pagar a proveedores"
},
{
"name": "xCuentas por pagar de provisiones"
}
],
"name": "xCuentas por pagar"
}
],
"name": "xPasivo circulante"
}
],
"name": "xPasivo"
},
{
"children": [
{
"children": [
{
"name": "xReserva para mejoras",
"report_type": "Balance Sheet"
},
{
"name": "xReserva para proyectos",
"report_type": "Balance Sheet"
}
],
"name": "xOtras reservas"
},
{
"children": [
{
"name": "xSocio 1",
"report_type": "Balance Sheet"
}
],
"name": "xAportes de capital"
},
{
"children": [
{
"name": "xUtilidad o p\u00e9rdida del per\u00edodo actual",
"report_type": "Balance Sheet"
}
],
"name": "xUtilidad o p\u00e9rdida del per\u00edodo actual"
},
{
"children": [
{
"name": "xBalance inicial",
"report_type": "Balance Sheet"
}
],
"name": "xBalance inicial"
},
{
"children": [
{
"name": "xReserva legal",
"report_type": "Balance Sheet"
}
],
"name": "xReserva legal"
},
{
"children": [
{
"name": "xSuperavit ganado",
"report_type": "Balance Sheet"
},
{
"name": "xSuperavit por revaluaci\u00f3n de activos",
"report_type": "Balance Sheet"
},
{
"name": "xSuper\u00e1vit de capital",
"report_type": "Balance Sheet"
}
],
"name": "xCuentas de super\u00e1vit"
},
{
"children": [
{
"name": "xSocio 1",
"report_type": "Balance Sheet"
}
],
"name": "xCapital social"
},
{
"children": [
{
"name": "xPeriodo 1",
"report_type": "Balance Sheet"
}
],
"name": "xUtilidad o p\u00e9rdida acumulada de periodos anteriores"
}
],
"name": "xPatrimonio"
},
{
"children": [
{
"children": [
{
"name": "xDiferencial cambiario"
},
{
"name": "xMultas"
},
{
"name": "xGastos de presidencia"
},
{
"name": "xDonaciones no deducibles"
}
],
"name": "xGastos no deducibles"
},
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"name": "xTransporte"
},
{
"name": "xHospedaje"
},
{
"name": "xAlimentaci\u00f3n"
}
],
"name": "xVi\u00e1ticos"
},
{
"children": [
{
"name": "xCesant\u00eda"
},
{
"name": "xComisiones"
},
{
"name": "xCargas patronales"
},
{
"name": "xAguinaldo"
},
{
"name": "xPreaviso"
},
{
"name": "xSalarios"
},
{
"name": "xExtras"
},
{
"name": "xBonificaciones"
}
],
"name": "xSalarios y deducciones"
}
],
"name": "xGastos de personal"
},
{
"children": [
{
"name": "xCampa\u00f1as publicitarias"
},
{
"name": "xDise\u00f1o de imagen"
}
],
"name": "xGastos de mercadeo"
},
{
"children": [
{
"name": "xCosto de distribuci\u00f3n"
},
{
"name": "xCosto de almacenamiento"
},
{
"name": "xCosto de producto"
},
{
"name": "xCosto de producci\u00f3n"
},
{
"name": "xCosto de materia prima"
}
],
"name": "xCosto de venta de producto"
},
{
"children": [
{
"name": "xCategor\u00eda 1"
}
],
"name": "xServicios profesionales"
}
],
"name": "xGastos operativos"
},
{
"children": [
{
"children": [
{
"name": "xDepartamento 1"
}
],
"name": "xSuministros de oficina"
},
{
"children": [
{
"name": "xCompa\u00f1\u00eda administradora 1"
}
],
"name": "xCuota por administraci\u00f3n"
},
{
"children": [
{
"name": "xOficina 1"
}
],
"name": "xAlquiler"
},
{
"children": [
{
"children": [
{
"name": "xMedidor 1"
}
],
"name": "xAgua"
},
{
"children": [
{
"name": "xMedidor 1"
}
],
"name": "xLuz"
},
{
"children": [
{
"name": "xTel\u00e9fono 1"
}
],
"name": "xTel\u00e9fono"
},
{
"children": [
{
"name": "xContrato 1"
}
],
"name": "xInternet"
}
],
"name": "xServicios p\u00fablicos"
},
{
"children": [
{
"name": "xDepartamento 1"
}
],
"name": "xEquipo de c\u00f3mputo y comunicaci\u00f3n"
}
],
"name": "xGastos administrativos"
}
],
"name": "xGastos principales"
},
{
"children": [
{
"name": "xGastos Financieros"
},
{
"name": "xDepreciaci\u00f3n de activo fijo"
},
{
"name": "xAjustes"
},
{
"name": "xPerdida por robo"
},
{
"name": "xDonaciones deducibles"
}
],
"name": "xOtros gastos"
}
],
"name": "xGastos"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "xBancos"
},
{
"children": [
{
"children": [
{
"name": "xFondo de caja oficinas centrales USD"
}
],
"name": "xFondos de caja USD"
},
{
"children": [
{
"name": "xFondo de caja oficinas centrales CRC"
}
],
"name": "xFondos de caja CRC"
}
],
"name": "xFondos de caja"
},
{
"children": [
{
"name": "xFondos en tr\u00e1nsito en bancos"
},
{
"name": "xFondos en tr\u00e1nsito de PayPal a Bancos"
},
{
"name": "xFondos en tr\u00e1nsito en tesorer\u00eda"
}
],
"name": "xFondos en tr\u00e1nsito"
},
{
"children": [
{
"name": "xInversi\u00f3n 1"
}
],
"name": "xInversiones a la vista"
},
{
"children": [
{
"name": "xCuenta PayPal 1"
}
],
"name": "xPayPal"
}
],
"name": "xActivo circulante disponible"
},
{
"children": [
{
"children": [
{
"name": "xInventario de producto para la venta"
},
{
"name": "xInventario de consumibles"
}
],
"name": "xInventarios"
}
],
"name": "xActivo circulante realizable"
},
{
"children": [
{
"name": "xInversiones de corto plazo"
},
{
"name": "xOtras cuentas por cobrar"
},
{
"name": "xCuentas por cobrar a empleados"
},
{
"name": "xCuentas por cobrar a compa\u00f1\u00edas relacionadas"
},
{
"name": "xCuentas por cobrar comerciales"
}
],
"name": "xActivo circulante exigible"
}
],
"name": "xActivo circulante"
},
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"name": "xTerreno 1"
}
],
"name": "xValores originales"
},
{
"children": [
{
"name": "xTerreno 1"
}
],
"name": "xRevaluaciones"
}
],
"name": "xTerrenos"
}
],
"name": "xActivo fijo no depreciable"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "xEdificio 1"
}
],
"name": "xEdificios \u2013 Revaluaciones"
},
{
"children": [
{
"name": "xEdificio 1"
}
],
"name": "xEdificios \u2013 Valores originales"
}
],
"name": "xEdificios"
},
{
"children": [
{
"name": "xMoibliario y equipo de oficina"
},
{
"name": "xHerramientas mayores"
},
{
"name": "xMaquinaria y equipo de edificios"
},
{
"name": "xVeh\u00edculos"
},
{
"name": "xEquipo de c\u00f3mputo"
}
],
"name": "xActivos depreciables m\u00f3viles"
},
{
"children": [
{
"children": [
{
"name": "xEdificio 1"
}
],
"name": "xMejoras a edificios \u2013 Valores originales"
},
{
"children": [
{
"name": "xEdificio 1"
}
],
"name": "xMejoras a edificios \u2013 Revaluaciones"
}
],
"name": "xMejoras a edificios"
}
],
"name": "xActivo fijo depreciable"
}
],
"name": "xActivo fijo"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "xEdificio 1"
}
],
"name": "xDep. ac. de edificios \u2013 Revaluaciones"
},
{
"children": [
{
"name": "xEdificio 1"
}
],
"name": "xDep. ac. de edificios \u2013 Valores originales"
}
],
"name": "xDep. ac. de edificios"
},
{
"children": [
{
"name": "xDep. ac. de herramientas mayores"
},
{
"name": "xDep. ac. de mobiliario y equipo de oficina"
},
{
"name": "xDep. ac. de maquinaria y equipo de edificios"
},
{
"name": "xDep. ac. de equipo de c\u00f3mputo"
},
{
"name": "xDep. ac. de veh\u00edculos"
}
],
"name": "xDep. ac. de activos depreciables m\u00f3viles"
},
{
"children": [
{
"children": [
{
"name": "xEdificio 1"
}
],
"name": "xDep. ac. de mejoras a edificios \u2013 Valores originales"
},
{
"children": [
{
"name": "xEdificio 1"
}
],
"name": "xDep. ac. de mejoras a edificios \u2013 Revaluaciones"
}
],
"name": "xDep. ac. de mejoras a edificios"
}
],
"name": "xDepreciaciones acumuladas sobre activo fijo depreciable"
},
{
"children": [
{
"children": [
{
"name": "xDep\u00f3sitos sobre conexiones de Internet"
},
{
"name": "xDep\u00f3sitos sobre locales en alquiler"
},
{
"name": "xDep\u00f3sitos sobre derechos telef\u00f3nicos"
}
],
"name": "xDep\u00f3sitos de garant\u00eda"
},
{
"children": [
{
"name": "xP\u00f3lizas de seguros prepagadas"
}
],
"name": "xGastos pagados por anticipado"
}
],
"name": "xOtros activos"
}
],
"name": "xActivo"
},
{
"children": [
{
"children": [
{
"name": "xDonaciones"
},
{
"name": "xAjustes"
}
],
"name": "xOtros ingresos"
},
{
"children": [
{
"name": "xIntereses ganados sobre cuentas corrientes"
}
],
"name": "xIngresos financieros"
},
{
"name": "xIngresos por ventas"
},
{
"children": [
{
"name": "xCuota por administraci\u00f3n"
}
],
"name": "xIngresos por administraci\u00f3n"
},
{
"children": [
{
"name": "xDiferencial cambiario"
}
],
"name": "xIngresos no gravables"
}
],
"name": "xIngresos"
}
],
"name": "xPlan Contable",
"parent_id": null
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,489 @@
{
"name": "Ethiopia Tax and Account Chart Template",
"root": {
"children": [
{
"children": [
{
"name": "Other"
},
{
"name": "Purchase Returns and Allowances"
},
{
"name": "Cost of Goods and Services"
},
{
"name": "Inventory Adjustments"
}
],
"name": "COST OF GOODS SOLD"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Commercial Loan"
}
],
"name": "Foreign Loans"
},
{
"children": [
{
"name": "Commercial Loan"
}
],
"name": "Local Loans"
}
],
"name": "Long-Term Debt"
},
{
"children": [
{
"children": [
{
"name": "Retention on contract"
}
],
"name": "Retentions"
},
{
"children": [
{
"name": "Pension contribution payable"
},
{
"name": "Trade Creditors"
},
{
"name": "Grace period payables"
},
{
"name": "VAT Payable"
},
{
"name": "Witholding Payable"
},
{
"name": "Salary payable"
},
{
"name": "Federal Income Tax"
}
],
"name": "Accounts Payable"
},
{
"children": [
{
"name": "Other deposits"
}
],
"name": "Deposits"
}
],
"name": "Payables"
}
],
"name": "LIABILITIES"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Allowances to contract staff"
},
{
"name": "Allowances to permanent staff"
},
{
"name": "Allowances to external contract staff"
}
],
"name": "Allowances/benefits"
},
{
"children": [
{
"name": "Contribution to permanent staff pensions"
}
],
"name": "Pension Contributions"
},
{
"children": [
{
"name": "Wages to contract staff"
},
{
"name": "Salaries to permanent staff"
},
{
"name": "Miscellaneous payments to staff"
},
{
"name": "Wages to casual staff"
},
{
"name": "Wages to external contract staff"
}
],
"name": "Compensation"
}
],
"name": "PERSONNEL SERVICES"
},
{
"children": [
{
"children": [
{
"name": "Official entertainment"
},
{
"name": "Transport fees"
},
{
"name": "Per diem"
}
],
"name": "Travelling and Official Entertainment Services"
},
{
"children": [
{
"name": "Maintenance and repair of plant, machinery, and equipment"
},
{
"name": "Maintenance and repair of vehicles and other transport"
},
{
"name": "Maintenance and repair of buildings, furnishings and fixtures"
},
{
"name": "Maintenance and repair of infrastructure"
}
],
"name": "Maintenance and Repair Services"
},
{
"children": [
{
"name": "Agriculture, forestry and marine inputs"
},
{
"name": "Veterinary supplies and drugs"
},
{
"name": "Research and development supplies"
},
{
"name": "Miscellaneous equipment"
},
{
"name": "Other material and supplies"
},
{
"name": "Uniforms, clothing, bedding"
},
{
"name": "Printing"
},
{
"name": "Office supplies"
},
{
"name": "Educational supplies"
},
{
"name": "Medical supplies"
},
{
"name": "Fuel and lubricants"
},
{
"name": "Food"
}
],
"name": "Goods and Supplies"
},
{
"children": [
{
"name": "Local training"
},
{
"name": "External training"
}
],
"name": "Training Services"
},
{
"children": [
{
"name": "Water and other utilities"
},
{
"name": "Telecommunication charges"
},
{
"name": "Freight"
},
{
"name": "Insurance"
},
{
"name": "Electricity charges"
},
{
"name": "Fees and charges"
},
{
"name": "Contracted professional services"
},
{
"name": "Advertising"
},
{
"name": "Rent"
}
],
"name": "Contracted Services"
}
],
"name": "GOODS AND SERVICES"
},
{
"children": [
{
"children": [
{
"name": "Pre-construction activities"
},
{
"name": "Construction of buildings"
},
{
"name": "Construction of infrastructure"
}
],
"name": "Construction"
},
{
"children": [
{
"name": "Depreciation of vehicles and other vehicular transport"
},
{
"name": "Depreciation of plant, machinery and equipment"
},
{
"name": "Depreciation of buildings, furnishings and fixtures"
},
{
"name": "Depreciation of livestock and transport animals"
}
],
"name": "Fixed Assets"
}
],
"name": "FIXED ASSETS AND CONSTRUCTION"
},
{
"children": [
{
"children": [
{
"name": "Payments of interest and bank charges on local debt"
},
{
"name": "Payments on the principal of foreign debt"
},
{
"name": "Payments on the principal of local debt"
},
{
"name": "Payments of interest and bank charges on foreign debt"
}
],
"name": "Debt Payments"
}
],
"name": "OTHER PAYMENTS"
}
],
"name": "EXPENSES"
},
{
"children": [
{
"name": "Stock"
},
{
"children": [
{
"name": "Other Debtors"
},
{
"children": [
{
"name": "Advance to supplier"
},
{
"name": "Advance to contractors"
},
{
"name": "Advance to consultant"
}
],
"name": "Prepayments"
},
{
"children": [
{
"name": "VAT Withholding Receivable on Sales"
},
{
"name": "Trade Debtors"
},
{
"name": "Withholding Receivable on Sales"
},
{
"name": "VAT Receivable on Purchases"
},
{
"name": "Cash shortage"
},
{
"name": "Advance to staff"
},
{
"name": "Suspense"
},
{
"name": "Cash Registers"
}
],
"name": "Accounts Receivable"
}
],
"name": "Receivables"
},
{
"name": "Investments"
},
{
"name": "Long Term Loans"
},
{
"children": [
{
"name": "Finished Goods"
},
{
"name": "Work in Progress"
}
],
"name": "Production Stock"
},
{
"name": "Goods in Transit"
},
{
"children": [
{
"children": [
{
"name": "Construction of buildings"
},
{
"name": "Construction of infrastructure"
}
],
"name": "Construction in Progress"
},
{
"children": [
{
"name": "Plant machinery and equipment"
},
{
"name": "Furnishings and fixtures"
},
{
"name": "Aircraft, boats, etc"
},
{
"name": "Vehicles and other vehicular transport"
},
{
"name": "Infrastructure"
},
{
"name": "Buildings"
},
{
"name": "Livestock and tansport animals"
}
],
"name": "Property and Equipment"
}
],
"name": "Fixed Assets"
},
{
"children": [
{
"name": "Investments current assets"
},
{
"name": "Cash on hand and at bank"
},
{
"name": "Letter of Credit restricted account"
},
{
"name": "Cash at bank in foreigh currency"
}
],
"name": "Cash and Cash Equivalents"
}
],
"name": "ASSETS"
},
{
"children": [
{
"name": "Profit and loss account"
},
{
"name": "Reserves"
},
{
"name": "Share capital / equity"
}
],
"name": "NET ASSETS/EQUITY"
},
{
"children": [
{
"name": "Sales of Goods and Services"
}
],
"name": "REVENUE"
}
],
"name": "Ethiopia",
"parent_id": null
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,365 @@
{
"name": "Plantilla de cuentas de Guatemala (sencilla)",
"root": {
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"name": "Impuestos",
"report_type": "Balance Sheet"
}
],
"name": "Impuestos"
},
{
"children": [
{
"name": "IVA por Pagar",
"report_type": "Balance Sheet"
}
],
"name": "IVA por Pagar"
},
{
"children": [
{
"name": "Cuentas y Documentos por Pagar",
"report_type": "Balance Sheet"
}
],
"name": "Cuentas y Documentos por Pagar"
}
],
"name": "Pasivo Corto Plazo"
},
{
"children": [
{
"children": [
{
"name": "Anticipos",
"report_type": "Balance Sheet"
}
],
"name": "Cr\u00e9ditos Diferidos"
}
],
"name": "Cr\u00e9ditos Diferidos"
},
{
"children": [
{
"children": [
{
"name": "Provisi\u00f3n para Indemnizaciones",
"report_type": "Balance Sheet"
}
],
"name": "Provisi\u00f3n para Indemnizaciones"
}
],
"name": "Pasivo a Largo Plazo"
}
],
"name": "Pasivo"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Capital Autorizado, Suscr\u00edto y Pagado",
"report_type": "Balance Sheet"
},
{
"name": "Perdidas y Ganancias",
"report_type": "Balance Sheet"
},
{
"name": "Reservas",
"report_type": "Balance Sheet"
}
],
"name": "Patrimonio de los Accionistas"
}
],
"name": "Patrimonio de los Accionistas"
}
],
"name": "Patrimonio"
},
{
"children": [
{
"children": [
{
"name": "Inventario"
},
{
"children": [
{
"name": "Retenciones de IVA recibidas",
"report_type": "Balance Sheet"
},
{
"name": "IVA por Cobrar",
"report_type": "Balance Sheet"
}
],
"name": "IVA por Cobrar"
},
{
"children": [
{
"name": "Prestamos al Personal",
"report_type": "Balance Sheet"
},
{
"name": "Cuentas por Cobrar Empresas Afilidas",
"report_type": "Balance Sheet"
},
{
"name": "Cuentas por Cobrar Generales",
"report_type": "Balance Sheet"
},
{
"name": "Otras Cuentas por Cobrar",
"report_type": "Balance Sheet"
}
],
"name": "Cuentas y Documentos por Cobrar"
},
{
"children": [
{
"name": "Caja Chica",
"report_type": "Balance Sheet"
}
],
"name": "Caja y Bancos"
}
],
"name": "Activo Corriente"
},
{
"children": [
{
"children": [
{
"name": "Propiedad, Planta y Equipo",
"report_type": "Balance Sheet"
}
],
"name": "Propiedad, Planta y Equipo"
},
{
"children": [
{
"name": "Depreciaciones Acumuladas",
"report_type": "Balance Sheet"
}
],
"name": "Depreciaciones Acumuladas"
}
],
"name": "No Corriente"
},
{
"children": [
{
"children": [
{
"name": "Gastos de Organizaci\u00f3n",
"report_type": "Balance Sheet"
}
],
"name": "Gastos de Organizaci\u00f3n"
},
{
"children": [
{
"name": "Gastos por Amortizar",
"report_type": "Balance Sheet"
}
],
"name": "Gastos por Amortizar"
},
{
"children": [
{
"name": "Gastos Anticipados",
"report_type": "Balance Sheet"
}
],
"name": "Gastos Anticipados"
},
{
"children": [
{
"name": "Otros Activos",
"report_type": "Balance Sheet"
}
],
"name": "Otros Activos"
}
],
"name": "Diferido"
}
],
"name": "Activo"
}
],
"name": "Balance General"
},
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"name": "Gastos no Deducibles",
"report_type": "Profit and Loss"
}
],
"name": "Gastos no Deducibles"
}
],
"name": "Gastos no Deducibles"
},
{
"children": [
{
"children": [
{
"name": "Otros Gastos de Operaci\u00f3n",
"report_type": "Profit and Loss"
}
],
"name": "Otros Gastos de Operaci\u00f3n"
},
{
"children": [
{
"name": "Gastos de Administraci\u00f3n",
"report_type": "Profit and Loss"
}
],
"name": "Gastos de Administraci\u00f3n"
}
],
"name": "Gastos de Operaci\u00f3n"
},
{
"children": [
{
"children": [
{
"name": "Gastos de Ventas",
"report_type": "Profit and Loss"
}
],
"name": "Gastos de Ventas"
}
],
"name": "Gastos de Ventas"
}
],
"name": "Gastos"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Otros Ingresos",
"report_type": "Profit and Loss"
}
],
"name": "Otros Ingresos"
}
],
"name": "Otros Ingresos"
},
{
"children": [
{
"children": [
{
"name": "Descuentos Sobre Ventas",
"report_type": "Profit and Loss"
},
{
"name": "Ventas",
"report_type": "Profit and Loss"
}
],
"name": "Ventas Netas"
}
],
"name": "Ventas"
}
],
"name": "Ingresos"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Intereses",
"report_type": "Profit and Loss"
},
{
"name": "Otros Gastos Financieros",
"report_type": "Profit and Loss"
}
],
"name": "Otros Gastos y Productos Financieros"
}
],
"name": "Otros Gastos y Productos Financieros"
}
],
"name": "Otros Gastos y Productos Financieros"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Costos de Ventas",
"report_type": "Profit and Loss"
}
],
"name": "Costos de Ventas"
}
],
"name": "Costos"
}
],
"name": "Egresos"
}
],
"name": "Estado de Resultados"
}
],
"name": "Plan contable de Guatemala (sencillo)"
}
}

View File

@@ -11,148 +11,17 @@
{
"children": [
{
"name": "Gastos de Ventas",
"root_type": "Expense"
"name": "Impuestos",
"report_type": "Balance Sheet"
}
],
"name": "Gastos de Ventas"
}
],
"name": "Gastos de Ventas"
},
{
"children": [
{
"children": [
{
"name": "Gastos no Deducibles",
"root_type": "Expense"
}
],
"name": "Gastos no Deducibles"
}
],
"name": "Gastos no Deducibles"
},
{
"children": [
{
"children": [
{
"name": "Gastos de Administraci\u00f3n",
"root_type": "Expense"
}
],
"name": "Gastos de Administraci\u00f3n"
"name": "Impuestos"
},
{
"children": [
{
"name": "Otros Gastos de Operaci\u00f3n",
"root_type": "Expense"
}
],
"name": "Otros Gastos de Operaci\u00f3n"
}
],
"name": "Gastos de Operaci\u00f3n"
}
],
"name": "Gastos"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Costos de Ventas",
"root_type": "Expense"
}
],
"name": "Costos de Ventas"
}
],
"name": "Costos"
}
],
"name": "Egresos"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Intereses",
"root_type": "Expense"
},
{
"name": "Otros Gastos Financieros",
"root_type": "Expense"
}
],
"name": "Otros Gastos y Productos Financieros"
}
],
"name": "Otros Gastos y Productos Financieros"
}
],
"name": "Otros Gastos y Productos Financieros"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Descuentos Sobre Ventas",
"root_type": "Income"
},
{
"name": "Ventas",
"root_type": "Income"
}
],
"name": "Ventas Netas"
}
],
"name": "Ventas"
},
{
"children": [
{
"children": [
{
"name": "Otros Ingresos",
"root_type": "Income"
}
],
"name": "Otros Ingresos"
}
],
"name": "Otros Ingresos"
}
],
"name": "Ingresos"
}
],
"name": "Estado de Resultados"
},
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"name": "ISV por Pagar",
"root_type": "Liability"
"report_type": "Balance Sheet"
}
],
"name": "ISV por Pagar"
@@ -161,19 +30,10 @@
"children": [
{
"name": "Cuentas y Documentos por Pagar",
"root_type": "Liability"
"report_type": "Balance Sheet"
}
],
"name": "Cuentas y Documentos por Pagar"
},
{
"children": [
{
"name": "Impuestos",
"root_type": "Liability"
}
],
"name": "Impuestos"
}
],
"name": "Pasivo Corto Plazo"
@@ -184,7 +44,7 @@
"children": [
{
"name": "Anticipos",
"root_type": "Liability"
"report_type": "Balance Sheet"
}
],
"name": "Cr\u00e9ditos Diferidos"
@@ -198,7 +58,7 @@
"children": [
{
"name": "Provisi\u00f3n para Indemnizaciones",
"root_type": "Liability"
"report_type": "Balance Sheet"
}
],
"name": "Provisi\u00f3n para Indemnizaciones"
@@ -216,16 +76,16 @@
{
"children": [
{
"name": "Reservas",
"root_type": "Asset"
"name": "Capital Autorizado, Suscr\u00edto y Pagado",
"report_type": "Balance Sheet"
},
{
"name": "Perdidas y Ganancias",
"root_type": "Asset"
"report_type": "Balance Sheet"
},
{
"name": "Capital Autorizado, Suscr\u00edto y Pagado",
"root_type": "Asset"
"name": "Reservas",
"report_type": "Balance Sheet"
}
],
"name": "Patrimonio de los Accionistas"
@@ -246,12 +106,12 @@
{
"children": [
{
"name": "ISV por Cobrar",
"root_type": "Asset"
"name": "Retenciones de ISV recibidas",
"report_type": "Balance Sheet"
},
{
"name": "Retenciones de ISV recibidas",
"root_type": "Asset"
"name": "ISV por Cobrar",
"report_type": "Balance Sheet"
}
],
"name": "ISV por Cobrar"
@@ -260,19 +120,19 @@
"children": [
{
"name": "Prestamos al Personal",
"root_type": "Asset"
"report_type": "Balance Sheet"
},
{
"name": "Cuentas por Cobrar Empresas Afilidas",
"root_type": "Asset"
"report_type": "Balance Sheet"
},
{
"name": "Cuentas por Cobrar Generales",
"root_type": "Asset"
"report_type": "Balance Sheet"
},
{
"name": "Otras Cuentas por Cobrar",
"root_type": "Asset"
"report_type": "Balance Sheet"
}
],
"name": "Cuentas y Documentos por Cobrar"
@@ -281,7 +141,7 @@
"children": [
{
"name": "Caja Chica",
"root_type": "Asset"
"report_type": "Balance Sheet"
}
],
"name": "Caja y Bancos"
@@ -295,7 +155,7 @@
"children": [
{
"name": "Propiedad, Planta y Equipo",
"root_type": "Asset"
"report_type": "Balance Sheet"
}
],
"name": "Propiedad, Planta y Equipo"
@@ -304,7 +164,7 @@
"children": [
{
"name": "Depreciaciones Acumuladas",
"root_type": "Asset"
"report_type": "Balance Sheet"
}
],
"name": "Depreciaciones Acumuladas"
@@ -318,7 +178,7 @@
"children": [
{
"name": "Gastos de Organizaci\u00f3n",
"root_type": "Asset"
"report_type": "Balance Sheet"
}
],
"name": "Gastos de Organizaci\u00f3n"
@@ -327,7 +187,7 @@
"children": [
{
"name": "Gastos por Amortizar",
"root_type": "Asset"
"report_type": "Balance Sheet"
}
],
"name": "Gastos por Amortizar"
@@ -336,7 +196,7 @@
"children": [
{
"name": "Gastos Anticipados",
"root_type": "Asset"
"report_type": "Balance Sheet"
}
],
"name": "Gastos Anticipados"
@@ -345,7 +205,7 @@
"children": [
{
"name": "Otros Activos",
"root_type": "Asset"
"report_type": "Balance Sheet"
}
],
"name": "Otros Activos"
@@ -358,6 +218,146 @@
}
],
"name": "Balance General"
},
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"name": "Gastos no Deducibles",
"report_type": "Profit and Loss"
}
],
"name": "Gastos no Deducibles"
}
],
"name": "Gastos no Deducibles"
},
{
"children": [
{
"children": [
{
"name": "Otros Gastos de Operaci\u00f3n",
"report_type": "Profit and Loss"
}
],
"name": "Otros Gastos de Operaci\u00f3n"
},
{
"children": [
{
"name": "Gastos de Administraci\u00f3n",
"report_type": "Profit and Loss"
}
],
"name": "Gastos de Administraci\u00f3n"
}
],
"name": "Gastos de Operaci\u00f3n"
},
{
"children": [
{
"children": [
{
"name": "Gastos de Ventas",
"report_type": "Profit and Loss"
}
],
"name": "Gastos de Ventas"
}
],
"name": "Gastos de Ventas"
}
],
"name": "Gastos"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Otros Ingresos",
"report_type": "Profit and Loss"
}
],
"name": "Otros Ingresos"
}
],
"name": "Otros Ingresos"
},
{
"children": [
{
"children": [
{
"name": "Descuentos Sobre Ventas",
"report_type": "Profit and Loss"
},
{
"name": "Ventas",
"report_type": "Profit and Loss"
}
],
"name": "Ventas Netas"
}
],
"name": "Ventas"
}
],
"name": "Ingresos"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Intereses",
"report_type": "Profit and Loss"
},
{
"name": "Otros Gastos Financieros",
"report_type": "Profit and Loss"
}
],
"name": "Otros Gastos y Productos Financieros"
}
],
"name": "Otros Gastos y Productos Financieros"
}
],
"name": "Otros Gastos y Productos Financieros"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Costos de Ventas",
"report_type": "Profit and Loss"
}
],
"name": "Costos de Ventas"
}
],
"name": "Costos"
}
],
"name": "Egresos"
}
],
"name": "Estado de Resultados"
}
],
"name": "Plan contable de Honduras (sencillo)"

View File

@@ -0,0 +1,263 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
"""
Import chart of accounts from OpenERP sources
"""
from __future__ import unicode_literals
import os, json
import ast
from xml.etree import ElementTree as ET
from frappe.utils.datautils import read_csv_content
from frappe.utils import cstr
import frappe
path = "/Users/nabinhait/Documents/openerp/openerp/addons"
accounts = {}
charts = {}
all_account_types = []
def go():
global accounts, charts
default_account_types = get_default_account_types()
country_dirs = []
for basepath, folders, files in os.walk(path):
basename = os.path.basename(basepath)
if basename.startswith("l10n_"):
country_dirs.append(basename)
for country_dir in country_dirs:
accounts, charts = {}, {}
country_path = os.path.join(path, country_dir)
manifest = ast.literal_eval(open(os.path.join(country_path, "__openerp__.py")).read())
data_files = manifest.get("data", []) + manifest.get("init_xml", []) + \
manifest.get("update_xml", [])
files_path = [os.path.join(country_path, d) for d in data_files]
xml_roots = get_xml_roots(files_path)
csv_content = get_csv_contents(files_path)
prefix = country_dir if csv_content else None
account_types = get_account_types(xml_roots.get("account.account.type", []),
csv_content.get("account.account.type", []), prefix)
account_types.update(default_account_types)
if xml_roots:
make_maps_for_xml(xml_roots, account_types, country_dir)
if csv_content:
make_maps_for_csv(csv_content, account_types, country_dir)
make_account_trees()
make_charts()
def get_default_account_types():
default_types_root = []
for file in ["data_account_type.xml"]:
default_types_root.append(ET.parse(os.path.join(path, "account", "data",
"data_account_type.xml")).getroot())
return get_account_types(default_types_root, None, prefix="account")
def get_xml_roots(files_path):
xml_roots = frappe._dict()
for filepath in files_path:
fname = os.path.basename(filepath)
if fname.endswith(".xml"):
tree = ET.parse(filepath)
root = tree.getroot()
for node in root[0].findall("record"):
if node.get("model") in ["account.account.template",
"account.chart.template", "account.account.type"]:
xml_roots.setdefault(node.get("model"), []).append(root)
break
return xml_roots
def get_csv_contents(files_path):
csv_content = {}
for filepath in files_path:
fname = os.path.basename(filepath)
for file_type in ["account.account.template", "account.account.type",
"account.chart.template"]:
if fname.startswith(file_type) and fname.endswith(".csv"):
with open(filepath, "r") as csvfile:
try:
csv_content.setdefault(file_type, [])\
.append(read_csv_content(csvfile.read()))
except Exception, e:
continue
return csv_content
def get_account_types(root_list, csv_content, prefix=None):
types = {}
account_type_map = {
'cash': 'Cash',
'bank': 'Bank',
'tr_cash': 'Cash',
'tr_bank': 'Bank',
'receivable': 'Receivable',
'tr_receivable': 'Receivable',
'account rec': 'Receivable',
'payable': 'Payable',
'tr_payable': 'Payable',
'equity': 'Equity',
'stocks': 'Stock',
'stock': 'Stock',
'tax': 'Tax',
'tr_tax': 'Tax',
'tax-out': 'Tax',
'tax-in': 'Tax',
'charges_personnel': 'Chargeable',
'fixed asset': 'Fixed Asset',
'cogs': 'Cost of Goods Sold',
}
for root in root_list:
for node in root[0].findall("record"):
if node.get("model")=="account.account.type":
data = {}
for field in node.findall("field"):
if field.get("name")=="report_type" and field.text.lower() != "none":
data["report_type"] = get_report_type(field.text.title())
if field.get("name")=="code" and field.text.lower() != "none" \
and account_type_map.get(field.text):
data["account_type"] = account_type_map[field.text]
node_id = prefix + "." + node.get("id") if prefix else node.get("id")
types[node_id] = data
if csv_content and csv_content[0][0]=="id":
for row in csv_content[1:]:
row_dict = dict(zip(csv_content[0], row))
data = {}
if row_dict.get("report_type"):
data["report_type"] = get_report_type(row_dict.get("report_type"))
if row_dict.get("code") and account_type_map.get(row_dict["code"]):
data["account_type"] = account_type_map[row_dict["code"]]
if data and data.get("id"):
node_id = prefix + "." + data.get("id") if prefix else data.get("id")
types[node_id] = data
return types
def get_report_type(report_type):
report_type_map = {
"asset": "Balance Sheet",
"liability": "Balance Sheet",
"equity": "Balance Sheet",
"expense": "Profit and Loss",
"income": "Profit and Loss"
}
for d in report_type_map:
if d in report_type.lower():
return report_type_map[d]
def make_maps_for_xml(xml_roots, account_types, country_dir):
"""make maps for `charts` and `accounts`"""
for model, root_list in xml_roots.iteritems():
for root in root_list:
for node in root[0].findall("record"):
if node.get("model")=="account.account.template":
data = {}
for field in node.findall("field"):
if field.get("name")=="name":
data["name"] = field.text
if field.get("name")=="parent_id":
parent_id = field.get("ref") or field.get("eval")
data["parent_id"] = parent_id
if field.get("name")=="user_type":
value = field.get("ref")
if account_types.get(value, {}).get("report_type"):
data["report_type"] = account_types[value]["report_type"]
if account_types.get(value, {}).get("account_type"):
data["account_type"] = account_types[value]["account_type"]
if data["account_type"] not in all_account_types:
all_account_types.append(data["account_type"])
data["children"] = []
accounts[node.get("id")] = data
if node.get("model")=="account.chart.template":
data = {}
for field in node.findall("field"):
if field.get("name")=="name":
data["name"] = field.text
if field.get("name")=="account_root_id":
data["account_root_id"] = field.get("ref")
data["id"] = country_dir
charts.setdefault(node.get("id"), {}).update(data)
def make_account_trees():
"""build tree hierarchy"""
for id in accounts.keys():
account = accounts[id]
if account.get("parent_id"):
if accounts.get(account["parent_id"]):
accounts[account["parent_id"]]["children"].append(account)
del account["parent_id"]
# remove empty children
for id in accounts.keys():
if "children" in accounts[id] and not accounts[id].get("children"):
del accounts[id]["children"]
def make_maps_for_csv(csv_content, account_types, country_dir):
for content in csv_content.get("account.account.template", []):
for row in content[1:]:
data = dict(zip(content[0], row))
account = {
"name": data.get("name"),
"parent_id": data.get("parent_id:id") or data.get("parent_id/id"),
"children": []
}
user_type = data.get("user_type/id") or data.get("user_type:id")
if account_types.get(user_type, {}).get("report_type"):
account["report_type"] = account_types[user_type]["report_type"]
if account_types.get(user_type, {}).get("account_type"):
account["account_type"] = account_types[user_type]["account_type"]
if account["account_type"] not in all_account_types:
all_account_types.append(account["account_type"])
accounts[data.get("id")] = account
if not account.get("parent_id") and data.get("chart_template_id:id"):
chart_id = data.get("chart_template_id:id")
charts.setdefault(chart_id, {}).update({"account_root_id": data.get("id")})
for content in csv_content.get("account.chart.template", []):
for row in content[1:]:
if row:
data = dict(zip(content[0], row))
charts.setdefault(data.get("id"), {}).update({
"account_root_id": data.get("account_root_id:id") or \
data.get("account_root_id/id"),
"name": data.get("name"),
"id": country_dir
})
def make_charts():
"""write chart files in app/setup/doctype/company/charts"""
for chart_id in charts:
src = charts[chart_id]
if not src.get("name") or not src.get("account_root_id"):
continue
if not src["account_root_id"] in accounts:
continue
filename = src["id"][5:] + "_" + chart_id
print "building " + filename
chart = {}
chart["name"] = src["name"]
chart["root"] = accounts[src["account_root_id"]]
with open(os.path.join("erpnext", "accounts", "doctype", "chart_of_accounts",
"charts", filename + ".json"), "w") as chartfile:
chartfile.write(json.dumps(chart, indent=1, sort_keys=True))
if __name__=="__main__":
go()

View File

@@ -0,0 +1,219 @@
{
"name": "India - Chart of Accounts for Private Ltd/Partnership",
"root": {
"children": [
{
"children": [
{
"children": [
{
"name": "Mortgage Loan Payable",
"report_type": "Balance Sheet"
},
{
"name": "Interest Payable",
"report_type": "Balance Sheet"
},
{
"name": "Wages Payable",
"report_type": "Balance Sheet"
},
{
"name": "Owner's Equity Accounts",
"report_type": "Balance Sheet"
},
{
"name": "Notes Payable",
"report_type": "Balance Sheet"
},
{
"children": [
{
"name": "Exice Duty Payable",
"report_type": "Balance Sheet"
},
{
"name": "Sales Tax Payable",
"report_type": "Balance Sheet"
},
{
"name": "Service Tax Payable",
"report_type": "Balance Sheet"
},
{
"name": "VAT Payable",
"report_type": "Balance Sheet"
}
],
"name": "Tax payable",
"report_type": "Balance Sheet"
},
{
"account_type": "Payable",
"name": "Accounts Payable",
"report_type": "Balance Sheet"
},
{
"name": "Unearned Revenues",
"report_type": "Balance Sheet"
},
{
"name": "Reserve and Surplus Account",
"report_type": "Balance Sheet"
}
],
"name": "Liabilities",
"report_type": "Balance Sheet"
},
{
"children": [
{
"name": "Buildings",
"report_type": "Balance Sheet"
},
{
"name": "Supplies",
"report_type": "Balance Sheet"
},
{
"name": "Land",
"report_type": "Balance Sheet"
},
{
"account_type": "Receivable",
"name": "Accounts Receivable",
"report_type": "Balance Sheet"
},
{
"name": "Accumulated Depreciation - Equipment",
"report_type": "Balance Sheet"
},
{
"name": "Tax Receivable",
"report_type": "Balance Sheet"
},
{
"name": "Equipment",
"report_type": "Balance Sheet"
},
{
"account_type": "Cash",
"name": "Cash",
"report_type": "Balance Sheet"
},
{
"name": "Prepaid Insurance",
"report_type": "Balance Sheet"
},
{
"name": "Accumulated Depreciation - Buildings",
"report_type": "Balance Sheet"
},
{
"name": "Merchandise Inventory",
"report_type": "Balance Sheet"
}
],
"name": "Assets",
"report_type": "Balance Sheet"
}
],
"name": "Balance Sheet"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Salaries Expense",
"report_type": "Profit and Loss"
},
{
"name": "Wages Expense",
"report_type": "Profit and Loss"
},
{
"name": "Supplies Expense",
"report_type": "Profit and Loss"
},
{
"name": "Rent Expense",
"report_type": "Profit and Loss"
},
{
"name": "Utilities Expense",
"report_type": "Profit and Loss"
},
{
"name": "Telephone Expense",
"report_type": "Profit and Loss"
},
{
"name": "Advertising Expense",
"report_type": "Profit and Loss"
},
{
"name": "Depreciation Expense",
"report_type": "Profit and Loss"
}
],
"name": "Operating Expense Accounts",
"report_type": "Profit and Loss"
}
],
"name": "Expense",
"report_type": "Profit and Loss"
},
{
"children": [
{
"children": [
{
"name": "Interest Revenues",
"report_type": "Profit and Loss"
},
{
"name": "Gain on Sale of Assets",
"report_type": "Profit and Loss"
}
],
"name": "Non-Operating Revenue and Gains",
"report_type": "Profit and Loss"
},
{
"children": [
{
"name": "Product Sales",
"report_type": "Profit and Loss"
},
{
"name": "Service Revenues",
"report_type": "Profit and Loss"
}
],
"name": "Operating Revenue Accounts",
"report_type": "Profit and Loss"
}
],
"name": "Income",
"report_type": "Profit and Loss"
},
{
"children": [
{
"name": "Loss on Sale of Assets",
"report_type": "Profit and Loss"
}
],
"name": "Non-Operating Expenses and Losses",
"report_type": "Profit and Loss"
}
],
"name": "Profit And Loss"
}
],
"name": "Partnership/Private Firm Chart of Account"
}
}

View File

@@ -9,120 +9,120 @@
{
"children": [
{
"name": "Payroll Dept. Telephone",
"root_type": "Expense"
"name": "Sales - Division #1, Product Line 010",
"report_type": "Profit and Loss"
},
{
"name": "Payroll Dept. Supplies",
"root_type": "Expense"
"name": "Sales - Division #3, Product Line 110",
"report_type": "Profit and Loss"
},
{
"name": "Payroll Dept. Payroll Taxes",
"root_type": "Expense"
"name": "Sales - Division #1, Product Line 022",
"report_type": "Profit and Loss"
},
{
"name": "Payroll Dept. Salaries",
"root_type": "Expense"
"name": "Sales - Division #2, Product Line 015",
"report_type": "Profit and Loss"
}
],
"name": "Payroll Dept. Expenses",
"root_type": "Expense"
"name": "Operating Revenues",
"report_type": "Profit and Loss"
},
{
"children": [
{
"name": "COGS - Division #3, Product Line 110",
"root_type": "Expense"
},
{
"name": "COGS - Division #2, Product Line 015",
"root_type": "Expense"
},
{
"name": "COGS - Division #1, Product Line 022",
"root_type": "Expense"
},
{
"name": "COGS - Division #1, Product Line 010",
"root_type": "Expense"
"name": "Gain on Sale of Assets",
"report_type": "Profit and Loss"
}
],
"name": "Cost of Goods Sold",
"root_type": "Expense"
},
{
"children": [
{
"name": "Loss on Sale of Assets",
"root_type": "Expense"
}
],
"name": "Non-Operating Expenses and Losses",
"root_type": "Expense"
},
{
"children": [
{
"name": "Marketing Dept. Supplies",
"root_type": "Expense"
},
{
"name": "Marketing Dept. Salaries",
"root_type": "Expense"
},
{
"name": "Marketing Dept. Telephone",
"root_type": "Expense"
},
{
"name": "Marketing Dept. Payroll Taxes",
"root_type": "Expense"
}
],
"name": "Marketing Expenses",
"root_type": "Expense"
"name": "Non-Operating Revenue and Gains",
"report_type": "Profit and Loss"
}
],
"name": "Expense",
"root_type": "Expense"
"name": "Income",
"report_type": "Profit and Loss"
},
{
"children": [
{
"children": [
{
"name": "Gain on Sale of Assets",
"root_type": "Income"
"name": "Payroll Dept. Payroll Taxes",
"report_type": "Profit and Loss"
},
{
"name": "Payroll Dept. Supplies",
"report_type": "Profit and Loss"
},
{
"name": "Payroll Dept. Telephone",
"report_type": "Profit and Loss"
},
{
"name": "Payroll Dept. Salaries",
"report_type": "Profit and Loss"
}
],
"name": "Non-Operating Revenue and Gains",
"root_type": "Income"
"name": "Payroll Dept. Expenses",
"report_type": "Profit and Loss"
},
{
"children": [
{
"name": "Sales - Division #1, Product Line 010",
"root_type": "Income"
"name": "Marketing Dept. Supplies",
"report_type": "Profit and Loss"
},
{
"name": "Sales - Division #1, Product Line 022",
"root_type": "Income"
"name": "Marketing Dept. Telephone",
"report_type": "Profit and Loss"
},
{
"name": "Sales - Division #3, Product Line 110",
"root_type": "Income"
"name": "Marketing Dept. Payroll Taxes",
"report_type": "Profit and Loss"
},
{
"name": "Sales - Division #2, Product Line 015",
"root_type": "Income"
"name": "Marketing Dept. Salaries",
"report_type": "Profit and Loss"
}
],
"name": "Operating Revenues",
"root_type": "Income"
"name": "Marketing Expenses",
"report_type": "Profit and Loss"
},
{
"children": [
{
"name": "COGS - Division #1, Product Line 022",
"report_type": "Profit and Loss"
},
{
"name": "COGS - Division #2, Product Line 015",
"report_type": "Profit and Loss"
},
{
"name": "COGS - Division #3, Product Line 110",
"report_type": "Profit and Loss"
},
{
"name": "COGS - Division #1, Product Line 010",
"report_type": "Profit and Loss"
}
],
"name": "Cost of Goods Sold",
"report_type": "Profit and Loss"
},
{
"children": [
{
"name": "Loss on Sale of Assets",
"report_type": "Profit and Loss"
}
],
"name": "Non-Operating Expenses and Losses",
"report_type": "Profit and Loss"
}
],
"name": "Income",
"root_type": "Income"
"name": "Expense",
"report_type": "Profit and Loss"
}
],
"name": "Profit And Loss"
@@ -134,175 +134,185 @@
{
"children": [
{
"name": "Equipment",
"root_type": "Asset"
"account_type": "Cash",
"name": "Cash - Payroll Checking",
"report_type": "Balance Sheet"
},
{
"name": "Accumulated Depreciation - Equipment",
"root_type": "Asset"
"account_type": "Cash",
"name": "Petty Cash Fund",
"report_type": "Balance Sheet"
},
{
"name": "Accumulated Depreciation - Vehicles",
"root_type": "Asset"
"account_type": "Receivable",
"name": "Accounts Receivable",
"report_type": "Balance Sheet"
},
{
"name": "Buildings",
"root_type": "Asset"
"name": "Inventory",
"report_type": "Balance Sheet"
},
{
"name": "Accumulated Depreciation - Buildings",
"root_type": "Asset"
"name": "Tax Receivable",
"report_type": "Balance Sheet"
},
{
"name": "Vehicles",
"root_type": "Asset"
"name": "Supplies",
"report_type": "Balance Sheet"
},
{
"name": "Land",
"root_type": "Asset"
"account_type": "Cash",
"name": "Cash - Regular Checking",
"report_type": "Balance Sheet"
},
{
"name": "Prepaid Insurance",
"report_type": "Balance Sheet"
},
{
"name": "Allowance for Doubtful Accounts",
"report_type": "Balance Sheet"
}
],
"name": "Property, Plant, and Equipment",
"root_type": "Asset"
"name": "Current Assets",
"report_type": "Balance Sheet"
},
{
"children": [
{
"name": "Tax Receivable",
"root_type": "Asset"
"name": "Accumulated Depreciation - Vehicles",
"report_type": "Balance Sheet"
},
{
"name": "Inventory",
"root_type": "Asset"
"name": "Vehicles",
"report_type": "Balance Sheet"
},
{
"name": "Cash - Regular Checking"
"name": "Accumulated Depreciation - Buildings",
"report_type": "Balance Sheet"
},
{
"name": "Petty Cash Fund"
"name": "Equipment",
"report_type": "Balance Sheet"
},
{
"name": "Allowance for Doubtful Accounts",
"root_type": "Asset"
"name": "Land",
"report_type": "Balance Sheet"
},
{
"name": "Supplies",
"root_type": "Asset"
"name": "Buildings",
"report_type": "Balance Sheet"
},
{
"name": "Cash - Payroll Checking"
},
{
"name": "Accounts Receivable"
},
{
"name": "Prepaid Insurance",
"root_type": "Asset"
"name": "Accumulated Depreciation - Equipment",
"report_type": "Balance Sheet"
}
],
"name": "Current Assets",
"root_type": "Asset"
"name": "Property, Plant, and Equipment",
"report_type": "Balance Sheet"
}
],
"name": "Assets",
"root_type": "Asset"
"report_type": "Balance Sheet"
},
{
"children": [
{
"children": [
{
"name": "Discount on Bonds Payable",
"root_type": "Liability"
},
{
"name": "Mortgage Loan Payable",
"root_type": "Liability"
},
{
"name": "Bonds Payable",
"root_type": "Liability"
}
],
"name": "Long-term Liabilities",
"root_type": "Liability"
},
{
"children": [
{
"name": "Reserve and Surplus Account",
"root_type": "Liability"
},
{
"children": [
{
"name": "VAT Payable",
"root_type": "Liability"
"name": "Service Tax Payable",
"report_type": "Balance Sheet"
},
{
"name": "Exice Duty Payable",
"root_type": "Liability"
"report_type": "Balance Sheet"
},
{
"name": "Service Tax Payable",
"root_type": "Liability"
"name": "VAT Payable",
"report_type": "Balance Sheet"
},
{
"name": "Sales Tax Payable",
"root_type": "Liability"
"report_type": "Balance Sheet"
}
],
"name": "Tax payable",
"root_type": "Liability"
"report_type": "Balance Sheet"
},
{
"name": "Interest Payable",
"root_type": "Liability"
},
{
"name": "Accounts Payable"
},
{
"name": "Notes Payable - Credit Line #2",
"root_type": "Liability"
},
{
"name": "Notes Payable - Credit Line #1",
"root_type": "Liability"
},
{
"name": "Unearned Revenues",
"root_type": "Liability"
"report_type": "Balance Sheet"
},
{
"name": "Wages Payable",
"root_type": "Liability"
"report_type": "Balance Sheet"
},
{
"name": "Reserve and Surplus Account",
"report_type": "Balance Sheet"
},
{
"name": "Notes Payable - Credit Line #2",
"report_type": "Balance Sheet"
},
{
"name": "Unearned Revenues",
"report_type": "Balance Sheet"
},
{
"account_type": "Payable",
"name": "Accounts Payable",
"report_type": "Balance Sheet"
},
{
"name": "Notes Payable - Credit Line #1",
"report_type": "Balance Sheet"
}
],
"name": "Current Liabilities",
"root_type": "Liability"
"report_type": "Balance Sheet"
},
{
"children": [
{
"name": "Common Stock, No Par",
"root_type": "Liability"
"name": "Mortgage Loan Payable",
"report_type": "Balance Sheet"
},
{
"name": "Bonds Payable",
"report_type": "Balance Sheet"
},
{
"name": "Discount on Bonds Payable",
"report_type": "Balance Sheet"
}
],
"name": "Long-term Liabilities",
"report_type": "Balance Sheet"
},
{
"children": [
{
"name": "Treasury Stock",
"report_type": "Balance Sheet"
},
{
"name": "Retained Earnings",
"root_type": "Liability"
"report_type": "Balance Sheet"
},
{
"name": "Treasury Stock",
"root_type": "Liability"
"name": "Common Stock, No Par",
"report_type": "Balance Sheet"
}
],
"name": "Stockholders' Equity",
"root_type": "Liability"
"report_type": "Balance Sheet"
}
],
"name": "Liabilities",
"root_type": "Liability"
"report_type": "Balance Sheet"
}
],
"name": "Balance Sheet"

View File

@@ -0,0 +1,996 @@
{
"name": "Italy - Generic Chart of Accounts",
"root": {
"children": [
{
"children": [
{
"children": [
{
"name": "canoni di leasing",
"report_type": "Profit and Loss"
},
{
"name": "fitti passivi",
"report_type": "Profit and Loss"
}
],
"name": "COSTI PER GODIMENTO BENI DI TERZI"
},
{
"children": [
{
"name": "merci c/rimanenze finali",
"report_type": "Profit and Loss"
},
{
"name": "materie di consumo c/rimanenze finali",
"report_type": "Profit and Loss"
},
{
"name": "materie di consumo c/esistenze iniziali",
"report_type": "Profit and Loss"
},
{
"name": "merci c/esistenze iniziali",
"report_type": "Profit and Loss"
},
{
"name": "premi su acquisti",
"report_type": "Profit and Loss"
},
{
"name": "resi su acquisti",
"report_type": "Profit and Loss"
},
{
"name": "ribassi e abbuoni attivi",
"report_type": "Profit and Loss"
},
{
"name": "merci c/acquisti",
"report_type": "Profit and Loss"
},
{
"name": "materie di consumo c/acquisti",
"report_type": "Profit and Loss"
},
{
"name": "merci c/apporti",
"report_type": "Profit and Loss"
}
],
"name": "COSTO DEL VENDUTO"
},
{
"children": [
{
"children": [
{
"name": "accantonamento per spese future",
"report_type": "Profit and Loss"
},
{
"name": "accantonamento per manutenzioni programmate",
"report_type": "Profit and Loss"
}
],
"name": "ALTRI ACCANTONAMENTI"
},
{
"children": [
{
"name": "accantonamento per responsabilit\u00e0 civile",
"report_type": "Profit and Loss"
}
],
"name": "ACCANTONAMENTI PER RISCHI"
}
],
"name": "ACCANTONAMENTI"
},
{
"children": [
{
"name": "oneri fiscali diversi",
"report_type": "Profit and Loss"
},
{
"name": "oneri vari",
"report_type": "Profit and Loss"
},
{
"name": "arrotondamenti passivi",
"report_type": "Profit and Loss"
},
{
"name": "sopravvenienze passive ordinarie diverse",
"report_type": "Profit and Loss"
},
{
"name": "perdite su crediti",
"report_type": "Profit and Loss"
},
{
"name": "minusvalenze ordinarie diverse",
"report_type": "Profit and Loss"
},
{
"name": "insussistenze passive ordinarie diverse",
"report_type": "Profit and Loss"
}
],
"name": "ONERI DIVERSI"
},
{
"children": [
{
"name": "ammortamento fabbricati",
"report_type": "Profit and Loss"
},
{
"name": "ammortamento imballaggi durevoli",
"report_type": "Profit and Loss"
},
{
"name": "ammortamento arredamento",
"report_type": "Profit and Loss"
},
{
"name": "ammortamento automezzi",
"report_type": "Profit and Loss"
},
{
"name": "ammortamento attrezzature commerciali",
"report_type": "Profit and Loss"
},
{
"name": "ammortamento macchine d'ufficio",
"report_type": "Profit and Loss"
},
{
"name": "ammortamento impianti e macchinari",
"report_type": "Profit and Loss"
}
],
"name": "AMMORTAMENTI IMMOBILIZZAZIONI MATERIALI"
},
{
"children": [
{
"name": "altri costi per il personale",
"report_type": "Profit and Loss"
},
{
"name": "oneri sociali",
"report_type": "Profit and Loss"
},
{
"name": "salari e stipendi",
"report_type": "Profit and Loss"
},
{
"name": "TFRL",
"report_type": "Profit and Loss"
}
],
"name": "COSTI PER IL PERSONALE"
},
{
"children": [
{
"name": "ammortamento software",
"report_type": "Profit and Loss"
},
{
"name": "ammortamento costi di impianto",
"report_type": "Profit and Loss"
},
{
"name": "ammortamento avviamento",
"report_type": "Profit and Loss"
}
],
"name": "AMMORTAMENTI IMMOBILIZZAZIONI IMMATERIALI"
},
{
"children": [
{
"name": "costi di vigilanza",
"report_type": "Profit and Loss"
},
{
"name": "costi per i locali",
"report_type": "Profit and Loss"
},
{
"name": "costi per energia",
"report_type": "Profit and Loss"
},
{
"name": "costi di pubblicit\u00e0",
"report_type": "Profit and Loss"
},
{
"name": "costi di trasporto",
"report_type": "Profit and Loss"
},
{
"name": "costi postali",
"report_type": "Profit and Loss"
},
{
"name": "spese di incasso",
"report_type": "Profit and Loss"
},
{
"name": "provvigioni passive",
"report_type": "Profit and Loss"
},
{
"name": "costi di manutenzione e riparazione",
"report_type": "Profit and Loss"
},
{
"name": "costi di assicurazione",
"report_type": "Profit and Loss"
},
{
"name": "costi telefonici",
"report_type": "Profit and Loss"
},
{
"name": "costi di consulenze",
"report_type": "Profit and Loss"
},
{
"name": "costi di esercizio automezzi",
"report_type": "Profit and Loss"
}
],
"name": "COSTI PER SERVIZI"
},
{
"children": [
{
"name": "svalutazioni immobilizzazioni materiali",
"report_type": "Profit and Loss"
},
{
"name": "svalutazioni immobilizzazioni immateriali",
"report_type": "Profit and Loss"
},
{
"name": "svalutazione crediti",
"report_type": "Profit and Loss"
}
],
"name": "SVALUTAZIONI"
}
],
"name": "COSTI DELLA PRODUZIONE"
},
{
"children": [
{
"name": "imposte dell'esercizio",
"report_type": "Profit and Loss"
}
],
"name": "IMPOSTE DELL'ESERCIZIO"
},
{
"children": [
{
"children": [
{
"name": "banche c/sovvenzioni",
"report_type": "Balance Sheet"
},
{
"name": "mutui passivi",
"report_type": "Balance Sheet"
},
{
"name": "debiti v/altri finanziatori",
"report_type": "Balance Sheet"
},
{
"name": "banche c/c passivi",
"report_type": "Balance Sheet"
},
{
"name": "banche c/RIBA all'incasso",
"report_type": "Balance Sheet"
},
{
"name": "banche c/anticipi su fatture",
"report_type": "Balance Sheet"
},
{
"name": "banche c/cambiali all'incasso",
"report_type": "Balance Sheet"
}
],
"name": "DEBITI FINANZIARI"
},
{
"children": [
{
"name": "debiti per imposte",
"report_type": "Balance Sheet"
},
{
"account_type": "Payable",
"name": "erario c/IVA",
"report_type": "Balance Sheet"
},
{
"name": "IVA n/debito",
"report_type": "Balance Sheet"
},
{
"account_type": "Payable",
"name": "debiti per ritenute da versare",
"report_type": "Balance Sheet"
},
{
"name": "debiti per cauzioni",
"report_type": "Balance Sheet"
},
{
"name": "personale c/retribuzioni",
"report_type": "Balance Sheet"
},
{
"name": "clienti c/cessione",
"report_type": "Balance Sheet"
},
{
"name": "debiti v/istituti previdenziali",
"report_type": "Balance Sheet"
},
{
"name": "personale c/liquidazioni",
"report_type": "Balance Sheet"
},
{
"account_type": "Payable",
"name": "creditori diversi",
"report_type": "Balance Sheet"
}
],
"name": "DEBITI DIVERSI"
},
{
"children": [
{
"name": "ratei passivi",
"report_type": "Balance Sheet"
},
{
"name": "risconti passivi",
"report_type": "Balance Sheet"
}
],
"name": "RATEI E RISCONTI PASSIVI"
},
{
"children": [
{
"name": "perdita d'esercizio",
"report_type": "Balance Sheet"
},
{
"name": "utile d'esercizio",
"report_type": "Balance Sheet"
},
{
"name": "patrimonio netto",
"report_type": "Balance Sheet"
},
{
"name": "titolare c/ritenute subite",
"report_type": "Balance Sheet"
},
{
"name": "prelevamenti extra gestione",
"report_type": "Balance Sheet"
}
],
"name": "PATRIMONIO NETTO"
},
{
"children": [
{
"name": "debiti per TFRL",
"report_type": "Balance Sheet"
}
],
"name": "TRATTAMENTO FINE RAPPORTO DI LAVORO"
},
{
"children": [
{
"name": "banca ... c/c",
"report_type": "Balance Sheet"
},
{
"name": "banca ... c/c",
"report_type": "Balance Sheet"
},
{
"name": "banca ... c/c",
"report_type": "Balance Sheet"
},
{
"name": "bilancio di chiusura",
"report_type": "Balance Sheet"
},
{
"name": "bilancio di apertura",
"report_type": "Balance Sheet"
},
{
"name": "istituti previdenziali",
"report_type": "Balance Sheet"
},
{
"name": "IVA c/liquidazioni",
"report_type": "Balance Sheet"
}
],
"name": "CONTI TRANSITORI E DIVERSI"
},
{
"children": [
{
"name": "merci da ricevere",
"report_type": "Balance Sheet"
},
{
"name": "fornitori c/impegni",
"report_type": "Balance Sheet"
},
{
"name": "impegni per beni in leasing",
"report_type": "Balance Sheet"
},
{
"name": "creditori c/leasing",
"report_type": "Balance Sheet"
},
{
"name": "clienti c/impegni",
"report_type": "Balance Sheet"
},
{
"name": "merci da consegnare",
"report_type": "Balance Sheet"
},
{
"name": "creditori per fideiussioni",
"report_type": "Balance Sheet"
},
{
"name": "depositanti beni",
"report_type": "Balance Sheet"
},
{
"name": "beni di terzi",
"report_type": "Balance Sheet"
},
{
"name": "creditori per avalli",
"report_type": "Balance Sheet"
},
{
"name": "rischi per avalli",
"report_type": "Balance Sheet"
},
{
"name": "rischi per effetti scontati",
"report_type": "Balance Sheet"
},
{
"name": "banche c/effetti scontati",
"report_type": "Balance Sheet"
},
{
"name": "rischi per fideiussioni",
"report_type": "Balance Sheet"
}
],
"name": "CONTI DEI SISTEMI SUPPLEMENTARI"
},
{
"children": [
{
"name": "fatture da ricevere",
"report_type": "Balance Sheet"
},
{
"name": "debiti da liquidare",
"report_type": "Balance Sheet"
},
{
"name": "cambiali passive",
"report_type": "Balance Sheet"
},
{
"account_type": "Payable",
"name": "debiti v/fornitori",
"report_type": "Balance Sheet"
},
{
"account_type": "Payable",
"name": "clienti c/acconti",
"report_type": "Balance Sheet"
}
],
"name": "DEBITI COMMERCIALI"
},
{
"children": [
{
"name": "fondo per imposte",
"report_type": "Balance Sheet"
},
{
"name": "fondo responsabilit\u00e0 civile",
"report_type": "Balance Sheet"
},
{
"name": "fondo spese future",
"report_type": "Balance Sheet"
},
{
"name": "fondo manutenzioni programmate",
"report_type": "Balance Sheet"
}
],
"name": "FONDI PER RISCHI E ONERI"
}
],
"name": "PASSIVO"
},
{
"children": [
{
"children": [
{
"name": "arrotondamenti attivi",
"report_type": "Profit and Loss"
},
{
"name": "proventi vari",
"report_type": "Profit and Loss"
},
{
"name": "insussistenze attive ordinarie diverse",
"report_type": "Profit and Loss"
},
{
"name": "plusvalenze ordinarie diverse",
"report_type": "Profit and Loss"
},
{
"name": "fitti attivi",
"report_type": "Profit and Loss"
},
{
"name": "sopravvenienze attive ordinarie diverse",
"report_type": "Profit and Loss"
}
],
"name": "RICAVI E PROVENTI DIVERSI"
},
{
"children": [
{
"name": "ribassi e abbuoni passivi",
"report_type": "Profit and Loss"
},
{
"name": "merci c/vendite",
"report_type": "Profit and Loss"
},
{
"name": "rimborsi spese di vendita",
"report_type": "Profit and Loss"
},
{
"name": "premi su vendite",
"report_type": "Profit and Loss"
},
{
"name": "resi su vendite",
"report_type": "Profit and Loss"
}
],
"name": "VENDITE E PRESTAZIONI"
}
],
"name": "VALORE DELLA PRODUZIONE"
},
{
"children": [
{
"children": [
{
"name": "sopravvenienze passive straordinarie",
"report_type": "Profit and Loss"
},
{
"name": "imposte esercizi precedenti",
"report_type": "Profit and Loss"
},
{
"name": "insussistenze passive straordinarie",
"report_type": "Profit and Loss"
},
{
"name": "minusvalenze straordinarie",
"report_type": "Profit and Loss"
}
],
"name": "ONERI STRAORDINARI"
},
{
"children": [
{
"name": "insussistenze attive straordinarie",
"report_type": "Profit and Loss"
},
{
"name": "sopravvenienze attive straordinarie",
"report_type": "Profit and Loss"
},
{
"name": "plusvalenze straordinarie",
"report_type": "Profit and Loss"
}
],
"name": "PROVENTI STRAORDINARI"
}
],
"name": "PROVENTI E ONERI STRAORDINARI"
},
{
"children": [
{
"children": [
{
"name": "mutui attivi",
"report_type": "Balance Sheet"
}
],
"name": "IMMOBILIZZAZIONI FINANZIARIE"
},
{
"children": [
{
"name": "fornitori immobilizzazioni c/acconti",
"report_type": "Balance Sheet"
},
{
"name": "fondo ammortamento impianti e macchinari",
"report_type": "Balance Sheet"
},
{
"name": "fondo ammortamento fabbricati",
"report_type": "Balance Sheet"
},
{
"name": "fondo ammortamento arredamento",
"report_type": "Balance Sheet"
},
{
"name": "fondo ammortamento automezzi",
"report_type": "Balance Sheet"
},
{
"name": "fondo ammortamento attrezzature commerciali",
"report_type": "Balance Sheet"
},
{
"name": "fondo ammortamento macchine d'ufficio",
"report_type": "Balance Sheet"
},
{
"name": "fondo ammortamento imballaggi durevoli",
"report_type": "Balance Sheet"
},
{
"name": "imballaggi durevoli",
"report_type": "Balance Sheet"
},
{
"name": "macchine d'ufficio",
"report_type": "Balance Sheet"
},
{
"name": "attrezzature commerciali",
"report_type": "Balance Sheet"
},
{
"name": "automezzi",
"report_type": "Balance Sheet"
},
{
"name": "arredamento",
"report_type": "Balance Sheet"
},
{
"name": "fabbricati",
"report_type": "Balance Sheet"
},
{
"name": "impianti e macchinari",
"report_type": "Balance Sheet"
}
],
"name": "IMMOBILIZZAZIONI MATERIALI"
},
{
"children": [
{
"name": "fondo ammortamento costi di impianto",
"report_type": "Balance Sheet"
},
{
"name": "avviamento",
"report_type": "Balance Sheet"
},
{
"name": "software",
"report_type": "Balance Sheet"
},
{
"name": "costi di impianto",
"report_type": "Balance Sheet"
},
{
"name": "fondo ammortamento software",
"report_type": "Balance Sheet"
},
{
"name": "fondo ammortamento avviamento",
"report_type": "Balance Sheet"
}
],
"name": "IMMOBILIZZAZIONI IMMATERIALI"
},
{
"children": [
{
"name": "fondo svalutazione crediti",
"report_type": "Balance Sheet"
},
{
"name": "fondo rischi su crediti",
"report_type": "Balance Sheet"
},
{
"name": "crediti da liquidare",
"report_type": "Balance Sheet"
},
{
"name": "crediti commerciali diversi",
"report_type": "Balance Sheet"
},
{
"account_type": "Receivable",
"name": "clienti c/spese anticipate",
"report_type": "Balance Sheet"
},
{
"account_type": "Receivable",
"name": "crediti v/clienti",
"report_type": "Balance Sheet"
},
{
"name": "cambiali allo sconto",
"report_type": "Balance Sheet"
},
{
"name": "cambiali all'incasso",
"report_type": "Balance Sheet"
},
{
"name": "cambiali attive",
"report_type": "Balance Sheet"
},
{
"name": "fatture da emettere",
"report_type": "Balance Sheet"
},
{
"name": "cambiali insolute",
"report_type": "Balance Sheet"
},
{
"name": "crediti insoluti",
"report_type": "Balance Sheet"
}
],
"name": "CREDITI COMMERCIALI"
},
{
"children": [
{
"name": "fornitori c/acconti",
"report_type": "Balance Sheet"
},
{
"name": "materie di consumo",
"report_type": "Balance Sheet"
},
{
"name": "merci",
"report_type": "Balance Sheet"
}
],
"name": "RIMANENZE"
},
{
"children": [
{
"name": "crediti v/istituti previdenziali",
"report_type": "Balance Sheet"
},
{
"account_type": "Receivable",
"name": "debitori diversi",
"report_type": "Balance Sheet"
},
{
"name": "personale c/acconti",
"report_type": "Balance Sheet"
},
{
"name": "crediti per cauzioni",
"report_type": "Balance Sheet"
},
{
"name": "crediti per ritenute subite",
"report_type": "Balance Sheet"
},
{
"name": "crediti per imposte",
"report_type": "Balance Sheet"
},
{
"name": "IVA n/credito",
"report_type": "Balance Sheet"
},
{
"name": "IVA c/acconto",
"report_type": "Balance Sheet"
},
{
"name": "crediti per IVA",
"report_type": "Balance Sheet"
},
{
"name": "imposte c/acconto",
"report_type": "Balance Sheet"
}
],
"name": "CREDITI DIVERSI"
},
{
"children": [
{
"name": "risconti attivi",
"report_type": "Balance Sheet"
},
{
"name": "ratei attivi",
"report_type": "Balance Sheet"
}
],
"name": "RATEI E RISCONTI ATTIVI"
},
{
"children": [
{
"account_type": "Cash",
"name": "assegni",
"report_type": "Balance Sheet"
},
{
"account_type": "Cash",
"name": "denaro in cassa",
"report_type": "Balance Sheet"
},
{
"account_type": "Cash",
"name": "valori bollati",
"report_type": "Balance Sheet"
},
{
"account_type": "Bank",
"name": "c/c postali",
"report_type": "Balance Sheet"
},
{
"account_type": "Bank",
"name": "banche c/c",
"report_type": "Balance Sheet"
}
],
"name": "DISPONIBILIT\u00c0 LIQUIDE"
}
],
"name": "ATTIVO"
},
{
"children": [
{
"children": [
{
"name": "proventi finanziari diversi",
"report_type": "Profit and Loss"
},
{
"name": "interessi attivi v/clienti",
"report_type": "Profit and Loss"
},
{
"name": "interessi attivi bancari",
"report_type": "Profit and Loss"
},
{
"name": "interessi attivi postali",
"report_type": "Profit and Loss"
}
],
"name": "PROVENTI FINANZIARI"
},
{
"children": [
{
"name": "oneri finanziari diversi",
"report_type": "Profit and Loss"
},
{
"name": "interessi passivi bancari",
"report_type": "Profit and Loss"
},
{
"name": "interessi passivi su mutui",
"report_type": "Profit and Loss"
},
{
"name": "interessi passivi v/fornitori",
"report_type": "Profit and Loss"
},
{
"name": "sconti passivi bancari",
"report_type": "Profit and Loss"
}
],
"name": "ONERI FINANZIARI"
}
],
"name": "PROVENTI E ONERI FINANZIARI"
},
{
"children": [
{
"name": "stato patrimoniale",
"report_type": "Profit and Loss"
},
{
"name": "conto di risultato economico",
"report_type": "Profit and Loss"
}
],
"name": "CONTI DI RISULTATO"
}
],
"name": "Azienda",
"parent_id": null
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,667 @@
{
"name": "Panam\u00e1 - Plan de Cuentas",
"root": {
"children": [
{
"children": [
{
"children": [
{
"name": "Acreedor por Garant\u00edas Otorgadas"
},
{
"name": "Acreedor por Documentos Descontados"
},
{
"name": "Comitente por Mercaderias Recibidas en Consignaci\u00f3n"
}
],
"name": "CUENTAS DE ORDEN ACREEDORAS"
},
{
"children": [
{
"name": "Documentos Endosados"
},
{
"name": "Documentos Descontados"
},
{
"name": "Garantias Otorgadas"
},
{
"name": "Dep\u00f3sito de Valores Recibos en Garant\u00eda"
},
{
"name": "Mercaderias Recibidas en Consignaci\u00f3n"
}
],
"name": "CUENTAS DE ORDEN DEUDORAS"
}
],
"name": "Cuentas de Orden"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Recupero de Rezagos",
"report_type": "Profit and Loss"
},
{
"name": "Ganancia Venta de Activo Fijo",
"report_type": "Profit and Loss"
},
{
"name": "Recupero de Deudores Incobrables",
"report_type": "Profit and Loss"
},
{
"name": "Ganancia Venta Inversiones Permanentes",
"report_type": "Profit and Loss"
},
{
"name": "Donaciones obtenidas, ganandas, percibidas",
"report_type": "Profit and Loss"
}
],
"name": "Ingresos No Operativos"
},
{
"children": [
{
"name": "Comisiones gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"name": "Descuentos gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"name": "Interese sobre Inversiones",
"report_type": "Profit and Loss"
},
{
"name": "Honorarios gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"children": [
{
"name": "Ventas - Categoria de productos 01",
"report_type": "Profit and Loss"
}
],
"name": "Ventas"
},
{
"name": "Intereses gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"name": "Alquileres gananados, obtenidos, percibidos",
"report_type": "Profit and Loss"
},
{
"name": "Ganancia Venta de Acciones",
"report_type": "Profit and Loss"
}
],
"name": "Ingresos Operativos"
}
],
"name": "INGRESOS"
},
{
"children": [
{
"children": [
{
"name": "Costo de Venta - Categoria de productos 01",
"report_type": "Profit and Loss"
}
],
"name": "Costo de Venta"
},
{
"children": [
{
"name": "Compras - Categoria de productos 01"
}
],
"name": "Compras"
},
{
"name": "Costos de Producci\u00f3n",
"report_type": "Profit and Loss"
},
{
"name": "Gastos de Administraci\u00f3n",
"report_type": "Profit and Loss"
},
{
"name": "Gastos de Comercializaci\u00f3n",
"report_type": "Profit and Loss"
}
],
"name": "COSTOS"
},
{
"children": [
{
"children": [
{
"name": "Gastos de Publicidad y Propaganda",
"report_type": "Profit and Loss"
},
{
"name": "Gastos en Servicios P\u00fablicos"
},
{
"name": "Gastos en Amortizaci\u00f3n",
"report_type": "Profit and Loss"
},
{
"name": "Gastos en Cargas Sociales",
"report_type": "Profit and Loss"
},
{
"name": "Gastos en Salarios",
"report_type": "Profit and Loss"
},
{
"name": "Gastos Bancarios"
},
{
"name": "Gastos en Impuestos"
},
{
"name": "Gastos en Depreciaci\u00f3n de Activo Fijo",
"report_type": "Profit and Loss"
}
],
"name": "Gastos Operativos"
},
{
"children": [
{
"name": "Gastos en Siniestros",
"report_type": "Profit and Loss"
},
{
"name": "Donaciones Cedidas, Otorgadas",
"report_type": "Profit and Loss"
},
{
"name": "P\u00e9rdida Venta Activo Fijo",
"report_type": "Profit and Loss"
}
],
"name": "Gastos No Operativos"
}
],
"name": "GASTOS"
}
],
"name": "Estado de Resultado"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Ajustes al Patrimonio / Revaluo T\u00e9cnico de Activo Fijo",
"report_type": "Balance Sheet"
}
],
"name": "Ajustes al Patrimonio"
},
{
"children": [
{
"name": "Aportes No Capitalizados / Aportes Irrevocables Futura Suscripci\u00f3n de Acciones",
"report_type": "Balance Sheet"
},
{
"name": "Aportes No Capitalizados / Primas de Emsi\u00f3n",
"report_type": "Balance Sheet"
}
],
"name": "Aportes No Capitalizados"
},
{
"children": [
{
"name": "Capital / Dividendos a Distribuir en Acciones",
"report_type": "Balance Sheet"
},
{
"name": "Capital / Acciones en Circulaci\u00f3n",
"report_type": "Balance Sheet"
},
{
"name": "Capital / Capital Propio",
"report_type": "Balance Sheet"
},
{
"name": "Capital / (-) Descuento de Emisi\u00f3n de Acciones",
"report_type": "Balance Sheet"
}
],
"name": "Capital"
},
{
"children": [
{
"name": "Resultados Acumulados",
"report_type": "Balance Sheet"
},
{
"name": "Resultado del Ejercicio",
"report_type": "Balance Sheet"
},
{
"name": "Utilidades y P\u00e9rdidas del Ejercicio",
"report_type": "Balance Sheet"
},
{
"name": "Resultados Acumulados del Ejercicio Anterior",
"report_type": "Balance Sheet"
}
],
"name": "Resultados No Asignados"
},
{
"children": [
{
"name": "Reserva para Renovaci\u00f3n de Activo Fijo",
"report_type": "Balance Sheet"
},
{
"name": "Reserva Estatutaria",
"report_type": "Balance Sheet"
},
{
"name": "Reserva Facultativa",
"report_type": "Balance Sheet"
},
{
"name": "Reserva Legal",
"report_type": "Balance Sheet"
}
],
"name": "Futuras Eventualidades"
}
],
"name": "PATRIMONIO"
},
{
"children": [
{
"children": [
{
"name": "Salarios por Pagar / Retenciones a Depositar",
"report_type": "Balance Sheet"
},
{
"name": "Salarios por Pagar / Sueldos a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Salarios por Pagar / Provisi\u00f3n para Sueldo Anual Complementario",
"report_type": "Balance Sheet"
},
{
"name": "Salarios por Pagar / Cargas Sociales a Pagar",
"report_type": "Balance Sheet"
}
],
"name": "Salarios por Pagar"
},
{
"children": [
{
"name": "Otras Cuentas por Pagar / Acreedores Varios",
"report_type": "Balance Sheet"
},
{
"name": "Otras Cuentas por Pagar / Honorarios Directores y S\u00edndicos a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Otras Cuentas por Pagar / Dividendos a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Otras Cuentas por Pagar / Cobros por Adelantado",
"report_type": "Balance Sheet"
}
],
"name": "Otras Cuentas por Pagar"
},
{
"children": [
{
"name": "Provisiones / Previsi\u00f3n para Garant\u00edas por Service",
"report_type": "Balance Sheet"
},
{
"name": "Provisiones / Previsi\u00f3n para juicios Pendientes",
"report_type": "Balance Sheet"
},
{
"name": "Provisiones / Previsi\u00f3n Indemnizaci\u00f3n por Despidos",
"report_type": "Balance Sheet"
}
],
"name": "Provisiones"
},
{
"children": [
{
"account_type": "Payable",
"name": "Cuentas por Pagar / Anticipos de Clientes",
"report_type": "Balance Sheet"
},
{
"account_type": "Payable",
"name": "Cuentas por Pagar / (-) Intereses a Devengar por Compras al Cr\u00e9dito",
"report_type": "Balance Sheet"
},
{
"account_type": "Payable",
"name": "Cuentas por Pagar / Proveedores",
"report_type": "Balance Sheet"
}
],
"name": "Cuentas por Pagar"
},
{
"children": [
{
"name": "Pasivo Circulante / Debentures Emitidos",
"report_type": "Balance Sheet"
},
{
"name": "Pasivo Circulante / Intereses a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Pasivo Circulante / Obligaciones a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Pasivo Circulante / Prestamos",
"report_type": "Balance Sheet"
},
{
"name": "Pasivo Circulante / Adelantos en Cuenta Corriente",
"report_type": "Balance Sheet"
}
],
"name": "Pasivo Circulante"
},
{
"children": [
{
"name": "Impuestos por Pagar / ITBMS a Pagar",
"report_type": "Balance Sheet"
},
{
"name": "Impuestos por Pagar / Impuesto sobre la Renta a Pagar",
"report_type": "Balance Sheet"
}
],
"name": "Impuestos por Pagar"
}
],
"name": "PASIVOS"
},
{
"children": [
{
"children": [
{
"account_type": "Bank",
"name": "Caja y Bancos - Valores a Depositar ",
"report_type": "Balance Sheet"
},
{
"children": [
{
"account_type": "Bank",
"name": "Caja y Bancos.../ BCO. CTA CTE PAB",
"report_type": "Balance Sheet"
}
],
"name": "Caja y Bancos - Bancos"
},
{
"account_type": "Bank",
"name": "Caja y Bancos - Recaudaciones a Depositar ",
"report_type": "Balance Sheet"
},
{
"children": [
{
"account_type": "Cash",
"name": "Caja y Bancos - Caja / efectivo PAB",
"report_type": "Balance Sheet"
}
],
"name": "Caja y Bancos - Caja"
},
{
"children": [
{
"account_type": "Cash",
"name": "Caja y Bancos - Fondos fijos / caja menuda 01 PAB",
"report_type": "Balance Sheet"
}
],
"name": "Caja y Bancos - Fondos fijos"
},
{
"children": [
{
"account_type": "Cash",
"name": "Caja y Bancos - Caja / efectivo USD",
"report_type": "Balance Sheet"
}
],
"name": "Caja y Bancos - Moneda Extranjera"
}
],
"name": "Caja y Bancos"
},
{
"children": [
{
"name": "Otras Cuentas por Cobrar / Anticipo de Impuestos",
"report_type": "Balance Sheet"
},
{
"name": "Otras Cuentas por Cobrar / Anticipos a Proveedores",
"report_type": "Balance Sheet"
},
{
"name": "Otras Cuentas por Cobrar / Pr\u00e9stamos otorgados",
"report_type": "Balance Sheet"
},
{
"name": "Otras Cuentas por Cobrar / Accionistas",
"report_type": "Balance Sheet"
},
{
"name": "Otras Cuentas por Cobrar / Intereses Pagados por Adelantado",
"report_type": "Balance Sheet"
},
{
"name": "Otras Cuentas por Cobrar / Alquileres Pagados por Adelantado",
"report_type": "Balance Sheet"
},
{
"name": "Otras Cuentas por Cobrar / Anticipo al Personal",
"report_type": "Balance Sheet"
},
{
"name": "Otras Cuentas por Cobrar / (-) Intereses (+) a Devengar",
"report_type": "Balance Sheet"
},
{
"name": "Otras Cuentas por Cobrar / (-) Previsi\u00f3n para Descuentos",
"report_type": "Balance Sheet"
}
],
"name": "Otras Cuentas por Cobrar"
},
{
"children": [
{
"account_type": "Receivable",
"name": "Cuentas por Cobrar / Deudores por Ventas",
"report_type": "Balance Sheet"
},
{
"account_type": "Receivable",
"name": "Cuentas por Cobrar / Deudores Morosos",
"report_type": "Balance Sheet"
},
{
"account_type": "Receivable",
"name": "Cuentas por Cobrar / Deudores en Gesti\u00f3n Judicial",
"report_type": "Balance Sheet"
},
{
"account_type": "Receivable",
"name": "Cuentas por Cobrar / Deudores Varios",
"report_type": "Balance Sheet"
},
{
"account_type": "Receivable",
"name": "Cuentas por Cobrar / (-) Previsi\u00f3n para Incobrables",
"report_type": "Balance Sheet"
}
],
"name": "Cuentas por Cobrar"
},
{
"children": [
{
"children": [
{
"name": "Inventarios - Mercancias / Categoria de productos 01",
"report_type": "Balance Sheet"
}
],
"name": "Inventarios - Mercancias"
},
{
"name": "Materias primas",
"report_type": "Balance Sheet"
},
{
"name": "Inventarios - Mercancias en Tr\u00e1nsito",
"report_type": "Balance Sheet"
},
{
"name": "Productos Elaborados",
"report_type": "Balance Sheet"
},
{
"name": "Productos en Curso de Elaboraci\u00f3n",
"report_type": "Balance Sheet"
},
{
"name": "(-) Previsi\u00f3n para Desvalorizaci\u00f3n de Inventarios",
"report_type": "Balance Sheet"
},
{
"name": "Materiales Varios ",
"report_type": "Balance Sheet"
}
],
"name": "Inventarios"
},
{
"children": [
{
"name": "Inversiones / (-) Previsi\u00f3n para Devalorizaci\u00f3n de Acciones",
"report_type": "Balance Sheet"
},
{
"name": "Inversiones / Acciones Permanentes",
"report_type": "Balance Sheet"
},
{
"name": "Inversiones / T\u00edtulos P\u00fablicos",
"report_type": "Balance Sheet"
},
{
"name": "Inversiones / Acciones Transitorias",
"report_type": "Balance Sheet"
}
],
"name": "Inversiones Financieras"
},
{
"children": [
{
"name": "Activo Intangible / (-) Amortizaci\u00f3n Acumulada",
"report_type": "Balance Sheet"
},
{
"name": "Activo Intangible / Marcas y Patentes de Invenci\u00f3n",
"report_type": "Balance Sheet"
},
{
"name": "Activo Intangible / Concesiones y Franquicias",
"report_type": "Balance Sheet"
},
{
"name": "Activo Intangible / Derecho de Llaves",
"report_type": "Balance Sheet"
}
],
"name": "Activo Intangible"
},
{
"children": [
{
"name": "Activo Fijo / Inmuebles",
"report_type": "Balance Sheet"
},
{
"name": "Activo Fijo / Maquinaria",
"report_type": "Balance Sheet"
},
{
"name": "Activo Fijo / Material Rodante Motorizado",
"report_type": "Balance Sheet"
},
{
"name": "Activo Fijo / (-) Depreciaci\u00f3n Acumulada",
"report_type": "Balance Sheet"
},
{
"name": "Activo Fijo / Equipos",
"report_type": "Balance Sheet"
}
],
"name": "Activo Fijo"
}
],
"name": "ACTIVOS"
}
],
"name": "Balance General"
}
],
"name": "Panam\u00e1"
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,126 @@
{
"name": "Thailand - Chart of Accounts",
"root": {
"children": [
{
"children": [
{
"children": [
{
"name": "Accumulated Depreciation - Equipment"
}
],
"name": "Equipment"
},
{
"name": "Outstanding Cheques"
},
{
"children": [
{
"name": "Accumulated Depreciation - Building"
}
],
"name": "Building"
},
{
"name": "Inventory"
},
{
"name": "Input VAT"
},
{
"name": "Account Receivable"
},
{
"children": [
{
"name": "Petty Cash"
},
{
"name": "Cash at Bank"
}
],
"name": "Cash"
},
{
"name": "Withholding Income Tax"
}
],
"name": "Assets"
},
{
"children": [
{
"name": "Income"
}
],
"name": "Income"
},
{
"children": [
{
"name": "Accrued Expenses"
},
{
"name": "Withholding Tax"
},
{
"name": "Uninvoiced Receipts"
},
{
"name": "Output VAT"
},
{
"name": "Account Payable"
},
{
"name": "Loans"
}
],
"name": "Liabilities"
},
{
"children": [
{
"name": "Retained Earnings"
},
{
"name": "Capital Stock"
},
{
"name": "Dividends"
},
{
"name": "Income Summary"
}
],
"name": "Equity"
},
{
"children": [
{
"name": "Cost of goods sold"
},
{
"name": "Income tax expenses"
},
{
"name": "Office Expenses"
},
{
"name": "Rent"
},
{
"name": "Interest expenses"
},
{
"name": "Salary"
}
],
"name": "Expenses"
}
],
"name": "Simple chart of accounts"
}
}

View File

@@ -0,0 +1,488 @@
{
"name": "UK Tax and Account Chart Template (by SmartMode)",
"root": {
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"name": "Sales Tax Control Account"
},
{
"name": "Purchase Tax Control Account"
},
{
"name": "HMRC - VAT Account"
},
{
"name": "Manual Adjustments \uff96 VAT"
},
{
"name": "P.A.Y.E. & NI"
},
{
"name": "Other Creditors"
},
{
"name": "Sundry Creditors"
},
{
"name": "Creditors Control Account"
},
{
"name": "Net Wages"
},
{
"name": "Pension Fund"
}
],
"name": "Creditors due within one year"
},
{
"children": [
{
"name": "Corporation Tax"
},
{
"name": "Accruals"
}
],
"name": "Accruals and deferred income"
},
{
"children": [
{
"name": "Bad debt provision"
}
],
"name": "Provisions for liabilities and charges"
}
],
"name": "Current Liabilities"
},
{
"children": [
{
"children": [
{
"name": "Company Credit Card"
},
{
"name": "Bank Accounts"
}
],
"name": "Cash at bank and in hand"
},
{
"children": [
{
"name": "Debtors Control Account"
},
{
"name": "Other Debtors"
},
{
"name": "Sundry Debtors"
}
],
"name": "Trade Debtors"
},
{
"children": [
{
"name": "Prepayments"
}
],
"name": "Prepayments and accrued income"
},
{
"name": "Investment current assets"
},
{
"children": [
{
"name": "Finished Goods"
},
{
"name": "Work in Progress"
},
{
"name": "Stock"
}
],
"name": "Stocks & WIP"
}
],
"name": "Current assets"
},
{
"children": [
{
"name": "Other reserves"
},
{
"name": "Revaluation reserve"
},
{
"name": "Share premium account"
},
{
"name": "Called up share capital"
},
{
"name": "Profit and loss account"
}
],
"name": "Capital & Reserves"
},
{
"children": [
{
"children": [
{
"name": "Hire Purchase"
},
{
"name": "Loans"
},
{
"name": "Mortgages"
}
],
"name": "Creditors due after one year"
}
],
"name": "Non Current Liabilities"
},
{
"children": [
{
"name": "Investments"
},
{
"children": [
{
"name": "Fixtures and fittings Depreciation"
},
{
"name": "Fixtures and fittings"
},
{
"name": "Land and buildings"
},
{
"name": "Land and buildings Depreciation"
},
{
"name": "Motor vehicles Depreciation"
},
{
"name": "Motor vehicles"
},
{
"name": "Office equipment (inc computer equipment)"
},
{
"name": "Office equipment (inc computer equipment) Depreciation"
},
{
"name": "Plant and machinery Depreciation"
},
{
"name": "Plant and machinery"
}
],
"name": "Tangible assets"
},
{
"children": [
{
"name": "Software Depreciation"
},
{
"name": "Software"
},
{
"name": "Patents & Trademarks"
},
{
"name": "Patents & Trademarks Depreciation"
}
],
"name": "Intangible assets"
}
],
"name": "Fixed assets"
}
],
"name": "Balance Sheet"
},
{
"children": [
{
"children": [
{
"children": [
{
"name": "Light, heat and power"
},
{
"name": "Repairs, renewals and maintenance"
},
{
"name": "Rent and rates"
}
],
"name": "Property costs"
},
{
"children": [
{
"name": "Auditing"
},
{
"name": "Accounting"
}
],
"name": "Accountancy and audit"
},
{
"children": [
{
"name": "Consultancy"
},
{
"name": "Legal and professional charges"
}
],
"name": "Legal and professional costs"
},
{
"children": [
{
"name": "Recruitment fees"
},
{
"name": "Software expenses"
},
{
"name": "Travel and subsistence"
},
{
"name": "Other admin expenses"
},
{
"name": "Other computer costs"
},
{
"name": "Internet & hosting"
},
{
"name": "Mobiles"
},
{
"name": "Stationery"
},
{
"name": "Office consumables"
},
{
"name": "Postage and Carriage"
},
{
"name": "Telephone"
},
{
"name": "Books"
},
{
"name": "Network costs"
}
],
"name": "Administration and office expenses"
},
{
"children": [
{
"name": "Car maintenance"
},
{
"name": "Car hire"
},
{
"name": "Car fuel"
}
],
"name": "Vehicle expenses"
},
{
"children": [
{
"name": "Intangible assets depn"
},
{
"name": "Tangible assets depn"
}
],
"name": "Depreciation expense"
},
{
"children": [
{
"name": "Entertaining"
},
{
"name": "Other sundry expenses"
},
{
"name": "Donations"
},
{
"name": "Exchange gains/losses"
},
{
"name": "Bad debts"
},
{
"name": "Bank, credit card and other financial charges"
},
{
"name": "Insurance"
}
],
"name": "Sundry expenses"
},
{
"children": [
{
"name": "Subcontractors payments"
},
{
"name": "Employers NIC"
},
{
"name": "Admin gross salaries"
},
{
"name": "Management gross salaries"
},
{
"name": "Directors remuneration"
},
{
"name": "Directors pension"
}
],
"name": "Salaries & wages"
}
],
"name": "Administrative expenses"
},
{
"children": [
{
"name": "Corporation tax expense"
}
],
"name": "Tax on profit or loss on ordinary activities"
},
{
"children": [
{
"name": "Interest paid"
}
],
"name": "Interest payable and similar charges"
},
{
"children": [
{
"name": "Bank Interest received"
},
{
"name": "Investment Interest received"
}
],
"name": "Interest receivable and similar income:"
},
{
"children": [
{
"name": "Profits/Losses on disposals of assets"
}
],
"name": "Other operating income"
},
{
"children": [
{
"name": "Sales category 1"
},
{
"name": "Sales category 2"
},
{
"name": "Sales category 3"
},
{
"name": "Sales category 4"
}
],
"name": "Turnover"
},
{
"children": [
{
"name": "Distribution vehicles"
},
{
"name": "Distribution salaries and wages"
},
{
"children": [
{
"name": "PR"
},
{
"name": "Marketing, POS"
},
{
"name": "Exhibitions and events"
}
],
"name": "Advertising and promotions"
},
{
"name": "Shipping"
}
],
"name": "Distribution costs"
},
{
"children": [
{
"name": "Cost of sales 4"
},
{
"name": "Cost of sales 3"
},
{
"name": "Cost of sales 2"
},
{
"name": "Cost of sales 1"
}
],
"name": "Cost of sales"
}
],
"name": "Profit and Loss"
}
],
"name": "Company",
"parent_id": null
}
}

Some files were not shown because too many files have changed in this diff Show More