2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00

Merge pull request #241 from 18alantom/fix-coa-issues

fix: bank account parent not being set on setup
This commit is contained in:
Alan 2021-11-10 16:12:51 +05:30 committed by GitHub
commit d99563977d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 5190 additions and 5129 deletions

View File

@ -1,49 +1,53 @@
import frappe from 'frappejs'; import frappe from 'frappejs';
import countries from '../fixtures/countryInfo.json'; import countries from '../fixtures/countryInfo.json';
import standardCOA from '../fixtures/verified/standardCOA.json'; import standardCOA from '../fixtures/verified/standardCOA.json';
const accountFields = [ const accountFields = ['accountType', 'accountNumber', 'rootType', 'isGroup'];
'accountType',
'rootType',
'isGroup',
'account_type',
'root_type',
'is_group'
];
async function importAccounts(children, parent, rootType, rootAccount) { function getAccountName(accountName, accountNumber) {
for (let accountName in children) { if (accountNumber) {
const child = children[accountName]; return `${accountName} - ${accountNumber}`;
}
return accountName;
}
async function importAccounts(children, parentAccount, rootType, rootAccount) {
for (let rootName in children) {
if (accountFields.includes(rootName)) {
continue;
}
const child = children[rootName];
if (rootAccount) { if (rootAccount) {
rootType = child.rootType || child.root_type; rootType = child.rootType;
} }
if (!accountFields.includes(accountName)) { const { accountType, accountNumber } = child;
let isGroup = identifyIsGroup(child); const accountName = getAccountName(rootName, accountNumber);
const doc = frappe.newDoc({ const isGroup = identifyIsGroup(child);
doctype: 'Account', console.log('inserting account: ', accountName);
name: accountName, const doc = frappe.newDoc({
parentAccount: parent, doctype: 'Account',
isGroup, name: accountName,
rootType, parentAccount,
balance: 0, isGroup,
accountType: child.accountType || child.account_type rootType,
}); balance: 0,
accountType,
});
await doc.insert(); await doc.insert();
await importAccounts(child, accountName, rootType);
await importAccounts(child, accountName, rootType);
}
} }
} }
function identifyIsGroup(child) { function identifyIsGroup(child) {
if (child.isGroup || child.is_group) { if (child.isGroup) {
return child.isGroup || child.is_group; return child.isGroup;
} }
const keys = Object.keys(child); const keys = Object.keys(child);
const children = keys.filter(key => !accountFields.includes(key)); const children = keys.filter((key) => !accountFields.includes(key));
if (children.length) { if (children.length) {
return 1; return 1;
@ -52,12 +56,14 @@ function identifyIsGroup(child) {
return 0; return 0;
} }
async function getCountryCOA() { export async function getCountryCOA() {
const doc = await frappe.getDoc('AccountingSettings'); const doc = await frappe.getDoc('AccountingSettings');
const conCode = countries[doc.country].code; const conCode = countries[doc.country].code;
try { try {
const countryCoa = await import('../fixtures/verified/' + conCode + '.json'); const countryCoa = await import(
'../fixtures/verified/' + conCode + '.json'
);
return countryCoa.tree; return countryCoa.tree;
} catch (e) { } catch (e) {
return standardCOA; return standardCOA;
@ -67,4 +73,4 @@ async function getCountryCOA() {
export default async function importCharts() { export default async function importCharts() {
const chart = await getCountryCOA(); const chart = await getCountryCOA();
await importAccounts(chart, '', '', true); await importAccounts(chart, '', '', true);
}; }

View File

@ -1,467 +1,467 @@
{ {
"country_code": "ae", "countryCode": "ae",
"name": "U.A.E - Chart of Accounts", "name": "U.A.E - Chart of Accounts",
"tree": { "tree": {
"Assets": { "Assets": {
"Current Assets": { "Current Assets": {
"Accounts Receivable": { "Accounts Receivable": {
"Corporate Credit Cards": { "Corporate Credit Cards": {
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Other Receivable": { "Other Receivable": {
"Accrued Rebates Due from Suppliers": { "Accrued Rebates Due from Suppliers": {
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Accured Income from Suppliers": { "Accured Income from Suppliers": {
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Other Debtors": { "Other Debtors": {
"account_type": "Receivable" "accountType": "Receivable"
}, },
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Post Dated Cheques Received": { "Post Dated Cheques Received": {
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Staff Receivable": { "Staff Receivable": {
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Trade Receivable": { "Trade Receivable": {
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Trade in Opening Fees": { "Trade in Opening Fees": {
"account_type": "Receivable" "accountType": "Receivable"
}, },
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Cash in Hand & Banks": { "Cash in Hand & Banks": {
"Banks": { "Banks": {
"Bank Margin On LC & LG": {}, "Bank Margin On LC & LG": {},
"Banks Blocked Deposits": {}, "Banks Blocked Deposits": {},
"Banks Call Deposit Accounts": {}, "Banks Call Deposit Accounts": {},
"Banks Current Accounts": { "Banks Current Accounts": {
"account_type": "Bank" "accountType": "Bank"
}, },
"account_type": "Bank" "accountType": "Bank"
}, },
"Cash in Hand": { "Cash in Hand": {
"Cash in Safe": { "Cash in Safe": {
"Main Safe": { "Main Safe": {
"account_type": "Cash" "accountType": "Cash"
}, },
"Main Safe - Foreign Currency": { "Main Safe - Foreign Currency": {
"account_type": "Cash" "accountType": "Cash"
}
},
"Petty Cash": {
"Petty Cash - Admininistration": {
"account_type": "Cash"
},
"Petty Cash - Others": {
"account_type": "Cash"
}
},
"account_type": "Cash"
},
"Cash in Transit": {
"Credit Cards": {
"Gateway Credit Cards": {
"account_type": "Bank"
},
"Manual Visa & Master Cards": {
"account_type": "Bank"
},
"PayPal Account": {
"account_type": "Bank"
},
"Visa & Master Credit Cards": {
"account_type": "Bank"
}
}
}
},
"Inventory": {
"Consigned Stock": {
"Handling Difference in Inventory": {
"account_type": "Stock Adjustment"
},
"Items Delivered to Customs on temprary Base": {}
},
"Stock in Hand": {
"account_type": "Stock"
}
},
"Perliminary and Preoperating Expenses": {
"Preoperating Expenses": {}
},
"Prepayments & Deposits": {
"Deposits": {
"Deposit - Office Rent": {},
"Deposit Others": {},
"Deposit to Immigration (Visa)": {},
"Deposits - Customs": {}
},
"Prepaid Taxes": {
"Sales Taxes Receivables": {},
"Withholding Tax Receivables": {}
},
"Prepayments": {
"Other Prepayments": {},
"PrePaid Advertisement Expenses": {},
"Prepaid Bank Guarantee": {},
"Prepaid Consultancy Fees": {},
"Prepaid Employees Housing": {},
"Prepaid Finance charge for Loans": {},
"Prepaid Legal Fees": {},
"Prepaid License Fees": {},
"Prepaid Life Insurance": {},
"Prepaid Maintenance": {},
"Prepaid Medical Insurance": {},
"Prepaid Office Rent": {},
"Prepaid Other Insurance": {},
"Prepaid Schooling Fees": {},
"Prepaid Site Hosting Fees": {},
"Prepaid Sponsorship Fees": {}
}
} }
}, },
"Long Term Assets": { "Petty Cash": {
"Fixed Assets": { "Petty Cash - Admininistration": {
"Accumulated Depreciation": { "accountType": "Cash"
"Acc. Depreciation of Motor Vehicles": { },
"account_type": "Accumulated Depreciation" "Petty Cash - Others": {
}, "accountType": "Cash"
"Acc. Deprn.Computer Hardware & Software": {
"account_type": "Accumulated Depreciation"
},
"Acc.Deprn.of Furniture & Office Equipment": {
"account_type": "Accumulated Depreciation"
},
"Amortisation on Leasehold Improvement": {
"account_type": "Accumulated Depreciation"
},
"account_type": "Accumulated Depreciation"
},
"Fixed Assets (Cost Price)": {
"Computer Hardware & Software": {
"account_type": "Fixed Asset"
},
"Furniture and Equipment": {
"account_type": "Fixed Asset"
},
"Leasehold Improvement": {},
"Motor Vehicules": {
"account_type": "Fixed Asset"
},
"Work In Progrees": {},
"account_type": "Fixed Asset"
}
},
"Intangible Assets": {
"Computer Card Renewal": {},
"Dispoal of Outlets": {},
"Registration of Trademarks": {}
},
"Intercompany Accounts": {},
"Investments": {
"Investments in Subsidiaries": {}
} }
}, },
"root_type": "Asset" "accountType": "Cash"
}, },
"Closing And Temporary Accounts": { "Cash in Transit": {
"Closing Accounts": { "Credit Cards": {
"Closing Account": {} "Gateway Credit Cards": {
}, "accountType": "Bank"
"root_type": "Liability" },
}, "Manual Visa & Master Cards": {
"Expenses": { "accountType": "Bank"
"Commercial Expenses": { },
"Consultancy Fees": {}, "PayPal Account": {
"Provision for Doubtful Debts": {} "accountType": "Bank"
}, },
"Cost of Sale": { "Visa & Master Credit Cards": {
"Cost Of Goods Sold": { "accountType": "Bank"
"Cost Of Goods Sold I/C Sales": {},
"Cost of Goods Sold in Trading": {
"account_type": "Cost of Goods Sold"
},
"account_type": "Cost of Goods Sold"
},
"Expenses Included In Valuation": {
"account_type": "Expenses Included In Valuation"
} }
}, }
"Depreciation": { }
"Depreciation & Amortization": { },
"Amortization on Leasehold Improvement": {}, "Inventory": {
"Depreciation Of Computer Hard & Soft": { "Consigned Stock": {
"account_type": "Depreciation" "Handling Difference in Inventory": {
}, "accountType": "Stock Adjustment"
"Depreciation Of Furniture & Office Equipment\n\t\t\t": { },
"account_type": "Depreciation" "Items Delivered to Customs on temprary Base": {}
}, },
"Depreciation Of Motor Vehicles": { "Stock in Hand": {
"account_type": "Depreciation" "accountType": "Stock"
} }
} },
}, "Perliminary and Preoperating Expenses": {
"Direct Expenses": { "Preoperating Expenses": {}
"Financial Charges": { },
"Air Miles Card Charges": {}, "Prepayments & Deposits": {
"Amex Credit Cards Charges": {}, "Deposits": {
"Bank Finance & Loan Charges": {}, "Deposit - Office Rent": {},
"Credit Card Charges": {}, "Deposit Others": {},
"Credit Card Swipe Charges": {}, "Deposit to Immigration (Visa)": {},
"PayPal Charges": {} "Deposits - Customs": {}
} },
}, "Prepaid Taxes": {
"MISC Charges": { "Sales Taxes Receivables": {},
"Other Charges": { "Withholding Tax Receivables": {}
"Captial Loss": { },
"Disposal of Business Branch": {}, "Prepayments": {
"Loss On Fixed Assets Disposal": {}, "Other Prepayments": {},
"Loss on Difference on Exchange": {} "PrePaid Advertisement Expenses": {},
}, "Prepaid Bank Guarantee": {},
"Other Non Operating Exp": { "Prepaid Consultancy Fees": {},
"Other Non Operating Expenses": {} "Prepaid Employees Housing": {},
}, "Prepaid Finance charge for Loans": {},
"Previous Year Adjustments": { "Prepaid Legal Fees": {},
"Previous Year Adjustments Account": {} "Prepaid License Fees": {},
}, "Prepaid Life Insurance": {},
"Royalty Fees": { "Prepaid Maintenance": {},
"Royalty to Parent Co.": {} "Prepaid Medical Insurance": {},
}, "Prepaid Office Rent": {},
"Tax / Zakat Expenses": { "Prepaid Other Insurance": {},
"Income Tax": { "Prepaid Schooling Fees": {},
"account_type": "Tax" "Prepaid Site Hosting Fees": {},
}, "Prepaid Sponsorship Fees": {}
"Zakat": {}, }
"account_type": "Tax" }
} },
} "Long Term Assets": {
}, "Fixed Assets": {
"Share Resources": { "Accumulated Depreciation": {
"Share Resource Expenses Account": {} "Acc. Depreciation of Motor Vehicles": {
}, "accountType": "Accumulated Depreciation"
"Store Operating Expenses": { },
"Selling, General & Admin Expenses": { "Acc. Deprn.Computer Hardware & Software": {
"Advertising Expenses": { "accountType": "Accumulated Depreciation"
"Other - Advertising Expenses": {} },
}, "Acc.Deprn.of Furniture & Office Equipment": {
"Bank & Finance Charges": { "accountType": "Accumulated Depreciation"
"Other Bank Charges": {} },
}, "Amortisation on Leasehold Improvement": {
"Communications": { "accountType": "Accumulated Depreciation"
"Courrier": {}, },
"Others - Communication": {}, "accountType": "Accumulated Depreciation"
"Telephone": {}, },
"Web Site Hosting Fees": {} "Fixed Assets (Cost Price)": {
}, "Computer Hardware & Software": {
"Office & Various Expenses": { "accountType": "Fixed Asset"
"Cleaning": {}, },
"Convoyance Expenses": {}, "Furniture and Equipment": {
"Gifts & Donations": {}, "accountType": "Fixed Asset"
"Insurance": {}, },
"Kitchen and Buffet Expenses": {}, "Leasehold Improvement": {},
"Maintenance": {}, "Motor Vehicules": {
"Others - Office Various Expenses": {}, "accountType": "Fixed Asset"
"Security & Guard": {}, },
"Stationary From Suppliers": {}, "Work In Progrees": {},
"Stationary Out Of Stock": {}, "accountType": "Fixed Asset"
"Subscriptions": {}, }
"Training": {}, },
"Vehicle Expenses": {} "Intangible Assets": {
}, "Computer Card Renewal": {},
"Personnel Cost": { "Dispoal of Outlets": {},
"Basic Salary": {}, "Registration of Trademarks": {}
"End Of Service Indemnity": {}, },
"Housing Allowance": {}, "Intercompany Accounts": {},
"Leave Salary": {}, "Investments": {
"Leave Ticket": {}, "Investments in Subsidiaries": {}
"Life Insurance": {}, }
"Medical Insurance": {}, },
"Personnel Cost Others": {}, "rootType": "Asset"
"Sales Commission": {}, },
"Staff School Allowances": {}, "Closing And Temporary Accounts": {
"Transportation Allowance": {}, "Closing Accounts": {
"Uniform": {}, "Closing Account": {}
"Visa Expenses": {} },
}, "rootType": "Liability"
"Professional & Legal Fees": { },
"Audit Fees": {}, "Expenses": {
"Legal fees": {}, "Commercial Expenses": {
"Others - Professional Fees": {}, "Consultancy Fees": {},
"Sponsorship Fees": {}, "Provision for Doubtful Debts": {}
"Trade License Fees": {} },
}, "Cost of Sale": {
"Provision & Write Off": { "Cost Of Goods Sold": {
"Amortisation of Preoperating Expenses": {}, "Cost Of Goods Sold I/C Sales": {},
"Cash Shortage": {}, "Cost of Goods Sold in Trading": {
"Others - Provision & Write off": {}, "accountType": "Cost of Goods Sold"
"Write Off Inventory": {}, },
"Write Off Receivables & Payables": {} "accountType": "Cost of Goods Sold"
}, },
"Rent Expenses": { "Expenses Included In Valuation": {
"Office Rent": {}, "accountType": "Expenses Included In Valuation"
"Warehouse Rent": {} }
}, },
"Travel Expenses": { "Depreciation": {
"Air tickets": {}, "Depreciation & Amortization": {
"Hotel": {}, "Amortization on Leasehold Improvement": {},
"Meals": {}, "Depreciation Of Computer Hard & Soft": {
"Others": {}, "accountType": "Depreciation"
"Per Diem": {} },
}, "Depreciation Of Furniture & Office Equipment\n\t\t\t": {
"Utilities": { "accountType": "Depreciation"
"Other Utility Cahrges": {}, },
"Water & Electricity": {} "Depreciation Of Motor Vehicles": {
} "accountType": "Depreciation"
} }
}, }
"root_type": "Expense" },
}, "Direct Expenses": {
"Liabilities": { "Financial Charges": {
"Current Liabilities": { "Air Miles Card Charges": {},
"Accounts Payable": { "Amex Credit Cards Charges": {},
"Payables": { "Bank Finance & Loan Charges": {},
"Advance Paybale to Suppliers": { "Credit Card Charges": {},
"account_type": "Payable" "Credit Card Swipe Charges": {},
}, "PayPal Charges": {}
"Consigned Payable": { }
"account_type": "Payable" },
}, "MISC Charges": {
"Other Payable": { "Other Charges": {
"account_type": "Payable" "Captial Loss": {
}, "Disposal of Business Branch": {},
"Post Dated Cheques Paid": { "Loss On Fixed Assets Disposal": {},
"account_type": "Payable" "Loss on Difference on Exchange": {}
}, },
"Staff Payable": {}, "Other Non Operating Exp": {
"Suppliers Price Protection": { "Other Non Operating Expenses": {}
"account_type": "Payable" },
}, "Previous Year Adjustments": {
"Trade Payable": { "Previous Year Adjustments Account": {}
"account_type": "Payable" },
}, "Royalty Fees": {
"account_type": "Payable" "Royalty to Parent Co.": {}
} },
}, "Tax / Zakat Expenses": {
"Accruals & Provisions": { "Income Tax": {
"Accruals": { "accountType": "Tax"
"Accrued Personnel Cost": { },
"Accrued - Commissions": {}, "Zakat": {},
"Accrued - Leave Salary": {}, "accountType": "Tax"
"Accrued - Leave Tickets": {}, }
"Accrued - Salaries": {}, }
"Accrued Other Personnel Cost": {}, },
"Accrued Salaries Increment": {}, "Share Resources": {
"Accrued-Staff Bonus": {} "Share Resource Expenses Account": {}
} },
}, "Store Operating Expenses": {
"Accrued Expenses": { "Selling, General & Admin Expenses": {
"Accrued Other Expenses": { "Advertising Expenses": {
"Accrued - Audit Fees": {}, "Other - Advertising Expenses": {}
"Accrued - Office Rent": {}, },
"Accrued - Sponsorship": {}, "Bank & Finance Charges": {
"Accrued - Telephone": {}, "Other Bank Charges": {}
"Accrued - Utilities": {}, },
"Accrued Others": {} "Communications": {
} "Courrier": {},
}, "Others - Communication": {},
"Other Current Liabilities": { "Telephone": {},
"Accrued Dubai Customs": {}, "Web Site Hosting Fees": {}
"Deferred income": {}, },
"Shipping & Handling": {} "Office & Various Expenses": {
}, "Cleaning": {},
"Provisions": { "Convoyance Expenses": {},
"Tax Payables": { "Gifts & Donations": {},
"Income Tax Payable": {}, "Insurance": {},
"Sales Tax Payable": {}, "Kitchen and Buffet Expenses": {},
"Withholding Tax Payable": {} "Maintenance": {},
} "Others - Office Various Expenses": {},
}, "Security & Guard": {},
"Short Term Loan": {} "Stationary From Suppliers": {},
}, "Stationary Out Of Stock": {},
"Duties and Taxes": { "Subscriptions": {},
"account_type": "Tax", "Training": {},
"is_group": 1 "Vehicle Expenses": {}
}, },
"Reservations & Credit Notes": { "Personnel Cost": {
"Credit Notes": { "Basic Salary": {},
"Credit Notes to Customers": {}, "End Of Service Indemnity": {},
"Reservations": {} "Housing Allowance": {},
} "Leave Salary": {},
}, "Leave Ticket": {},
"Stock Liabilities": { "Life Insurance": {},
"Stock Received But Not Billed": { "Medical Insurance": {},
"account_type": "Stock Received But Not Billed" "Personnel Cost Others": {},
} "Sales Commission": {},
}, "Staff School Allowances": {},
"Unearned Income": {} "Transportation Allowance": {},
}, "Uniform": {},
"Long Term Liabilities": { "Visa Expenses": {}
"Long Term Loans & Provisions": {} },
}, "Professional & Legal Fees": {
"root_type": "Liability" "Audit Fees": {},
}, "Legal fees": {},
"Revenue": { "Others - Professional Fees": {},
"Direct Revenue": { "Sponsorship Fees": {},
"Other Direct Revenue": { "Trade License Fees": {}
"Other Revenue - Operating": { },
"Advertising Income": {}, "Provision & Write Off": {
"Branding Income": {}, "Amortisation of Preoperating Expenses": {},
"Early Setmt Margin from Suppliers": {}, "Cash Shortage": {},
"Marketing Rebate from Suppliers": {}, "Others - Provision & Write off": {},
"Rebate from Suppliers": {}, "Write Off Inventory": {},
"Service Income": {}, "Write Off Receivables & Payables": {}
"Space Rental Income": {} },
} "Rent Expenses": {
} "Office Rent": {},
}, "Warehouse Rent": {}
"Indirect Revenue": { },
"Other Indirect Revenue": { "Travel Expenses": {
"Capital Gain": {}, "Air tickets": {},
"Excess In Till": {}, "Hotel": {},
"Gain On Difference Of Exchange": {}, "Meals": {},
"Management Consultancy Fees": {}, "Others": {},
"Other Income": {} "Per Diem": {}
}, },
"Other Revenue - Non Operating": { "Utilities": {
"Interest Revenue": {}, "Other Utility Cahrges": {},
"Interest from FD": {}, "Water & Electricity": {}
"Products Listing Fees from Suppliers": {}, }
"Trade Opening Fees from suppliers": {} }
} },
}, "rootType": "Expense"
"Sales": { },
"Sales from Other Regions": { "Liabilities": {
"Sales from Other Region": {} "Current Liabilities": {
}, "Accounts Payable": {
"Sales of same region": { "Payables": {
"Management Consultancy Fees 1": {}, "Advance Paybale to Suppliers": {
"Sales Account": {}, "accountType": "Payable"
"Sales of I/C": {} },
} "Consigned Payable": {
}, "accountType": "Payable"
"root_type": "Income" },
}, "Other Payable": {
"Share Holder Equity": { "accountType": "Payable"
"Capital": { },
"Contributed Capital": {}, "Post Dated Cheques Paid": {
"Share Capital": {}, "accountType": "Payable"
"Shareholders Current A/c": {}, },
"Sub Ordinated Loan": {}, "Staff Payable": {},
"Treasury Stocks": {} "Suppliers Price Protection": {
}, "accountType": "Payable"
"Retained Earnings": { },
"Current Year Results": {}, "Trade Payable": {
"Dividends Paid": {}, "accountType": "Payable"
"Previous Years Results": {} },
}, "accountType": "Payable"
"account_type": "Equity", }
"root_type": "Equity" },
} "Accruals & Provisions": {
"Accruals": {
"Accrued Personnel Cost": {
"Accrued - Commissions": {},
"Accrued - Leave Salary": {},
"Accrued - Leave Tickets": {},
"Accrued - Salaries": {},
"Accrued Other Personnel Cost": {},
"Accrued Salaries Increment": {},
"Accrued-Staff Bonus": {}
}
},
"Accrued Expenses": {
"Accrued Other Expenses": {
"Accrued - Audit Fees": {},
"Accrued - Office Rent": {},
"Accrued - Sponsorship": {},
"Accrued - Telephone": {},
"Accrued - Utilities": {},
"Accrued Others": {}
}
},
"Other Current Liabilities": {
"Accrued Dubai Customs": {},
"Deferred income": {},
"Shipping & Handling": {}
},
"Provisions": {
"Tax Payables": {
"Income Tax Payable": {},
"Sales Tax Payable": {},
"Withholding Tax Payable": {}
}
},
"Short Term Loan": {}
},
"Duties and Taxes": {
"accountType": "Tax",
"isGroup": 1
},
"Reservations & Credit Notes": {
"Credit Notes": {
"Credit Notes to Customers": {},
"Reservations": {}
}
},
"Stock Liabilities": {
"Stock Received But Not Billed": {
"accountType": "Stock Received But Not Billed"
}
},
"Unearned Income": {}
},
"Long Term Liabilities": {
"Long Term Loans & Provisions": {}
},
"rootType": "Liability"
},
"Revenue": {
"Direct Revenue": {
"Other Direct Revenue": {
"Other Revenue - Operating": {
"Advertising Income": {},
"Branding Income": {},
"Early Setmt Margin from Suppliers": {},
"Marketing Rebate from Suppliers": {},
"Rebate from Suppliers": {},
"Service Income": {},
"Space Rental Income": {}
}
}
},
"Indirect Revenue": {
"Other Indirect Revenue": {
"Capital Gain": {},
"Excess In Till": {},
"Gain On Difference Of Exchange": {},
"Management Consultancy Fees": {},
"Other Income": {}
},
"Other Revenue - Non Operating": {
"Interest Revenue": {},
"Interest from FD": {},
"Products Listing Fees from Suppliers": {},
"Trade Opening Fees from suppliers": {}
}
},
"Sales": {
"Sales from Other Regions": {
"Sales from Other Region": {}
},
"Sales of same region": {
"Management Consultancy Fees 1": {},
"Sales Account": {},
"Sales of I/C": {}
}
},
"rootType": "Income"
},
"Share Holder Equity": {
"Capital": {
"Contributed Capital": {},
"Share Capital": {},
"Shareholders Current A/c": {},
"Sub Ordinated Loan": {},
"Treasury Stocks": {}
},
"Retained Earnings": {
"Current Year Results": {},
"Dividends Paid": {},
"Previous Years Results": {}
},
"accountType": "Equity",
"rootType": "Equity"
}
} }
} }

View File

@ -1,412 +1,412 @@
{ {
"country_code": "ca", "countryCode": "ca",
"name": "Canada - Plan comptable pour les provinces francophones", "name": "Canada - Plan comptable pour les provinces francophones",
"tree": { "tree": {
"Actif": { "Actif": {
"Actif \u00e0 court terme": { "Actif \u00e0 court terme": {
"Avances": { "Avances": {
"Avances aux actionnaires": {}, "Avances aux actionnaires": {},
"Avances aux employ\u00e9s": {}, "Avances aux employ\u00e9s": {},
"Avances sur commissions": {} "Avances sur commissions": {}
}, },
"Banque": { "Banque": {
"account_type": "Bank", "accountType": "Bank",
"is_group": 1 "isGroup": 1
}, },
"Comptes \u00e0 recevoir": { "Comptes \u00e0 recevoir": {
"Comptes clients": { "Comptes clients": {
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Provision pour cr\u00e9ances douteuses": {} "Provision pour cr\u00e9ances douteuses": {}
}, },
"Encaisse": { "Encaisse": {
"is_group": 1 "isGroup": 1
}, },
"Frais pay\u00e9s d\u2019avance": { "Frais pay\u00e9s d\u2019avance": {
"Assurances pay\u00e9s d'avance": {}, "Assurances pay\u00e9s d'avance": {},
"Publicit\u00e9 pay\u00e9 d'avance": {}, "Publicit\u00e9 pay\u00e9 d'avance": {},
"Taxes pay\u00e9s d'avance": {} "Taxes pay\u00e9s d'avance": {}
}, },
"Petite caisse": { "Petite caisse": {
"account_type": "Cash", "accountType": "Cash",
"is_group": 1 "isGroup": 1
}, },
"Stocks": { "Stocks": {
"Mati\u00e8res premi\u00e8res": {}, "Mati\u00e8res premi\u00e8res": {},
"Stock de produits fini": {}, "Stock de produits fini": {},
"Stock exp\u00e9di\u00e9 non-factur\u00e9": {}, "Stock exp\u00e9di\u00e9 non-factur\u00e9": {},
"Travaux en cours": {}, "Travaux en cours": {},
"account_type": "Stock" "accountType": "Stock"
}, },
"Subventions \u00e0 recevoir": {}, "Subventions \u00e0 recevoir": {},
"TR\u00c9SORERIE OU \u00c9QUIVALENTS DE TR\u00c9SORERIE": {}, "TR\u00c9SORERIE OU \u00c9QUIVALENTS DE TR\u00c9SORERIE": {},
"Taxes \u00e0 recevoir": { "Taxes \u00e0 recevoir": {
"TPS \u00e0 recevoir": {}, "TPS \u00e0 recevoir": {},
"TVH \u00e0 recevoir": { "TVH \u00e0 recevoir": {
"TVH \u00e0 recevoir - 13%": {}, "TVH \u00e0 recevoir - 13%": {},
"TVH \u00e0 recevoir - 14%": {}, "TVH \u00e0 recevoir - 14%": {},
"TVH \u00e0 recevoir - 15%": {} "TVH \u00e0 recevoir - 15%": {}
}, },
"TVP/TVQ \u00e0 recevoir": {} "TVP/TVQ \u00e0 recevoir": {}
} }
}, },
"Autres actifs": { "Autres actifs": {
" Frais de premier \u00e9tablissement": {}, " Frais de premier \u00e9tablissement": {},
"Achalandage": {}, "Achalandage": {},
"Brevets, droits": {}, "Brevets, droits": {},
"Frais de recherche et de d\u00e9veloppement - actif": {} "Frais de recherche et de d\u00e9veloppement - actif": {}
}, },
"Immobilisations": { "Immobilisations": {
" Amortissement accumul\u00e9 - b\u00e2timent": {}, " Amortissement accumul\u00e9 - b\u00e2timent": {},
" Amortissement accumul\u00e9 - entrep\u00f4t": {}, " Amortissement accumul\u00e9 - entrep\u00f4t": {},
" Amortissement accumul\u00e9 - logiciels": {}, " Amortissement accumul\u00e9 - logiciels": {},
" Amortissement accumul\u00e9 - machinerie et \u00e9quipement": {}, " Amortissement accumul\u00e9 - machinerie et \u00e9quipement": {},
" Amortissement accumul\u00e9 - \u00e9quipement informatique": {}, " Amortissement accumul\u00e9 - \u00e9quipement informatique": {},
"Amortissement accumul\u00e9 - am\u00e9liorations locatives": {}, "Amortissement accumul\u00e9 - am\u00e9liorations locatives": {},
"Amortissement accumul\u00e9 - biens lou\u00e9s en vertu d\u2019un contrat de location - acquisition": {}, "Amortissement accumul\u00e9 - biens lou\u00e9s en vertu d\u2019un contrat de location - acquisition": {},
"Amortissement accumul\u00e9 - mat\u00e9riel roulant": {}, "Amortissement accumul\u00e9 - mat\u00e9riel roulant": {},
"Amortissement accumul\u00e9 - mobilier et \u00e9quipement de bureau": {}, "Amortissement accumul\u00e9 - mobilier et \u00e9quipement de bureau": {},
"Am\u00e9liorations locatives": { "Am\u00e9liorations locatives": {
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
}, },
"Biens lou\u00e9s en vertu d\u2019un contrat de location - acquisition": { "Biens lou\u00e9s en vertu d\u2019un contrat de location - acquisition": {
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
}, },
"B\u00e2timent": { "B\u00e2timent": {
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
}, },
"Entrep\u00f4t": { "Entrep\u00f4t": {
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
}, },
"Logiciels": { "Logiciels": {
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
}, },
"Machinerie et \u00e9quipement": { "Machinerie et \u00e9quipement": {
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
}, },
"Mat\u00e9riel roulant": { "Mat\u00e9riel roulant": {
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
}, },
"Mobilier et \u00e9quipement de bureau": { "Mobilier et \u00e9quipement de bureau": {
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
}, },
"Terrain": { "Terrain": {
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
}, },
"account_type": "Fixed Asset", "accountType": "Fixed Asset",
"\u00c9quipement informatique": { "\u00c9quipement informatique": {
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
} }
}, },
"Placements": { "Placements": {
"D\u00e9p\u00f4ts": {}, "D\u00e9p\u00f4ts": {},
"Placement": {} "Placement": {}
}, },
"root_type": "Asset" "rootType": "Asset"
}, },
"Avoir des actionnaires": { "Avoir des actionnaires": {
" B\u00e9n\u00e9fice de la p\u00e9riode": {}, " B\u00e9n\u00e9fice de la p\u00e9riode": {},
"Bonis": {}, "Bonis": {},
"B\u00e9n\u00e9fices non r\u00e9partis": {}, "B\u00e9n\u00e9fices non r\u00e9partis": {},
"Capital - actions ordinaire": {}, "Capital - actions ordinaire": {},
"Capital - actions privil\u00e9gi\u00e9": {}, "Capital - actions privil\u00e9gi\u00e9": {},
"Dividendes": {}, "Dividendes": {},
"Surplus d\u2019apport": {}, "Surplus d\u2019apport": {},
"root_type": "Equity" "rootType": "Equity"
}, },
"Charges": { "Charges": {
"Charges d'exploitation": { "Charges d'exploitation": {
"Salaires et charges sociales": { "Salaires et charges sociales": {
"Assurance - emploi": { "Assurance - emploi": {
"account_type": "Chargeable" "accountType": "Chargeable"
}, },
"Assurance parentale": {}, "Assurance parentale": {},
"Fonds des services de sant\u00e9": {}, "Fonds des services de sant\u00e9": {},
"Imp\u00f4t f\u00e9d\u00e9ral": {}, "Imp\u00f4t f\u00e9d\u00e9ral": {},
"Imp\u00f4t provincial": {}, "Imp\u00f4t provincial": {},
"Normes du travail": {}, "Normes du travail": {},
"Rentes": {}, "Rentes": {},
"Salaires": { "Salaires": {
"account_type": "Chargeable" "accountType": "Chargeable"
}, },
"sant\u00e9 et s\u00e9curit\u00e9 du travail CSST": { "sant\u00e9 et s\u00e9curit\u00e9 du travail CSST": {
"account_type": "Chargeable" "accountType": "Chargeable"
} }
} }
}, },
"Frais fixes": { "Frais fixes": {
"Frais de fabrication": { "Frais de fabrication": {
" R\u00e9parations et entretien - moules et matrices": {}, " R\u00e9parations et entretien - moules et matrices": {},
"Ammortissements": { "Ammortissements": {
"Amortissements - am\u00e9liorations locatives": { "Amortissements - am\u00e9liorations locatives": {
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"Amortissements - biens lou\u00e9s contrat de location - acquisition": { "Amortissements - biens lou\u00e9s contrat de location - acquisition": {
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"Amortissements - b\u00e2timent": { "Amortissements - b\u00e2timent": {
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"Amortissements - entrep\u00f4t": { "Amortissements - entrep\u00f4t": {
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"Amortissements - machinerie et \u00e9quipement": { "Amortissements - machinerie et \u00e9quipement": {
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"Amortissements - mat\u00e9riel roulant": { "Amortissements - mat\u00e9riel roulant": {
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"Amortissements - moules et matrices": { "Amortissements - moules et matrices": {
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"Assurances": { "Assurances": {
" Assurances - feu": {}, " Assurances - feu": {},
" Assurances - responsabilit\u00e9": {}, " Assurances - responsabilit\u00e9": {},
" Assurances - vol": {} " Assurances - vol": {}
}, },
"Avantages sociaux - frais de fabrication": {}, "Avantages sociaux - frais de fabrication": {},
"D\u00e9penses - mat\u00e9riel roulant": {}, "D\u00e9penses - mat\u00e9riel roulant": {},
"Entretien du terrain \u00e0 contrat": {}, "Entretien du terrain \u00e0 contrat": {},
"Fournitures d\u2019emballage": {}, "Fournitures d\u2019emballage": {},
"Fournitures d\u2019usine": {}, "Fournitures d\u2019usine": {},
"Location de machinerie": {}, "Location de machinerie": {},
"Loyer - b\u00e2timent": {}, "Loyer - b\u00e2timent": {},
"Loyer - entrep\u00f4t": {}, "Loyer - entrep\u00f4t": {},
"Op\u00e9rations indirectes de la main-d\u2019\u0153uvre directe": { "Op\u00e9rations indirectes de la main-d\u2019\u0153uvre directe": {
"is_group": 1 "isGroup": 1
}, },
"R\u00e9parations et entretien - b\u00e2timent": {}, "R\u00e9parations et entretien - b\u00e2timent": {},
"R\u00e9parations et entretien - machinerie et \u00e9quipement": {}, "R\u00e9parations et entretien - machinerie et \u00e9quipement": {},
"Salaires de soutien": {}, "Salaires de soutien": {},
"Salaires de supervision": {}, "Salaires de supervision": {},
"Taxes fonci\u00e8res": {}, "Taxes fonci\u00e8res": {},
"\u00c9nergie": {} "\u00c9nergie": {}
}, },
"Frais de formation": { "Frais de formation": {
" Salaires - administration - frais fixe formation": {}, " Salaires - administration - frais fixe formation": {},
"Avantages sociaux - frais fixe formation": {}, "Avantages sociaux - frais fixe formation": {},
"Cr\u00e9dits d\u2019imp\u00f4ts \u00e0 la formation": {}, "Cr\u00e9dits d\u2019imp\u00f4ts \u00e0 la formation": {},
"Honoraires": {}, "Honoraires": {},
"Main-d\u2019\u0153uvre directe - frais fixe formation": {}, "Main-d\u2019\u0153uvre directe - frais fixe formation": {},
"Main-d\u2019\u0153uvre indirecte - frais fixe formation": {}, "Main-d\u2019\u0153uvre indirecte - frais fixe formation": {},
"Salaires - bureau - frais fixe formation": {}, "Salaires - bureau - frais fixe formation": {},
"Salaires - vente": {} "Salaires - vente": {}
}, },
"Frais de non-qualit\u00e9": { "Frais de non-qualit\u00e9": {
" Avantages sociaux - non-qualit\u00e9": {}, " Avantages sociaux - non-qualit\u00e9": {},
" Main-d\u2019\u0153uvre directe - non-qualit\u00e9": { " Main-d\u2019\u0153uvre directe - non-qualit\u00e9": {
"Main-d\u2019\u0153uvre directe - gaspillage": {}, "Main-d\u2019\u0153uvre directe - gaspillage": {},
"Main-d\u2019\u0153uvre directe - r\u00e9parations de garantie": {}, "Main-d\u2019\u0153uvre directe - r\u00e9parations de garantie": {},
"Main-d\u2019\u0153uvre directe - travail a reprendre": {} "Main-d\u2019\u0153uvre directe - travail a reprendre": {}
}, },
"Mat\u00e9riel - non-qualit\u00e9": { "Mat\u00e9riel - non-qualit\u00e9": {
"Mat\u00e9riel - gaspillage": {}, "Mat\u00e9riel - gaspillage": {},
"Mat\u00e9riel - r\u00e9parations de garantie": {}, "Mat\u00e9riel - r\u00e9parations de garantie": {},
"Mat\u00e9riel - travail a reprendre": {} "Mat\u00e9riel - travail a reprendre": {}
}, },
"Salaire - inspecteur (contr\u00f4le de la qualit\u00e9)": {} "Salaire - inspecteur (contr\u00f4le de la qualit\u00e9)": {}
}, },
"Frais de recherche et de d\u00e9veloppement - charge": { "Frais de recherche et de d\u00e9veloppement - charge": {
" Mati\u00e8res premi\u00e8res - R&D": {}, " Mati\u00e8res premi\u00e8res - R&D": {},
"Avantages sociaux - R&D": {}, "Avantages sociaux - R&D": {},
"Cr\u00e9dits d\u2019imp\u00f4ts - R&D": {}, "Cr\u00e9dits d\u2019imp\u00f4ts - R&D": {},
"Honoraires professionnels - R&D": {}, "Honoraires professionnels - R&D": {},
"Main-d\u2019\u0153uvre directe - R&D": {}, "Main-d\u2019\u0153uvre directe - R&D": {},
"Sous-traitance - R&D": {} "Sous-traitance - R&D": {}
}, },
"Frais financiers": { "Frais financiers": {
" Escomptes de caisse sur achats": {}, " Escomptes de caisse sur achats": {},
" Int\u00e9r\u00eats et frais de banque": {}, " Int\u00e9r\u00eats et frais de banque": {},
" Int\u00e9r\u00eats sur emprunts - actionnaires": {}, " Int\u00e9r\u00eats sur emprunts - actionnaires": {},
" Int\u00e9r\u00eats sur emprunts - machinerie": {}, " Int\u00e9r\u00eats sur emprunts - machinerie": {},
" Int\u00e9r\u00eats sur emprunts - mat\u00e9riel roulant": {}, " Int\u00e9r\u00eats sur emprunts - mat\u00e9riel roulant": {},
"Escomptes de caisse sur ventes": {}, "Escomptes de caisse sur ventes": {},
"Int\u00e9r\u00eats sur hypoth\u00e8que": {} "Int\u00e9r\u00eats sur hypoth\u00e8que": {}
}, },
"Frais fixe de vente": { "Frais fixe de vente": {
" Frais de voyages - camionneurs": {}, " Frais de voyages - camionneurs": {},
" Frais de voyages - service apr\u00e8s-vente": {}, " Frais de voyages - service apr\u00e8s-vente": {},
"Amortissement - camions": {}, "Amortissement - camions": {},
"Amortissements - frais fixe de vente": { "Amortissements - frais fixe de vente": {
" Amortissements - autos": {}, " Amortissements - autos": {},
" Amortissements - bureau de vente": {} " Amortissements - bureau de vente": {}
}, },
"Assurances - camions": {}, "Assurances - camions": {},
"Assurances d\u2019autos - vendeurs": {}, "Assurances d\u2019autos - vendeurs": {},
"Avantages sociaux - frais fixe de vente": {}, "Avantages sociaux - frais fixe de vente": {},
"Catalogues": {}, "Catalogues": {},
"D\u00e9penses - bureau de vente": {}, "D\u00e9penses - bureau de vente": {},
"Emballage \u00e0 la livraison": {}, "Emballage \u00e0 la livraison": {},
"Entretien et r\u00e9parations - camions": {}, "Entretien et r\u00e9parations - camions": {},
"Frais de repr\u00e9sentation": {}, "Frais de repr\u00e9sentation": {},
"Frais de voyages - vendeurs": {}, "Frais de voyages - vendeurs": {},
"Frais d\u2019autos - service apr\u00e8s-vente": {}, "Frais d\u2019autos - service apr\u00e8s-vente": {},
"Frais d\u2019autos - vendeurs": {}, "Frais d\u2019autos - vendeurs": {},
"Loyer - bureau de vente": {}, "Loyer - bureau de vente": {},
"Prototypes et \u00e9chantillons": {}, "Prototypes et \u00e9chantillons": {},
"Publicit\u00e9": {}, "Publicit\u00e9": {},
"Salaires - camionneurs": {}, "Salaires - camionneurs": {},
"Salaires - frais fixe de vente": { "Salaires - frais fixe de vente": {
"Salaires - exp\u00e9diteurs": {}, "Salaires - exp\u00e9diteurs": {},
"Salaires - g\u00e9rants": {}, "Salaires - g\u00e9rants": {},
"Salaires - service apr\u00e8s-vente": {}, "Salaires - service apr\u00e8s-vente": {},
"Salaires - vendeurs": {} "Salaires - vendeurs": {}
} }
}, },
"Frais fixe d\u2019administration": { "Frais fixe d\u2019administration": {
" Assurances d\u2019autos - administration": {}, " Assurances d\u2019autos - administration": {},
"Amortissements - frais fixe d'administration": { "Amortissements - frais fixe d'administration": {
"Amortissements - autos - frais fixe d'administration": {}, "Amortissements - autos - frais fixe d'administration": {},
"Amortissements - logiciels": {}, "Amortissements - logiciels": {},
"Amortissements - mobilier de bureau": {}, "Amortissements - mobilier de bureau": {},
"Amortissements - \u00e9quipement informatique": {} "Amortissements - \u00e9quipement informatique": {}
}, },
"Avantages sociaux - frais fixe d'administration": {}, "Avantages sociaux - frais fixe d'administration": {},
"Dons et associations": {}, "Dons et associations": {},
"Entretien et r\u00e9parations - bureau": {}, "Entretien et r\u00e9parations - bureau": {},
"Frais de perception": {}, "Frais de perception": {},
"Frais de voyages - administration": {}, "Frais de voyages - administration": {},
"Frais de v\u00e9rification": {}, "Frais de v\u00e9rification": {},
"Frais d\u2019autos - administration": {}, "Frais d\u2019autos - administration": {},
"Frais juridiques": {}, "Frais juridiques": {},
"Location - \u00e9quipement de bureau": {}, "Location - \u00e9quipement de bureau": {},
"Mauvaises cr\u00e9ances": {}, "Mauvaises cr\u00e9ances": {},
"Papeterie et d\u00e9penses de bureau": {}, "Papeterie et d\u00e9penses de bureau": {},
"Salaires - frais fixe d'administration": { "Salaires - frais fixe d'administration": {
"Salaires - administration": {}, "Salaires - administration": {},
"Salaires - bureau": {} "Salaires - bureau": {}
}, },
"Taxe sur le capital": {}, "Taxe sur le capital": {},
"Taxes, licences, permis": {}, "Taxes, licences, permis": {},
"Timbres": {}, "Timbres": {},
"T\u00e9l\u00e9communications": {} "T\u00e9l\u00e9communications": {}
} }
}, },
"Frais variables": { "Frais variables": {
"Frais variables de fabrication": { "Frais variables de fabrication": {
" Emballage \u00e0 la production": { " Emballage \u00e0 la production": {
"account_type": "Cost of Goods Sold" "accountType": "Cost of Goods Sold"
}, },
" Sous-traitance": { " Sous-traitance": {
"account_type": "Cost of Goods Sold" "accountType": "Cost of Goods Sold"
}, },
"Achats de mati\u00e8res premi\u00e8res": { "Achats de mati\u00e8res premi\u00e8res": {
"account_type": "Cost of Goods Sold" "accountType": "Cost of Goods Sold"
}, },
"Achats de mat\u00e9riel direct": { "Achats de mat\u00e9riel direct": {
"account_type": "Cost of Goods Sold" "accountType": "Cost of Goods Sold"
}, },
"Achats de produits non fabriqu\u00e9s": { "Achats de produits non fabriqu\u00e9s": {
"account_type": "Expenses Included In Valuation" "accountType": "Expenses Included In Valuation"
}, },
"Avantages sociaux": { "Avantages sociaux": {
"account_type": "Cost of Goods Sold" "accountType": "Cost of Goods Sold"
}, },
"Main-d\u2019\u0153uvre directe": { "Main-d\u2019\u0153uvre directe": {
"account_type": "Cost of Goods Sold" "accountType": "Cost of Goods Sold"
}, },
"Variation des stocks": { "Variation des stocks": {
"account_type": "Stock Adjustment" "accountType": "Stock Adjustment"
}, },
"account_type": "Cost of Goods Sold" "accountType": "Cost of Goods Sold"
}, },
"Frais variables de vente": { "Frais variables de vente": {
"Commissions": {}, "Commissions": {},
"Redevances": {}, "Redevances": {},
"Transport (\u00e0 contrat)": {} "Transport (\u00e0 contrat)": {}
} }
}, },
"root_type": "Expense" "rootType": "Expense"
}, },
"Passif": { "Passif": {
"PASSIFS NON-COURANTS": { "PASSIFS NON-COURANTS": {
"AUTRES PASSIFS NON-COURANTS": {}, "AUTRES PASSIFS NON-COURANTS": {},
"DETTES FINANCI\u00c8RES NON-COURANTES": {}, "DETTES FINANCI\u00c8RES NON-COURANTES": {},
"IMP\u00d4TS DIFF\u00c9R\u00c9S": {}, "IMP\u00d4TS DIFF\u00c9R\u00c9S": {},
"PROVISIONS POUR RETRAITES ET AUTRES AVANTAGES POST\u00c9RIEURS \u00c0 L'EMPLOI": {} "PROVISIONS POUR RETRAITES ET AUTRES AVANTAGES POST\u00c9RIEURS \u00c0 L'EMPLOI": {}
}, },
"Passif \u00e0 court terme": { "Passif \u00e0 court terme": {
" Commissions \u00e0 payer": {}, " Commissions \u00e0 payer": {},
"Assurance collective \u00e0 payer": {}, "Assurance collective \u00e0 payer": {},
"Autres comptes cr\u00e9diteurs": {}, "Autres comptes cr\u00e9diteurs": {},
"Comptes \u00e0 payer": { "Comptes \u00e0 payer": {
"Comptes fournisseurs": { "Comptes fournisseurs": {
"account_type": "Payable" "accountType": "Payable"
} }
}, },
"D\u00e9p\u00f4ts de clients": {}, "D\u00e9p\u00f4ts de clients": {},
"Emprunt de banque": {}, "Emprunt de banque": {},
"Imp\u00f4ts li\u00e9s aux salaires \u00e0 payer": { "Imp\u00f4ts li\u00e9s aux salaires \u00e0 payer": {
"Agence du revenu du Canada": { "Agence du revenu du Canada": {
"Assurance - emploi \u00e0 payer": { "Assurance - emploi \u00e0 payer": {
"AE - Contribution de l'employeur": {}, "AE - Contribution de l'employeur": {},
"AE - Contribution des employ\u00e9s": {} "AE - Contribution des employ\u00e9s": {}
}, },
"Imp\u00f4t f\u00e9d\u00e9ral sur salaires \u00e0 payer": {} "Imp\u00f4t f\u00e9d\u00e9ral sur salaires \u00e0 payer": {}
}, },
"Agence du revenu du Qu\u00e9bec": { "Agence du revenu du Qu\u00e9bec": {
"Fond des Services de Sant\u00e9 \u00e0 payer": {}, "Fond des Services de Sant\u00e9 \u00e0 payer": {},
"Imp\u00f4t provincial sur salaires \u00e0 payer": {}, "Imp\u00f4t provincial sur salaires \u00e0 payer": {},
"Normes du Travail \u00e0 payer": {}, "Normes du Travail \u00e0 payer": {},
"Provision pour sant\u00e9 et s\u00e9curit\u00e9 du travail CSST": {}, "Provision pour sant\u00e9 et s\u00e9curit\u00e9 du travail CSST": {},
"R\u00e9gime des rentes du Qu\u00e9bec \u00e0 payer": { "R\u00e9gime des rentes du Qu\u00e9bec \u00e0 payer": {
"Rentes - Contribution de l'employeur": {}, "Rentes - Contribution de l'employeur": {},
"Rentes - Contribution des employ\u00e9s": {} "Rentes - Contribution des employ\u00e9s": {}
}, },
"R\u00e9gime qu\u00e9becois d'assurance parentale": { "R\u00e9gime qu\u00e9becois d'assurance parentale": {
"AP - Contribution de l'employeur": {}, "AP - Contribution de l'employeur": {},
"AP - Contribution des employ\u00e9s": {} "AP - Contribution des employ\u00e9s": {}
} }
}, },
"Caisse de retraite \u00e0 payer": {} "Caisse de retraite \u00e0 payer": {}
}, },
"Imp\u00f4ts \u00e0 payer": { "Imp\u00f4ts \u00e0 payer": {
"Imp\u00f4t f\u00e9d\u00e9ral sur le revenu \u00e0 payer": {}, "Imp\u00f4t f\u00e9d\u00e9ral sur le revenu \u00e0 payer": {},
"Imp\u00f4t provincial sur le revenu \u00e0 payer": {}, "Imp\u00f4t provincial sur le revenu \u00e0 payer": {},
"TPS \u00e0 payer": {}, "TPS \u00e0 payer": {},
"TVH \u00e0 payer": { "TVH \u00e0 payer": {
"TVH \u00e0 payer - 13%": {}, "TVH \u00e0 payer - 13%": {},
"TVH \u00e0 payer - 14%": {}, "TVH \u00e0 payer - 14%": {},
"TVH \u00e0 payer - 15%": {} "TVH \u00e0 payer - 15%": {}
}, },
"TVP/TVQ \u00e0 payer": {} "TVP/TVQ \u00e0 payer": {}
}, },
"Passifs de stock": { "Passifs de stock": {
"Stock re\u00e7u non factur\u00e9": { "Stock re\u00e7u non factur\u00e9": {
"account_type": "Stock Received But Not Billed" "accountType": "Stock Received But Not Billed"
} }
}, },
"Provision pour vacances et cong\u00e9s": {}, "Provision pour vacances et cong\u00e9s": {},
"Revenus per\u00e7us d\u2019avance": {}, "Revenus per\u00e7us d\u2019avance": {},
"Salaires \u00e0 payer": {} "Salaires \u00e0 payer": {}
}, },
"Passif \u00e0 long terme": { "Passif \u00e0 long terme": {
"Avances des actionnaires": {}, "Avances des actionnaires": {},
"Cr\u00e9dits d\u2019imp\u00f4ts report\u00e9s": {}, "Cr\u00e9dits d\u2019imp\u00f4ts report\u00e9s": {},
"Hypoth\u00e8que \u00e0 payer": {}, "Hypoth\u00e8que \u00e0 payer": {},
"Liens sur machinerie": {}, "Liens sur machinerie": {},
"Liens sur mat\u00e9riel roulant": {}, "Liens sur mat\u00e9riel roulant": {},
"Obligation d\u00e9coulant d\u2019un contrat de location - acquisition": {}, "Obligation d\u00e9coulant d\u2019un contrat de location - acquisition": {},
"Passif d\u2019imp\u00f4ts futurs": {} "Passif d\u2019imp\u00f4ts futurs": {}
}, },
"root_type": "Liability" "rootType": "Liability"
}, },
"Produits": { "Produits": {
"Revenus de ventes": { "Revenus de ventes": {
" Escomptes de volume sur ventes": {}, " Escomptes de volume sur ventes": {},
"Autres produits d'exploitation": {}, "Autres produits d'exploitation": {},
"Ventes": {}, "Ventes": {},
"Ventes avec des provinces harmonis\u00e9es": {}, "Ventes avec des provinces harmonis\u00e9es": {},
"Ventes avec des provinces non-harmonis\u00e9es": {}, "Ventes avec des provinces non-harmonis\u00e9es": {},
"Ventes \u00e0 l'\u00e9tranger": {} "Ventes \u00e0 l'\u00e9tranger": {}
}, },
"Revenus non li\u00e9 \u00e0 la vente": { "Revenus non li\u00e9 \u00e0 la vente": {
"Autres revenus non li\u00e9s \u00e0 la vente": {}, "Autres revenus non li\u00e9s \u00e0 la vente": {},
"Revenues d'int\u00e9r\u00eats": {} "Revenues d'int\u00e9r\u00eats": {}
}, },
"root_type": "Income" "rootType": "Income"
} }
} }
} }

View File

@ -1,423 +1,423 @@
{ {
"country_code": "gt", "countryCode": "gt",
"name": "Guatemala - Cuentas", "name": "Guatemala - Cuentas",
"tree": { "tree": {
"Activos": { "Activos": {
"Activo Corriente": { "Activo Corriente": {
"Activos Biol\u00f3gicos": { "Activos Biol\u00f3gicos": {
"Activos Biol\u00f3gicos a Valor Razonable": { "Activos Biol\u00f3gicos a Valor Razonable": {
"Animales": { "Animales": {
"account_number": "1.5.2.1", "accountNumber": "1.5.2.1",
"account_type": "Stock", "accountType": "Stock",
"is_group": 1 "isGroup": 1
}, },
"Plantas": { "Plantas": {
"account_number": "1.5.2.2", "accountNumber": "1.5.2.2",
"account_type": "Stock", "accountType": "Stock",
"is_group": 1 "isGroup": 1
}, },
"account_number": "1.5.2", "accountNumber": "1.5.2",
"account_type": "Stock" "accountType": "Stock"
}, },
"Activos Biol\u00f3gicos al Costo": { "Activos Biol\u00f3gicos al Costo": {
"account_number": "1.5.1", "accountNumber": "1.5.1",
"account_type": "Stock", "accountType": "Stock",
"is_group": 1 "isGroup": 1
}, },
"account_number": "1.5", "accountNumber": "1.5",
"account_type": "Stock" "accountType": "Stock"
}, },
"Activos Corrientes Adicionales": { "Activos Corrientes Adicionales": {
"Activos Diferidos o Restringidos": { "Activos Diferidos o Restringidos": {
"Cr\u00e9dito Fiscal (IVA Por Cobrar)": { "Cr\u00e9dito Fiscal (IVA Por Cobrar)": {
"account_number": "1.1.2.1", "accountNumber": "1.1.2.1",
"account_type": "Chargeable", "accountType": "Chargeable",
"is_group": 1 "isGroup": 1
}, },
"account_number": "1.1.2", "accountNumber": "1.1.2",
"account_type": "Chargeable" "accountType": "Chargeable"
}, },
"Inversiones Corrientes no Clasificados como Equivalentes de Caja y Bancos": { "Inversiones Corrientes no Clasificados como Equivalentes de Caja y Bancos": {
"account_number": "1.1.1" "accountNumber": "1.1.1"
}, },
"account_number": "1.1", "accountNumber": "1.1",
"account_type": "Chargeable" "accountType": "Chargeable"
}, },
"Activos Devengables y Otros Activos": { "Activos Devengables y Otros Activos": {
"Activos Adicionales y Otros": { "Activos Adicionales y Otros": {
"account_number": "1.6.6", "accountNumber": "1.6.6",
"account_type": "Chargeable", "accountType": "Chargeable",
"is_group": 1 "isGroup": 1
}, },
"Cobrables Relacionados con Impuestos": { "Cobrables Relacionados con Impuestos": {
"account_number": "1.6.2", "accountNumber": "1.6.2",
"account_type": "Chargeable", "accountType": "Chargeable",
"is_group": 1 "isGroup": 1
}, },
"Contratos de Construccion": { "Contratos de Construccion": {
"account_number": "1.6.4", "accountNumber": "1.6.4",
"account_type": "Chargeable", "accountType": "Chargeable",
"is_group": 1 "isGroup": 1
}, },
"Costos de Montaje": { "Costos de Montaje": {
"account_number": "1.6.5", "accountNumber": "1.6.5",
"account_type": "Chargeable", "accountType": "Chargeable",
"is_group": 1 "isGroup": 1
}, },
"Pagos Anticipados y Otros Activos Circulantes": { "Pagos Anticipados y Otros Activos Circulantes": {
"Seguro Pagado Anticipadamente": { "Seguro Pagado Anticipadamente": {
"account_number": "1.6.1.0", "accountNumber": "1.6.1.0",
"account_type": "Chargeable" "accountType": "Chargeable"
}, },
"account_number": "1.6.1", "accountNumber": "1.6.1",
"account_type": "Chargeable" "accountType": "Chargeable"
}, },
"Proveedores de Servicio": { "Proveedores de Servicio": {
"account_number": "1.6.3", "accountNumber": "1.6.3",
"account_type": "Chargeable", "accountType": "Chargeable",
"is_group": 1 "isGroup": 1
}, },
"account_number": "1.6", "accountNumber": "1.6",
"account_type": "Chargeable" "accountType": "Chargeable"
}, },
"Activos Financieros": { "Activos Financieros": {
"Activos Financieros Clasificados por Designaci\u00f3n": { "Activos Financieros Clasificados por Designaci\u00f3n": {
"account_number": "1.4.6", "accountNumber": "1.4.6",
"account_type": "Chargeable", "accountType": "Chargeable",
"is_group": 1 "isGroup": 1
}, },
"Activos Financieros Derivados": { "Activos Financieros Derivados": {
"account_number": "1.4.3", "accountNumber": "1.4.3",
"account_type": "Chargeable", "accountType": "Chargeable",
"is_group": 1 "isGroup": 1
}, },
"Inversion o Participaci\u00f3n Accionaria en Empresas Afiliadas": { "Inversion o Participaci\u00f3n Accionaria en Empresas Afiliadas": {
"account_number": "1.4.1", "accountNumber": "1.4.1",
"account_type": "Chargeable", "accountType": "Chargeable",
"is_group": 1 "isGroup": 1
}, },
"Inversiones Burs\u00e1tiles e Instrumentos Financieros": { "Inversiones Burs\u00e1tiles e Instrumentos Financieros": {
"account_number": "1.4.2", "accountNumber": "1.4.2",
"account_type": "Chargeable", "accountType": "Chargeable",
"is_group": 1 "isGroup": 1
}, },
"Otros Activos Financieros": { "Otros Activos Financieros": {
"account_number": "1.4.4", "accountNumber": "1.4.4",
"account_type": "Chargeable", "accountType": "Chargeable",
"is_group": 1 "isGroup": 1
}, },
"Provisi\u00f3n por Riesgo de Cr\u00e9dito (agregado) (Contra-activo)": { "Provisi\u00f3n por Riesgo de Cr\u00e9dito (agregado) (Contra-activo)": {
"account_number": "1.4.5", "accountNumber": "1.4.5",
"account_type": "Round Off", "accountType": "Round Off",
"is_group": 1 "isGroup": 1
}, },
"account_number": "1.4", "accountNumber": "1.4",
"account_type": "Chargeable" "accountType": "Chargeable"
}, },
"Activos Intangibles": { "Activos Intangibles": {
"account_number": "1.3", "accountNumber": "1.3",
"account_type": "Chargeable", "accountType": "Chargeable",
"is_group": 1 "isGroup": 1
}, },
"Caja y Equivalentes": { "Caja y Equivalentes": {
"Caja": { "Caja": {
"account_number": "1.9.1", "accountNumber": "1.9.1",
"account_type": "Cash", "accountType": "Cash",
"is_group": 1 "isGroup": 1
}, },
"Equivalentes de Efectivo (Bancos)": { "Equivalentes de Efectivo (Bancos)": {
"Bancos Internacionales": { "Bancos Internacionales": {
"HSBC": { "HSBC": {
"account_number": "1.9.2.2.1", "accountNumber": "1.9.2.2.1",
"account_type": "Bank" "accountType": "Bank"
}, },
"account_number": "1.9.2.2", "accountNumber": "1.9.2.2",
"account_type": "Bank" "accountType": "Bank"
}, },
"Bancos Nacionales": { "Bancos Nacionales": {
"Banco Agromercantil de Guatemala": { "Banco Agromercantil de Guatemala": {
"account_number": "1.9.2.1.2", "accountNumber": "1.9.2.1.2",
"account_type": "Bank" "accountType": "Bank"
}, },
"Banco G&T Continental": { "Banco G&T Continental": {
"account_number": "1.9.2.1.5", "accountNumber": "1.9.2.1.5",
"account_type": "Bank" "accountType": "Bank"
}, },
"Banco Industrial": { "Banco Industrial": {
"account_number": "1.9.2.1.1", "accountNumber": "1.9.2.1.1",
"account_type": "Bank", "accountType": "Bank",
"is_group": 1 "isGroup": 1
}, },
"Banco Internacional": { "Banco Internacional": {
"account_number": "1.9.2.1.6", "accountNumber": "1.9.2.1.6",
"account_type": "Bank" "accountType": "Bank"
}, },
"Banco Prom\u00e9rica": { "Banco Prom\u00e9rica": {
"account_number": "1.9.2.1.3", "accountNumber": "1.9.2.1.3",
"account_type": "Bank" "accountType": "Bank"
}, },
"Banco de Am\u00e9rica Central": { "Banco de Am\u00e9rica Central": {
"account_number": "1.9.2.1.4", "accountNumber": "1.9.2.1.4",
"account_type": "Bank" "accountType": "Bank"
}, },
"Banco de Desarrollo Rural": { "Banco de Desarrollo Rural": {
"account_number": "1.9.2.1.7", "accountNumber": "1.9.2.1.7",
"account_type": "Bank" "accountType": "Bank"
}, },
"Banco de los Trabajadores": { "Banco de los Trabajadores": {
"account_number": "1.9.2.1.8", "accountNumber": "1.9.2.1.8",
"account_type": "Bank" "accountType": "Bank"
}, },
"Vivibanco": { "Vivibanco": {
"account_number": "1.9.2.1.9", "accountNumber": "1.9.2.1.9",
"account_type": "Bank" "accountType": "Bank"
}, },
"account_number": "1.9.2.1", "accountNumber": "1.9.2.1",
"account_type": "Bank" "accountType": "Bank"
}, },
"Cadena de Bloques (Blockchain)": { "Cadena de Bloques (Blockchain)": {
"Billetera Bitcoin 1234567890abcdefg": { "Billetera Bitcoin 1234567890abcdefg": {
"account_number": "1.9.2.3.1", "accountNumber": "1.9.2.3.1",
"account_type": "Cash" "accountType": "Cash"
}, },
"account_number": "1.9.2.3", "accountNumber": "1.9.2.3",
"account_type": "Cash" "accountType": "Cash"
}, },
"account_number": "1.9.2", "accountNumber": "1.9.2",
"account_type": "Bank" "accountType": "Bank"
}, },
"Inversiones a Corto Plazo": { "Inversiones a Corto Plazo": {
"account_number": "1.9.3", "accountNumber": "1.9.3",
"account_type": "Bank", "accountType": "Bank",
"is_group": 1 "isGroup": 1
}, },
"Otros Equivalentes de Caja y Bancos": { "Otros Equivalentes de Caja y Bancos": {
"account_number": "1.9.4", "accountNumber": "1.9.4",
"account_type": "Cash", "accountType": "Cash",
"is_group": 1 "isGroup": 1
}, },
"account_number": "1.9", "accountNumber": "1.9",
"account_type": "Bank" "accountType": "Bank"
}, },
"Cobrables": { "Cobrables": {
"Activos bajo Contrato": { "Activos bajo Contrato": {
"account_number": "1.8.2", "accountNumber": "1.8.2",
"account_type": "Receivable", "accountType": "Receivable",
"is_group": 1 "isGroup": 1
}, },
"Ajustes": { "Ajustes": {
"account_number": "1.8.4", "accountNumber": "1.8.4",
"account_type": "Chargeable", "accountType": "Chargeable",
"is_group": 1 "isGroup": 1
}, },
"Otras Cuentas por Cobrar": { "Otras Cuentas por Cobrar": {
"Cuentas Por Cobrar Compa\u00f1\u00edas Afiliadas": { "Cuentas Por Cobrar Compa\u00f1\u00edas Afiliadas": {
"Compa\u00f1\u00eda subsidiaria (EJEMPLO)": { "Compa\u00f1\u00eda subsidiaria (EJEMPLO)": {
"account_number": "1.8.3.2.1", "accountNumber": "1.8.3.2.1",
"account_type": "Receivable" "accountType": "Receivable"
}, },
"account_number": "1.8.3.2", "accountNumber": "1.8.3.2",
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Cuentas por Cobrar a Empleados": { "Cuentas por Cobrar a Empleados": {
"Prestamo EJEMPLO": { "Prestamo EJEMPLO": {
"account_number": "1.8.3.3.1", "accountNumber": "1.8.3.3.1",
"account_type": "Receivable" "accountType": "Receivable"
}, },
"account_number": "1.8.3.3", "accountNumber": "1.8.3.3",
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Cuentas por Cobrar a Otras Entidades no Afiliadas": { "Cuentas por Cobrar a Otras Entidades no Afiliadas": {
"Compa\u00f1\u00eda No Afiliada (EJEMPLO)": { "Compa\u00f1\u00eda No Afiliada (EJEMPLO)": {
"account_number": "1.8.3.1.1", "accountNumber": "1.8.3.1.1",
"account_type": "Receivable" "accountType": "Receivable"
}, },
"account_number": "1.8.3.1", "accountNumber": "1.8.3.1",
"account_type": "Receivable" "accountType": "Receivable"
}, },
"account_number": "1.8.3", "accountNumber": "1.8.3",
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Ventas al Cr\u00e9dito": { "Ventas al Cr\u00e9dito": {
"account_number": "1.8.1", "accountNumber": "1.8.1",
"account_type": "Receivable", "accountType": "Receivable",
"is_group": 1 "isGroup": 1
}, },
"account_number": "1.8", "accountNumber": "1.8",
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Impuestos por Cobrar": { "Impuestos por Cobrar": {
"Retenciones de IVA recibidas": {} "Retenciones de IVA recibidas": {}
}, },
"Inventario": { "Inventario": {
"Art\u00edculos de Inventario Adicionales": { "Art\u00edculos de Inventario Adicionales": {
"account_number": "1.7.8", "accountNumber": "1.7.8",
"account_type": "Stock", "accountType": "Stock",
"is_group": 1 "isGroup": 1
}, },
"Combustibles": { "Combustibles": {
"account_number": "1.7.5", "accountNumber": "1.7.5",
"account_type": "Stock", "accountType": "Stock",
"is_group": 1 "isGroup": 1
}, },
"Inventarios Pignorados Como Garant\u00eda de Pasivo": { "Inventarios Pignorados Como Garant\u00eda de Pasivo": {
"account_number": "1.7.10", "accountNumber": "1.7.10",
"account_type": "Stock", "accountType": "Stock",
"is_group": 1 "isGroup": 1
}, },
"Inventarios a Valor Razonable Menos Costos de Venta": { "Inventarios a Valor Razonable Menos Costos de Venta": {
"account_number": "1.7.11", "accountNumber": "1.7.11",
"account_type": "Stock", "accountType": "Stock",
"is_group": 1 "isGroup": 1
}, },
"Materia Prima": { "Materia Prima": {
"account_number": "1.7.1", "accountNumber": "1.7.1",
"account_type": "Stock", "accountType": "Stock",
"is_group": 1 "isGroup": 1
}, },
"Mercader\u00eda (Mercanc\u00edas)": { "Mercader\u00eda (Mercanc\u00edas)": {
"account_number": "1.7.2", "accountNumber": "1.7.2",
"account_type": "Stock", "accountType": "Stock",
"is_group": 1 "isGroup": 1
}, },
"Otros Inventarios": { "Otros Inventarios": {
"Merma o Ajuste de Inventario": { "Merma o Ajuste de Inventario": {
"account_number": "1.7.9.1", "accountNumber": "1.7.9.1",
"account_type": "Stock Adjustment", "accountType": "Stock Adjustment",
"is_group": 1 "isGroup": 1
}, },
"account_number": "1.7.9", "accountNumber": "1.7.9",
"account_type": "Stock" "accountType": "Stock"
}, },
"Producto Terminado": { "Producto Terminado": {
"account_number": "1.7.7", "accountNumber": "1.7.7",
"account_type": "Stock", "accountType": "Stock",
"is_group": 1 "isGroup": 1
}, },
"Repuestos": { "Repuestos": {
"Respuestos en Transito": { "Respuestos en Transito": {
"account_number": "1.7.4.0", "accountNumber": "1.7.4.0",
"account_type": "Stock", "accountType": "Stock",
"is_group": 1 "isGroup": 1
}, },
"account_number": "1.7.4", "accountNumber": "1.7.4",
"account_type": "Stock" "accountType": "Stock"
}, },
"Suministros de Producci\u00f3n y Consumibles": { "Suministros de Producci\u00f3n y Consumibles": {
"account_number": "1.7.3", "accountNumber": "1.7.3",
"account_type": "Stock", "accountType": "Stock",
"is_group": 1 "isGroup": 1
}, },
"Trabajo en Progeso": { "Trabajo en Progeso": {
"account_number": "1.7.6", "accountNumber": "1.7.6",
"account_type": "Stock", "accountType": "Stock",
"is_group": 1 "isGroup": 1
}, },
"account_number": "1.7", "accountNumber": "1.7",
"account_type": "Stock" "accountType": "Stock"
}, },
"Inversion en Propiedades": { "Inversion en Propiedades": {
"Inversion Inmobiliaria Bajo Construccion": { "Inversion Inmobiliaria Bajo Construccion": {
"account_number": "1.2.1", "accountNumber": "1.2.1",
"account_type": "Chargeable" "accountType": "Chargeable"
}, },
"Inversion Inmobiliaria Construida": { "Inversion Inmobiliaria Construida": {
"account_number": "1.2.2", "accountNumber": "1.2.2",
"account_type": "Chargeable", "accountType": "Chargeable",
"is_group": 1 "isGroup": 1
}, },
"account_number": "1.2", "accountNumber": "1.2",
"account_type": "Chargeable" "accountType": "Chargeable"
}, },
"account_number": "1.0" "accountNumber": "1.0"
}, },
"No Corriente": { "No Corriente": {
"Activos Fijos": { "Activos Fijos": {
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
}, },
"Cargos Diferidos": {} "Cargos Diferidos": {}
}, },
"account_number": "1", "accountNumber": "1",
"root_type": "Asset" "rootType": "Asset"
}, },
"Costos": { "Costos": {
"Costo de Ventas": { "Costo de Ventas": {
"account_type": "Cost of Goods Sold" "accountType": "Cost of Goods Sold"
}, },
"Costos Incluidos en la Valuaci\u00f3n": { "Costos Incluidos en la Valuaci\u00f3n": {
"account_type": "Expenses Included In Valuation" "accountType": "Expenses Included In Valuation"
}, },
"Merma o Ajuste de Inventario": { "Merma o Ajuste de Inventario": {
"account_type": "Stock Adjustment" "accountType": "Stock Adjustment"
}, },
"account_number": "5", "accountNumber": "5",
"root_type": "Expense" "rootType": "Expense"
}, },
"Gastos": { "Gastos": {
"Alquileres": {}, "Alquileres": {},
"Depreciaciones": { "Depreciaciones": {
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"Gastos Diversos": {}, "Gastos Diversos": {},
"Gastos de Personal": {}, "Gastos de Personal": {},
"Honorarios Profesionales": {}, "Honorarios Profesionales": {},
"Mantenimiento": {}, "Mantenimiento": {},
"Seguros": {}, "Seguros": {},
"Servicios B\u00e1sicos": {}, "Servicios B\u00e1sicos": {},
"account_number": "6", "accountNumber": "6",
"root_type": "Expense" "rootType": "Expense"
}, },
"Ingresos": { "Ingresos": {
"Productos": {}, "Productos": {},
"Servicios": {}, "Servicios": {},
"account_number": "4", "accountNumber": "4",
"root_type": "Income" "rootType": "Income"
}, },
"Otros Gastos y Productos Financieros": { "Otros Gastos y Productos Financieros": {
"Otros Gastos": { "Otros Gastos": {
"Otros Gastos y Productos Financieros 2": { "Otros Gastos y Productos Financieros 2": {
"Intereses 1": {}, "Intereses 1": {},
"Otros Gastos Financieros 1": {} "Otros Gastos Financieros 1": {}
} }
}, },
"Otros Ingresos": { "Otros Ingresos": {
"Otros Gastos y Productos Financieros 1": { "Otros Gastos y Productos Financieros 1": {
"Intereses": {}, "Intereses": {},
"Otros Gastos Financieros": {} "Otros Gastos Financieros": {}
} }
}, },
"account_number": "7", "accountNumber": "7",
"root_type": "Expense" "rootType": "Expense"
}, },
"Pasivos": { "Pasivos": {
"Pasivo Corriente": { "Pasivo Corriente": {
"Acreedores 1": { "Acreedores 1": {
"account_type": "Payable" "accountType": "Payable"
}, },
"Cuentas por Pagar": {}, "Cuentas por Pagar": {},
"Impuestos por Pagar": {}, "Impuestos por Pagar": {},
"Otras Cuentas por Pagar": {}, "Otras Cuentas por Pagar": {},
"Prestaciones": {}, "Prestaciones": {},
"Proveedores": { "Proveedores": {
"Inventario Recibido pero No Cobrado": { "Inventario Recibido pero No Cobrado": {
"account_type": "Stock Received But Not Billed" "accountType": "Stock Received But Not Billed"
} }
}, },
"Sueldos por Liquidar": {} "Sueldos por Liquidar": {}
}, },
"Pasivo No Corriente": { "Pasivo No Corriente": {
"Acreedores": {}, "Acreedores": {},
"Provisi\u00f3n para Indemnizaciones": {} "Provisi\u00f3n para Indemnizaciones": {}
}, },
"account_number": "2", "accountNumber": "2",
"root_type": "Liability" "rootType": "Liability"
}, },
"Patrimonio": { "Patrimonio": {
"Capital": {}, "Capital": {},
"Resultados del Ejercicio": {}, "Resultados del Ejercicio": {},
"Utilidades Retenidas": {}, "Utilidades Retenidas": {},
"account_number": "3", "accountNumber": "3",
"root_type": "Asset" "rootType": "Asset"
} }
} }
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,176 +1,176 @@
{ {
"country_code": "in", "countryCode": "in",
"name": "India - Chart of Accounts", "name": "India - Chart of Accounts",
"tree": { "tree": {
"Application of Funds (Assets)": { "Application of Funds (Assets)": {
"Current Assets": { "Current Assets": {
"Accounts Receivable": { "Accounts Receivable": {
"Debtors": { "Debtors": {
"is_group": 0, "isGroup": 0,
"account_type": "Receivable" "accountType": "Receivable"
} }
},
"Bank Accounts": {
"account_type": "Bank",
"is_group": 1
},
"Cash In Hand": {
"Cash": {
"account_type": "Cash"
},
"account_type": "Cash"
},
"Loans and Advances (Assets)": {
"is_group": 1
},
"Securities and Deposits": {
"Earnest Money": {}
},
"Stock Assets": {
"Stock In Hand": {
"account_type": "Stock"
},
"account_type": "Stock"
},
"Tax Assets": {
"is_group": 1
}
},
"Fixed Assets": {
"Capital Equipments": {
"account_type": "Fixed Asset"
},
"Electronic Equipments": {
"account_type": "Fixed Asset"
},
"Furnitures and Fixtures": {
"account_type": "Fixed Asset"
},
"Office Equipments": {
"account_type": "Fixed Asset"
},
"Plants and Machineries": {
"account_type": "Fixed Asset"
},
"Buildings": {
"account_type": "Fixed Asset"
},
"Accumulated Depreciations": {
"account_type": "Accumulated Depreciation"
}
},
"Investments": {
"is_group": 1
},
"Temporary Accounts": {
"Temporary Opening": {
"account_type": "Temporary"
}
},
"root_type": "Asset"
}, },
"Expenses": { "Bank Accounts": {
"Direct Expenses": { "accountType": "Bank",
"Stock Expenses": { "isGroup": 1
"Cost of Goods Sold": {
"account_type": "Cost of Goods Sold"
},
"Expenses Included In Valuation": {
"account_type": "Expenses Included In Valuation"
},
"Stock Adjustment": {
"account_type": "Stock Adjustment"
}
}
},
"Indirect Expenses": {
"Administrative Expenses": {},
"Commission on Sales": {},
"Depreciation": {
"account_type": "Depreciation"
},
"Entertainment Expenses": {},
"Freight and Forwarding Charges": {
"account_type": "Chargeable"
},
"Legal Expenses": {},
"Marketing Expenses": {},
"Miscellaneous Expenses": {},
"Office Maintenance Expenses": {},
"Office Rent": {},
"Postal Expenses": {},
"Print and Stationary": {},
"Rounded Off": {
"account_type": "Round Off"
},
"Salary": {},
"Sales Expenses": {},
"Telephone Expenses": {},
"Travel Expenses": {},
"Utility Expenses": {},
"Write Off": {},
"Exchange Gain/Loss": {},
"Gain/Loss on Asset Disposal": {}
},
"root_type": "Expense"
}, },
"Income": { "Cash In Hand": {
"Direct Income": { "Cash": {
"Sales": { "accountType": "Cash"
"account_type": "Income Account" },
}, "accountType": "Cash"
"Service": {
"account_type": "Income Account"
},
"account_type": "Income Account"
},
"Indirect Income": {
"account_type": "Income Account",
"is_group": 1
},
"root_type": "Income"
}, },
"Source of Funds (Liabilities)": { "Loans and Advances (Assets)": {
"Capital Account": { "isGroup": 1
"Reserves and Surplus": {}, },
"Shareholders Funds": {} "Securities and Deposits": {
}, "Earnest Money": {}
"Current Liabilities": { },
"Accounts Payable": { "Stock Assets": {
"Creditors": { "Stock In Hand": {
"account_type": "Payable" "accountType": "Stock"
}, },
"Payroll Payable": {} "accountType": "Stock"
}, },
"Stock Liabilities": { "Tax Assets": {
"Stock Received But Not Billed": { "isGroup": 1
"account_type": "Stock Received But Not Billed"
}
},
"Duties and Taxes": {
"TDS": {
"account_type": "Tax"
},
"IGST": {
"accountType": "Tax"
},
"CGST": {
"accountType": "Tax"
},
"SGST": {
"accountType": "Tax"
},
"Exempt": {
"accountType": "Tax"
}
},
"Loans (Liabilities)": {
"Secured Loans": {},
"Unsecured Loans": {},
"Bank Overdraft Account": {}
}
},
"root_type": "Liability"
} }
},
"Fixed Assets": {
"Capital Equipments": {
"accountType": "Fixed Asset"
},
"Electronic Equipments": {
"accountType": "Fixed Asset"
},
"Furnitures and Fixtures": {
"accountType": "Fixed Asset"
},
"Office Equipments": {
"accountType": "Fixed Asset"
},
"Plants and Machineries": {
"accountType": "Fixed Asset"
},
"Buildings": {
"accountType": "Fixed Asset"
},
"Accumulated Depreciations": {
"accountType": "Accumulated Depreciation"
}
},
"Investments": {
"isGroup": 1
},
"Temporary Accounts": {
"Temporary Opening": {
"accountType": "Temporary"
}
},
"rootType": "Asset"
},
"Expenses": {
"Direct Expenses": {
"Stock Expenses": {
"Cost of Goods Sold": {
"accountType": "Cost of Goods Sold"
},
"Expenses Included In Valuation": {
"accountType": "Expenses Included In Valuation"
},
"Stock Adjustment": {
"accountType": "Stock Adjustment"
}
}
},
"Indirect Expenses": {
"Administrative Expenses": {},
"Commission on Sales": {},
"Depreciation": {
"accountType": "Depreciation"
},
"Entertainment Expenses": {},
"Freight and Forwarding Charges": {
"accountType": "Chargeable"
},
"Legal Expenses": {},
"Marketing Expenses": {},
"Miscellaneous Expenses": {},
"Office Maintenance Expenses": {},
"Office Rent": {},
"Postal Expenses": {},
"Print and Stationary": {},
"Rounded Off": {
"accountType": "Round Off"
},
"Salary": {},
"Sales Expenses": {},
"Telephone Expenses": {},
"Travel Expenses": {},
"Utility Expenses": {},
"Write Off": {},
"Exchange Gain/Loss": {},
"Gain/Loss on Asset Disposal": {}
},
"rootType": "Expense"
},
"Income": {
"Direct Income": {
"Sales": {
"accountType": "Income Account"
},
"Service": {
"accountType": "Income Account"
},
"accountType": "Income Account"
},
"Indirect Income": {
"accountType": "Income Account",
"isGroup": 1
},
"rootType": "Income"
},
"Source of Funds (Liabilities)": {
"Capital Account": {
"Reserves and Surplus": {},
"Shareholders Funds": {}
},
"Current Liabilities": {
"Accounts Payable": {
"Creditors": {
"accountType": "Payable"
},
"Payroll Payable": {}
},
"Stock Liabilities": {
"Stock Received But Not Billed": {
"accountType": "Stock Received But Not Billed"
}
},
"Duties and Taxes": {
"TDS": {
"accountType": "Tax"
},
"IGST": {
"accountType": "Tax"
},
"CGST": {
"accountType": "Tax"
},
"SGST": {
"accountType": "Tax"
},
"Exempt": {
"accountType": "Tax"
}
},
"Loans (Liabilities)": {
"Secured Loans": {},
"Unsecured Loans": {},
"Bank Overdraft Account": {}
}
},
"rootType": "Liability"
} }
}
} }

File diff suppressed because it is too large Load Diff

View File

@ -1,494 +1,494 @@
{ {
"country_code": "ni", "countryCode": "ni",
"name": "Nicaragua - Catalogo de Cuentas", "name": "Nicaragua - Catalogo de Cuentas",
"tree": { "tree": {
"Activo": { "Activo": {
"Activo Corriente": { "Activo Corriente": {
"Activos Financieros Realizables a Corto Plazo": { "Activos Financieros Realizables a Corto Plazo": {
"Bonos y Acciones Disponibles para la Venta": {}, "Bonos y Acciones Disponibles para la Venta": {},
"Certificados Bancarios": {}, "Certificados Bancarios": {},
"Inversiones a Corto Plazo": {}, "Inversiones a Corto Plazo": {},
"Otros Valores Negociables a Corto Plazo": {} "Otros Valores Negociables a Corto Plazo": {}
}, },
"Cuentas y Documentos por Cobrar a Clientes": { "Cuentas y Documentos por Cobrar a Clientes": {
"Cuentas por Cobrar Moneda Extrangera": { "Cuentas por Cobrar Moneda Extrangera": {
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Cuentas por Cobrar Moneda Nacional": { "Cuentas por Cobrar Moneda Nacional": {
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Cuentas por Cobrar por Exportaciones": { "Cuentas por Cobrar por Exportaciones": {
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Documentos por Cobrar Moneda Extrangera": { "Documentos por Cobrar Moneda Extrangera": {
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Documentos por Cobrar Moneda Nacional": { "Documentos por Cobrar Moneda Nacional": {
"account_type": "Receivable" "accountType": "Receivable"
}, },
"Estimacion para Cuentas Incobrables": {} "Estimacion para Cuentas Incobrables": {}
}, },
"Efectivo en Caja y Bancos": { "Efectivo en Caja y Bancos": {
"Caja": { "Caja": {
"Caja Chica Moneda Extrangera": { "Caja Chica Moneda Extrangera": {
"account_type": "Cash" "accountType": "Cash"
}, },
"Caja Chica Moneda Nacional": { "Caja Chica Moneda Nacional": {
"account_type": "Cash" "accountType": "Cash"
}, },
"Caja General Moneda Extrangera": { "Caja General Moneda Extrangera": {
"account_type": "Cash" "accountType": "Cash"
}, },
"Caja General Moneda Nacional": { "Caja General Moneda Nacional": {
"account_type": "Cash" "accountType": "Cash"
}, },
"Fondos por Depositar": { "Fondos por Depositar": {
"account_type": "Cash" "accountType": "Cash"
} }
}, },
"Cuentas Bancarias": { "Cuentas Bancarias": {
"Cuenta Corriente Moneda Extrangera": { "Cuenta Corriente Moneda Extrangera": {
"account_type": "Bank" "accountType": "Bank"
}, },
"Cuenta Corriente Moneda Nacional": { "Cuenta Corriente Moneda Nacional": {
"account_type": "Bank" "accountType": "Bank"
}, },
"account_type": "Bank" "accountType": "Bank"
}, },
"Otros Equivalentes a Efectivo": { "Otros Equivalentes a Efectivo": {
"account_type": "Cash", "accountType": "Cash",
"is_group": 1 "isGroup": 1
} }
}, },
"Impuestos Acreditables": { "Impuestos Acreditables": {
"Anticipos de IR o Pago Minimo Definitivo": {}, "Anticipos de IR o Pago Minimo Definitivo": {},
"Impuesto a Valor Agregado Acreditable": { "Impuesto a Valor Agregado Acreditable": {
"Acreditacion Proporcional": {}, "Acreditacion Proporcional": {},
"IVA Acreditable por Compra de Bienes": { "IVA Acreditable por Compra de Bienes": {
"account_type": "Tax" "accountType": "Tax"
}, },
"IVA Acreditable por Importaciones": { "IVA Acreditable por Importaciones": {
"account_type": "Tax" "accountType": "Tax"
}, },
"IVA Acreditable por Prestacion de Servicios y Uso y Goce de Bienes": { "IVA Acreditable por Prestacion de Servicios y Uso y Goce de Bienes": {
"account_type": "Tax" "accountType": "Tax"
} }
}, },
"Retenciones Definitivas Sobre Rentas o Ganancias de Capital": {}, "Retenciones Definitivas Sobre Rentas o Ganancias de Capital": {},
"Retenciones a Cuenta de IMI Acreditables": {}, "Retenciones a Cuenta de IMI Acreditables": {},
"Retenciones a Cuenta de IR Acreditables": { "Retenciones a Cuenta de IR Acreditables": {
"Retencion Operaciones Targeta Debito/Credito 1.5%": { "Retencion Operaciones Targeta Debito/Credito 1.5%": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion por V/Bienes o P/Servicios 2%": { "Retencion por V/Bienes o P/Servicios 2%": {
"account_type": "Tax" "accountType": "Tax"
} }
} }
}, },
"Inventarios": { "Inventarios": {
"Ajuste de Inventarios": { "Ajuste de Inventarios": {
"account_type": "Stock Adjustment" "accountType": "Stock Adjustment"
}, },
"Todos los Almacenes": { "Todos los Almacenes": {
"account_type": "Stock", "accountType": "Stock",
"is_group": 1 "isGroup": 1
}, },
"account_type": "Stock" "accountType": "Stock"
}, },
"Otras Cuentas por Cobrar": { "Otras Cuentas por Cobrar": {
"account_type": "Receivable", "accountType": "Receivable",
"is_group": 1 "isGroup": 1
} }
}, },
"Activo no Corriente": { "Activo no Corriente": {
"Activo por Impuestos Diferidos": { "Activo por Impuestos Diferidos": {
"is_group": 1 "isGroup": 1
}, },
"Activos Intangibles": { "Activos Intangibles": {
"Amortizacion de Activos Intangibles": { "Amortizacion de Activos Intangibles": {
"is_group": 1 "isGroup": 1
}, },
"Concesiones": { "Concesiones": {
"is_group": 1 "isGroup": 1
}, },
"Derechos de Autor": { "Derechos de Autor": {
"is_group": 1 "isGroup": 1
}, },
"Deterioro de Valor de Activos Intangibles": {}, "Deterioro de Valor de Activos Intangibles": {},
"Gastos de investigacion": { "Gastos de investigacion": {
"is_group": 1 "isGroup": 1
}, },
"Licencias": { "Licencias": {
"is_group": 1 "isGroup": 1
}, },
"Marcas Registradas": { "Marcas Registradas": {
"is_group": 1 "isGroup": 1
}, },
"Patentes": { "Patentes": {
"is_group": 1 "isGroup": 1
} }
}, },
"Amortizables": { "Amortizables": {
"Amortizacion de Activos Amortizables": {}, "Amortizacion de Activos Amortizables": {},
"Deterioro de Valaor de Activos Amortizables": {}, "Deterioro de Valaor de Activos Amortizables": {},
"Gastos Pre Operativos": { "Gastos Pre Operativos": {
"account_type": "Expenses Included In Valuation" "accountType": "Expenses Included In Valuation"
}, },
"Gastos de Consitucion": { "Gastos de Consitucion": {
"account_type": "Expenses Included In Valuation" "accountType": "Expenses Included In Valuation"
}, },
"Mejoras en Bienes Arrendados": { "Mejoras en Bienes Arrendados": {
"is_group": 1 "isGroup": 1
} }
}, },
"Bienes en Arrendamiento Financiero": { "Bienes en Arrendamiento Financiero": {
"Equipos y Maquinaria en Arrendamiento": {}, "Equipos y Maquinaria en Arrendamiento": {},
"Locales y Edificios en Arrendamiento": {} "Locales y Edificios en Arrendamiento": {}
}, },
"Cuentas por Cobrar a Largo Plazo": { "Cuentas por Cobrar a Largo Plazo": {
"Creditos a Largo Plazo": { "Creditos a Largo Plazo": {
"is_group": 1 "isGroup": 1
} }
}, },
"Inversiones Permanentes": { "Inversiones Permanentes": {
"Inversiones Permanentes 1": { "Inversiones Permanentes 1": {
"account_type": "Fixed Asset", "accountType": "Fixed Asset",
"is_group": 1 "isGroup": 1
}, },
"Negocios Conjuntos": { "Negocios Conjuntos": {
"account_type": "Fixed Asset", "accountType": "Fixed Asset",
"is_group": 1 "isGroup": 1
} }
}, },
"Inversiones a Largo Plazo": { "Inversiones a Largo Plazo": {
"Depositos Bancarios a Plazo": { "Depositos Bancarios a Plazo": {
"is_group": 1 "isGroup": 1
}, },
"Intereses percibidos por adelantado": { "Intereses percibidos por adelantado": {
"is_group": 1 "isGroup": 1
}, },
"Titulos y Acciones": { "Titulos y Acciones": {
"is_group": 1 "isGroup": 1
} }
}, },
"Propiedad Planta y Equipo": { "Propiedad Planta y Equipo": {
"Almacenes": {}, "Almacenes": {},
"Depresiacion Acumulada": { "Depresiacion Acumulada": {
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"Edificios": {}, "Edificios": {},
"Equipo de Computo": {}, "Equipo de Computo": {},
"Maquinaria Industrial": {}, "Maquinaria Industrial": {},
"Mobiliario y Equipo de Oficinas": {}, "Mobiliario y Equipo de Oficinas": {},
"Otra Bienes Mobiliarios": { "Otra Bienes Mobiliarios": {
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
}, },
"Otros Activos Inmobiliarios": {}, "Otros Activos Inmobiliarios": {},
"Parque Vehicular": {}, "Parque Vehicular": {},
"Terrenos": {}, "Terrenos": {},
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
} }
}, },
"root_type": "Asset" "rootType": "Asset"
}, },
"Capital y Patrimonio": { "Capital y Patrimonio": {
"Aporte de Socios": { "Aporte de Socios": {
"Capital": { "Capital": {
"Capital Social Pagado": { "Capital Social Pagado": {
"account_type": "Equity" "accountType": "Equity"
}, },
"Capital Social no Pagado": { "Capital Social no Pagado": {
"account_type": "Equity" "accountType": "Equity"
} }
} }
}, },
"Donaciones": { "Donaciones": {
"is_group": 1 "isGroup": 1
}, },
"Ganancias Acumuladas": { "Ganancias Acumuladas": {
"Reservas": { "Reservas": {
"Reservas Legales": { "Reservas Legales": {
"account_type": "Equity" "accountType": "Equity"
}, },
"Reservas Voluntarias": { "Reservas Voluntarias": {
"account_type": "Equity" "accountType": "Equity"
} }
}, },
"Resultados": { "Resultados": {
"Ajustes a Periodos Anteriores": { "Ajustes a Periodos Anteriores": {
"account_type": "Equity" "accountType": "Equity"
}, },
"Resultado del ejercicio": { "Resultado del ejercicio": {
"account_type": "Equity" "accountType": "Equity"
}, },
"Resultados Acumulados": { "Resultados Acumulados": {
"account_type": "Equity" "accountType": "Equity"
} }
} }
}, },
"root_type": "Equity" "rootType": "Equity"
}, },
"Costos y Gastos": { "Costos y Gastos": {
"Costo de Venta": { "Costo de Venta": {
"Costo de Bienes": { "Costo de Bienes": {
"account_type": "Cost of Goods Sold" "accountType": "Cost of Goods Sold"
}, },
"Costo de Produccion": { "Costo de Produccion": {
"account_type": "Cost of Goods Sold" "accountType": "Cost of Goods Sold"
}, },
"Costo de Servicios": { "Costo de Servicios": {
"account_type": "Cost of Goods Sold" "accountType": "Cost of Goods Sold"
}, },
"account_type": "Cost of Goods Sold" "accountType": "Cost of Goods Sold"
}, },
"Costos y Gastos No Deducibles": {}, "Costos y Gastos No Deducibles": {},
"Gastopor Depreciacion": { "Gastopor Depreciacion": {
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"Gastos de Administracion": { "Gastos de Administracion": {
"Alquileres": {}, "Alquileres": {},
"Amortizaciones": {}, "Amortizaciones": {},
"Ayuda a Empleados": {}, "Ayuda a Empleados": {},
"Capacitacion al Personal": {}, "Capacitacion al Personal": {},
"Combustible": {}, "Combustible": {},
"Cuentas Incobrables": {}, "Cuentas Incobrables": {},
"Donaciones 1": {}, "Donaciones 1": {},
"Fletes y Correos": {}, "Fletes y Correos": {},
"Gastos Varios": {}, "Gastos Varios": {},
"IVA Proporcional no Acreditado": {}, "IVA Proporcional no Acreditado": {},
"Impuesto Municipal": {}, "Impuesto Municipal": {},
"Inatec": {}, "Inatec": {},
"Indemnizacion": {}, "Indemnizacion": {},
"Mantenimiento y Reparaciones": {}, "Mantenimiento y Reparaciones": {},
"Matricula": {}, "Matricula": {},
"Papeleria": {}, "Papeleria": {},
"Recoleccion de Basura": {}, "Recoleccion de Basura": {},
"Representacion": {}, "Representacion": {},
"Seguros": {}, "Seguros": {},
"Servicios Basicos": { "Servicios Basicos": {
"Agua Potable": {}, "Agua Potable": {},
"Celular": {}, "Celular": {},
"Costos por Servicios WEB": {}, "Costos por Servicios WEB": {},
"Energia Electrica": {}, "Energia Electrica": {},
"Internet": {}, "Internet": {},
"Telefono Fijo": {} "Telefono Fijo": {}
}, },
"Uniformes": {}, "Uniformes": {},
"Vigilancia": {} "Vigilancia": {}
}, },
"Gastos de Ventas": { "Gastos de Ventas": {
"Fletes": {}, "Fletes": {},
"Mercadeo": {}, "Mercadeo": {},
"Muestras Gratis": {}, "Muestras Gratis": {},
"Promociones": {}, "Promociones": {},
"Publicidad": {}, "Publicidad": {},
"Regalosa Clientes": {} "Regalosa Clientes": {}
}, },
"Gastos por Salarios y Otras Compensaciones": {}, "Gastos por Salarios y Otras Compensaciones": {},
"Gastos por Servicios Profesionales y Tecnicos": {}, "Gastos por Servicios Profesionales y Tecnicos": {},
"Impuesto por Rentas y Ganancias de Capital": {}, "Impuesto por Rentas y Ganancias de Capital": {},
"Impuesto sobre la Rentade Activividades Economicas": {}, "Impuesto sobre la Rentade Activividades Economicas": {},
"Otros Gastos": { "Otros Gastos": {
"Certificacion de Cheques y Chequeras": {}, "Certificacion de Cheques y Chequeras": {},
"Perdida Cambiario": {}, "Perdida Cambiario": {},
"P\u00e9rdida en Venta de Activo Fijo": { "P\u00e9rdida en Venta de Activo Fijo": {
"account_type": "Cost of Goods Sold" "accountType": "Cost of Goods Sold"
}, },
"Siniestros": {} "Siniestros": {}
}, },
"root_type": "Expense" "rootType": "Expense"
}, },
"Ingresos": { "Ingresos": {
"Ingresos no Grabables": { "Ingresos no Grabables": {
"Ingreso por Rentas y Ganacias de Capital sujetas a Retencion Definitiva": {}, "Ingreso por Rentas y Ganacias de Capital sujetas a Retencion Definitiva": {},
"Interes Bancarios": {}, "Interes Bancarios": {},
"Otros Ingresos no Grabables": {} "Otros Ingresos no Grabables": {}
}, },
"Otros Ingresos Grabables": { "Otros Ingresos Grabables": {
"Ganacia Cambiaria": {}, "Ganacia Cambiaria": {},
"Otros Ingresos Grabables 1": {}, "Otros Ingresos Grabables 1": {},
"Sobrante en Arqueo de Caja": {} "Sobrante en Arqueo de Caja": {}
}, },
"Ventas": { "Ventas": {
"Venta de Bienes o Prestacion de Servicios Exentos": {}, "Venta de Bienes o Prestacion de Servicios Exentos": {},
"Venta de Bienes o Prestacion de Servicios Exonerados": {}, "Venta de Bienes o Prestacion de Servicios Exonerados": {},
"Venta de Bienes o Prestacion de Servicios Grabados": {}, "Venta de Bienes o Prestacion de Servicios Grabados": {},
"Venta por Exportaciones": {} "Venta por Exportaciones": {}
}, },
"root_type": "Income" "rootType": "Income"
}, },
"Pasivo": { "Pasivo": {
"Obligaciones por Arrendamiento Financiero a Largo Plazo": { "Obligaciones por Arrendamiento Financiero a Largo Plazo": {
"is_group": 1 "isGroup": 1
}, },
"Pasivo Corriente": { "Pasivo Corriente": {
"Anticipos de Clientes": {}, "Anticipos de Clientes": {},
"Cuentas por Pagar Proveedores": { "Cuentas por Pagar Proveedores": {
"Bienes Adquiridos no Pagados": { "Bienes Adquiridos no Pagados": {
"account_type": "Stock Received But Not Billed" "accountType": "Stock Received But Not Billed"
}, },
"Cuentas por Pagar Moneda Extrangera": { "Cuentas por Pagar Moneda Extrangera": {
"account_type": "Payable" "accountType": "Payable"
}, },
"Cuentas por Pagar Moneda Nacional": { "Cuentas por Pagar Moneda Nacional": {
"account_type": "Payable" "accountType": "Payable"
}, },
"Cuentas por Pagar por Importaciones": { "Cuentas por Pagar por Importaciones": {
"account_type": "Payable" "accountType": "Payable"
}, },
"Documentos por Pagar Moneda Extrangera": { "Documentos por Pagar Moneda Extrangera": {
"account_type": "Payable" "accountType": "Payable"
}, },
"Documentos por Pagar Moneda Nacional": { "Documentos por Pagar Moneda Nacional": {
"account_type": "Payable" "accountType": "Payable"
} }
}, },
"Gastos por Pagar": { "Gastos por Pagar": {
"Prestaciones Sociales": { "Prestaciones Sociales": {
"is_group": 1 "isGroup": 1
}, },
"Salarios por Pagar": {}, "Salarios por Pagar": {},
"Servicios Basicos 1": { "Servicios Basicos 1": {
"is_group": 1 "isGroup": 1
} }
}, },
"Impuestos por Pagar": { "Impuestos por Pagar": {
"Impuesto al Valor Agregado por Pagar": { "Impuesto al Valor Agregado por Pagar": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Impuesto sobre la Renta por Actividades Economicas": { "Impuesto sobre la Renta por Actividades Economicas": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Impuestos Municipales": { "Impuestos Municipales": {
"Impuesto Municipal Sobre Ingresos": { "Impuesto Municipal Sobre Ingresos": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Matricula Municipal": { "Matricula Municipal": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Recoleccion Basura": { "Recoleccion Basura": {
"account_type": "Tax" "accountType": "Tax"
} }
} }
}, },
"Otras Cuentas por Pagar": { "Otras Cuentas por Pagar": {
"is_group": 1 "isGroup": 1
}, },
"Pasivos Financieros a Corto Plazo": { "Pasivos Financieros a Corto Plazo": {
"Otras Deudas Bancarias": { "Otras Deudas Bancarias": {
"is_group": 1 "isGroup": 1
}, },
"Prestamos por Pagar a Corto Plazo": { "Prestamos por Pagar a Corto Plazo": {
"is_group": 1 "isGroup": 1
}, },
"Sobregiros Bancarios": { "Sobregiros Bancarios": {
"is_group": 1 "isGroup": 1
} }
}, },
"Provisiones por Pagar": { "Provisiones por Pagar": {
"Pasivos Laborales": { "Pasivos Laborales": {
"Aguinaldo por Pagar": {}, "Aguinaldo por Pagar": {},
"Indemnizacion Laboral": {} "Indemnizacion Laboral": {}
}, },
"Reclamos por Pagar": {}, "Reclamos por Pagar": {},
"Responsabilidad frente a terceros": {} "Responsabilidad frente a terceros": {}
}, },
"Retenciones por Pagar": { "Retenciones por Pagar": {
"Rentas de Actividades Economicas": { "Rentas de Actividades Economicas": {
"Otras Retenciones 10%": { "Otras Retenciones 10%": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion 10% Servicios Profesionales": { "Retencion 10% Servicios Profesionales": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion 2% por C/Bienes o P/Servicios": { "Retencion 2% por C/Bienes o P/Servicios": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion 3% compra Bienes Agropecuarios": { "Retencion 3% compra Bienes Agropecuarios": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion 5% compra Madera en Rollo": { "Retencion 5% compra Madera en Rollo": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion Definitiva 1.5% Actividades Economicas No Residentes": { "Retencion Definitiva 1.5% Actividades Economicas No Residentes": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion Definitiva 10% Actividades Economicas No Residentes": { "Retencion Definitiva 10% Actividades Economicas No Residentes": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion Definitiva 15% Actividades Economicas No Residentes": { "Retencion Definitiva 15% Actividades Economicas No Residentes": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion Definitiva 3% Actividades Economicas No Residentes": { "Retencion Definitiva 3% Actividades Economicas No Residentes": {
"account_type": "Tax" "accountType": "Tax"
} }
}, },
"Rentas del Trabajo": { "Rentas del Trabajo": {
"Retencion Definitiva 10% por Rentas del Trabajo - Indemnizacion Adicional": { "Retencion Definitiva 10% por Rentas del Trabajo - Indemnizacion Adicional": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion Definitiva 12.5% por Rentas del Trabajo - Dietas": { "Retencion Definitiva 12.5% por Rentas del Trabajo - Dietas": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion Definitiva 15% por Rentas del Trabajo - No Residentes": { "Retencion Definitiva 15% por Rentas del Trabajo - No Residentes": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion Rentas del Trabajo Tarifa Progresiva": { "Retencion Rentas del Trabajo Tarifa Progresiva": {
"account_type": "Tax" "accountType": "Tax"
} }
}, },
"Rentas y Ganancias de Capital": { "Rentas y Ganancias de Capital": {
"Retencion Definitiva 0.25% Transacciones Bursatiles": { "Retencion Definitiva 0.25% Transacciones Bursatiles": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion Definitiva 1% Transacciones Bursatiles": { "Retencion Definitiva 1% Transacciones Bursatiles": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion Definitiva 1.5% Transacciones Bursatiles": { "Retencion Definitiva 1.5% Transacciones Bursatiles": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion Definitiva 10% por Ganancia de Capital": { "Retencion Definitiva 10% por Ganancia de Capital": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion Definitiva 2% Transacciones Bursatiles": { "Retencion Definitiva 2% Transacciones Bursatiles": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion Definitiva 5% por Rentas de Capital": { "Retencion Definitiva 5% por Rentas de Capital": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion Defintiva 10% por Rentas de Capital": { "Retencion Defintiva 10% por Rentas de Capital": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retencion Defintiva 15% por Rentas de Capital": { "Retencion Defintiva 15% por Rentas de Capital": {
"account_type": "Tax" "accountType": "Tax"
}, },
"Retenciones Defintiva 5% Fondos de Inversion": { "Retenciones Defintiva 5% Fondos de Inversion": {
"account_type": "Tax" "accountType": "Tax"
} }
}, },
"Retencion 17% Operaciones con Paraisos Fiscales": { "Retencion 17% Operaciones con Paraisos Fiscales": {
"account_type": "Tax" "accountType": "Tax"
} }
} }
}, },
"Pasivo No Corriente": { "Pasivo No Corriente": {
"Cuentas por Pagar a Largo Plaso": { "Cuentas por Pagar a Largo Plaso": {
"is_group": 1 "isGroup": 1
}, },
"Otras Cuentas por Pagar a Largo Plazo": { "Otras Cuentas por Pagar a Largo Plazo": {
"is_group": 1 "isGroup": 1
}, },
"Otros Pasivos Financieros a Largo Plaso": { "Otros Pasivos Financieros a Largo Plaso": {
"is_group": 1 "isGroup": 1
}, },
"Prestamos a Largo Plazo": { "Prestamos a Largo Plazo": {
"is_group": 1 "isGroup": 1
} }
}, },
"Pasivo por Impuestos Diferidos": { "Pasivo por Impuestos Diferidos": {
"is_group": 1 "isGroup": 1
}, },
"root_type": "Liability" "rootType": "Liability"
} }
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -1,311 +1,311 @@
{ {
"country_code": "sg", "countryCode": "sg",
"name": "Singapore - Chart of Accounts", "name": "Singapore - Chart of Accounts",
"tree": { "tree": {
"Assets": { "Assets": {
"Current assets": { "Current assets": {
"Accounts Receivable": { "Accounts Receivable": {
"Credit Cards": { "Credit Cards": {
"AMEX Receivable": {}, "AMEX Receivable": {},
"CUP Receivale": {}, "CUP Receivale": {},
"MC Receivable": {}, "MC Receivable": {},
"NETS Receivable": {}, "NETS Receivable": {},
"VISA Receivable": {} "VISA Receivable": {}
}, },
"Debtors": { "Debtors": {
"account_type": "Receivable" "accountType": "Receivable"
} }
}, },
"Bank Accounts": { "Bank Accounts": {
"Paypal Account": { "Paypal Account": {
"account_type": "Bank" "accountType": "Bank"
}, },
"account_type": "Bank" "accountType": "Bank"
}, },
"Cash in Hand": { "Cash in Hand": {
"Cash in Transit": { "Cash in Transit": {
"account_type": "Cash" "accountType": "Cash"
}, },
"Petty Cash": { "Petty Cash": {
"account_type": "Cash" "accountType": "Cash"
}, },
"account_type": "Cash" "accountType": "Cash"
}, },
"Loans and Advances-Assets": { "Loans and Advances-Assets": {
"Prepayments": {} "Prepayments": {}
}, },
"Securities and Deposits": { "Securities and Deposits": {
"Bank Deposits": {}, "Bank Deposits": {},
"Bank Guarantees": {}, "Bank Guarantees": {},
"Rental Deposits": {} "Rental Deposits": {}
}, },
"Stock Assets": { "Stock Assets": {
"Stock in Hand": { "Stock in Hand": {
"account_type": "Stock" "accountType": "Stock"
} }
}, },
"Tax Assets": { "Tax Assets": {
"GST-Input": {} "GST-Input": {}
} }
}, },
"Non-current assets": { "Non-current assets": {
"Fixed Assets": { "Fixed Assets": {
"Accumulated Depreciation": { "Accumulated Depreciation": {
"AccDep-Equipment-ICT": { "AccDep-Equipment-ICT": {
"account_type": "Accumulated Depreciation" "accountType": "Accumulated Depreciation"
}, },
"AccDep-Equipment-Office": { "AccDep-Equipment-Office": {
"account_type": "Accumulated Depreciation" "accountType": "Accumulated Depreciation"
}, },
"AccDep-Furniture and Fixtures": { "AccDep-Furniture and Fixtures": {
"account_type": "Accumulated Depreciation" "accountType": "Accumulated Depreciation"
}, },
"AccDep-Motor Vehicle": { "AccDep-Motor Vehicle": {
"account_type": "Accumulated Depreciation" "accountType": "Accumulated Depreciation"
}, },
"AccDep-Plant and Machinery": { "AccDep-Plant and Machinery": {
"account_type": "Accumulated Depreciation" "accountType": "Accumulated Depreciation"
}, },
"account_type": "Accumulated Depreciation" "accountType": "Accumulated Depreciation"
}, },
"Equipment-ICT": { "Equipment-ICT": {
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
}, },
"Equipment-Office": { "Equipment-Office": {
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
}, },
"Furniture and Fixtures": { "Furniture and Fixtures": {
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
}, },
"Motor Vehicle": { "Motor Vehicle": {
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
}, },
"Plant and Machinery": { "Plant and Machinery": {
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
}, },
"account_type": "Fixed Asset" "accountType": "Fixed Asset"
}, },
"Non-Fixed Assets": { "Non-Fixed Assets": {
"Goodwill": {}, "Goodwill": {},
"Investments": { "Investments": {
"Investments-Associated Company": {}, "Investments-Associated Company": {},
"Investments-Subsidiary": {} "Investments-Subsidiary": {}
} }
}, },
"Shares": { "Shares": {
"Shares-Quoted": {}, "Shares-Quoted": {},
"Shares-Unquoted": {} "Shares-Unquoted": {}
} }
}, },
"Temporary Accunts": { "Temporary Accunts": {
"Temporary Opening": { "Temporary Opening": {
"account_type": "Temporary" "accountType": "Temporary"
} }
}, },
"root_type": "Asset" "rootType": "Asset"
}, },
"Equity": { "Equity": {
"Current Year Earnings": {}, "Current Year Earnings": {},
"Proposed Dividends": {}, "Proposed Dividends": {},
"Retained Earnings": {}, "Retained Earnings": {},
"Share Capital": {}, "Share Capital": {},
"root_type": "Equity" "rootType": "Equity"
}, },
"Expenses": { "Expenses": {
"Expenses-Administrative": { "Expenses-Administrative": {
"Audit Fees": {}, "Audit Fees": {},
"Bank charges and interest": {}, "Bank charges and interest": {},
"Currency Exchange Differences": {}, "Currency Exchange Differences": {},
"Insurance": {}, "Insurance": {},
"Interest on Loan": {}, "Interest on Loan": {},
"Legal and Professional Fees": {}, "Legal and Professional Fees": {},
"Loss on Disposal of FA": {}, "Loss on Disposal of FA": {},
"Postal and Courier Charges": {}, "Postal and Courier Charges": {},
"Printing and Stationery": {}, "Printing and Stationery": {},
"Secretarial Fees": {}, "Secretarial Fees": {},
"Tax Agent Fees": {} "Tax Agent Fees": {}
}, },
"Expenses-Direct": { "Expenses-Direct": {
"Cost of Goods Sold": { "Cost of Goods Sold": {
"account_type": "Cost of Goods Sold" "accountType": "Cost of Goods Sold"
}, },
"Cost of Sales": {}, "Cost of Sales": {},
"Expenses Included in Valuation": { "Expenses Included in Valuation": {
"account_type": "Expenses Included In Valuation" "accountType": "Expenses Included In Valuation"
}, },
"Stock Adjustment": { "Stock Adjustment": {
"account_type": "Stock Adjustment" "accountType": "Stock Adjustment"
} }
}, },
"Expenses-Marketing": { "Expenses-Marketing": {
"Advertising and Promotion": {}, "Advertising and Promotion": {},
"Graphic Design Fees": {}, "Graphic Design Fees": {},
"Internet Marketing": {} "Internet Marketing": {}
}, },
"Expenses-Operating": { "Expenses-Operating": {
"Cleaning Costs": {}, "Cleaning Costs": {},
"Commission Charges": { "Commission Charges": {
"Comm-Credit Card": {}, "Comm-Credit Card": {},
"Comm-NETS": {}, "Comm-NETS": {},
"Comm-Paypal": {} "Comm-Paypal": {}
}, },
"Communication Costs": { "Communication Costs": {
"Internet Connection": {}, "Internet Connection": {},
"Telephone Costs": {} "Telephone Costs": {}
}, },
"Entertainment Expenses": {}, "Entertainment Expenses": {},
"General Expenses": {}, "General Expenses": {},
"Licence Fees": {}, "Licence Fees": {},
"Rental Costs": { "Rental Costs": {
"Rental-Equipment": {}, "Rental-Equipment": {},
"Rental-Premises": {}, "Rental-Premises": {},
"Rental-Storage": {} "Rental-Storage": {}
}, },
"Repairs and Maintenance": { "Repairs and Maintenance": {
"R&M-Building": {}, "R&M-Building": {},
"R&M-Fixtures & Furniture": {}, "R&M-Fixtures & Furniture": {},
"R&M-ICT": {}, "R&M-ICT": {},
"R&M-Office": {}, "R&M-Office": {},
"R&M-Plant & Machinery": {} "R&M-Plant & Machinery": {}
}, },
"Service Fees": {}, "Service Fees": {},
"Subscription Fees": { "Subscription Fees": {
"Publication Subscriptions": {}, "Publication Subscriptions": {},
"TV Subscriptions": {} "TV Subscriptions": {}
}, },
"Travel Expenses": {}, "Travel Expenses": {},
"Utilities": { "Utilities": {
"Utility-Electricity": {}, "Utility-Electricity": {},
"Utility-Gas": {}, "Utility-Gas": {},
"Utility-Refuse Removal": {}, "Utility-Refuse Removal": {},
"Utility-Water": {} "Utility-Water": {}
} }
}, },
"Expenses-Other": { "Expenses-Other": {
"Bad Debts Written Off": {}, "Bad Debts Written Off": {},
"Depreciation": { "Depreciation": {
"Dep-Fixtures & Furniture": { "Dep-Fixtures & Furniture": {
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"Dep-ICT Equipment": { "Dep-ICT Equipment": {
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"Dep-Motor Vehicle": { "Dep-Motor Vehicle": {
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"Dep-Office Equipment": { "Dep-Office Equipment": {
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"Dep-Plant & Machinery": { "Dep-Plant & Machinery": {
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"Dep-Renovation": { "Dep-Renovation": {
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"account_type": "Depreciation" "accountType": "Depreciation"
}, },
"Donations": {}, "Donations": {},
"Round Off": {}, "Round Off": {},
"Tax Expenses": { "Tax Expenses": {
"Tax Expenses 1": {} "Tax Expenses 1": {}
} }
}, },
"Expenses-Staff": { "Expenses-Staff": {
"Bonuses": { "Bonuses": {
"Bonus-Executive": {}, "Bonus-Executive": {},
"Bonus-Non Executive": {}, "Bonus-Non Executive": {},
"Bonus-Performance": {} "Bonus-Performance": {}
}, },
"CPF": {}, "CPF": {},
"Directors Fees": {}, "Directors Fees": {},
"FWL": {}, "FWL": {},
"Incentives": {}, "Incentives": {},
"Medical Expenses": {}, "Medical Expenses": {},
"SDF": {}, "SDF": {},
"Salaries": { "Salaries": {
"Casual Labour": {}, "Casual Labour": {},
"Salary-Executive": {}, "Salary-Executive": {},
"Salary-Non Executive-Full Time": {}, "Salary-Non Executive-Full Time": {},
"Salary-Non Executive-Part Time": {} "Salary-Non Executive-Part Time": {}
}, },
"Security Expenses": {}, "Security Expenses": {},
"Staff Advertising": {}, "Staff Advertising": {},
"Staff Commission Paid": {}, "Staff Commission Paid": {},
"Staff Meals": {}, "Staff Meals": {},
"Staff Training": {}, "Staff Training": {},
"Staff Transport": {}, "Staff Transport": {},
"Staff Welfare": {} "Staff Welfare": {}
}, },
"root_type": "Expense" "rootType": "Expense"
}, },
"Income": { "Income": {
"Direct Income": { "Direct Income": {
"Management Income": {}, "Management Income": {},
"Sales Income": {} "Sales Income": {}
}, },
"Indirect Income": { "Indirect Income": {
"Government Grants": {}, "Government Grants": {},
"Interest Income": { "Interest Income": {
"Current Account Interest Earned": {}, "Current Account Interest Earned": {},
"Fixed Deposit Interest Earned": {} "Fixed Deposit Interest Earned": {}
}, },
"Other Income": {}, "Other Income": {},
"Service Charges": {} "Service Charges": {}
}, },
"root_type": "Income" "rootType": "Income"
}, },
"Liabilities": { "Liabilities": {
"Capital Account": { "Capital Account": {
"Reserves and Surplus": {}, "Reserves and Surplus": {},
"Shareholder Funds": {} "Shareholder Funds": {}
}, },
"Current liabilities": { "Current liabilities": {
"Accounts Payable": { "Accounts Payable": {
"Creditors": { "Creditors": {
"account_type": "Payable" "accountType": "Payable"
}, },
"Payroll Payable": {} "Payroll Payable": {}
}, },
"Duties and Taxes": { "Duties and Taxes": {
"Deferred Tax Liabilities-Current": {}, "Deferred Tax Liabilities-Current": {},
"GST-Output": {}, "GST-Output": {},
"Income Tax Payable": {}, "Income Tax Payable": {},
"account_type": "Tax" "accountType": "Tax"
}, },
"Loans-Current": { "Loans-Current": {
"Amount Owing to Directors": {}, "Amount Owing to Directors": {},
"Bank Overdaft Account": {}, "Bank Overdaft Account": {},
"Secured Loans": {}, "Secured Loans": {},
"Unsecured Loans": {} "Unsecured Loans": {}
}, },
"Provision and Accruals": { "Provision and Accruals": {
"Accruals": { "Accruals": {
"Accr-CPF": {}, "Accr-CPF": {},
"Accr-Sundry": {}, "Accr-Sundry": {},
"Accr-Withholding Tax": {} "Accr-Withholding Tax": {}
}, },
"Provisions": { "Provisions": {
"Prov-Audit Fee": {}, "Prov-Audit Fee": {},
"Prov-Bonus": { "Prov-Bonus": {
"Prov-Bonus-Executive": {}, "Prov-Bonus-Executive": {},
"Prov-Bonus-Non Executive": {} "Prov-Bonus-Non Executive": {}
}, },
"Prov-Others": {}, "Prov-Others": {},
"Prov-Tax Fee": {} "Prov-Tax Fee": {}
} }
}, },
"Sponsorship Funds": {}, "Sponsorship Funds": {},
"Stock Liabilities": { "Stock Liabilities": {
"Stock Received But Not Billed": { "Stock Received But Not Billed": {
"account_type": "Stock Received But Not Billed" "accountType": "Stock Received But Not Billed"
} }
} }
}, },
"Non-current liabilities": { "Non-current liabilities": {
"Deferred Tax Liabilities": {}, "Deferred Tax Liabilities": {},
"Loans-Non Current": {} "Loans-Non Current": {}
}, },
"root_type": "Liability" "rootType": "Liability"
} }
} }
} }

View File

@ -12,25 +12,25 @@ export default {
label: 'Item Name', label: 'Item Name',
fieldtype: 'Data', fieldtype: 'Data',
placeholder: 'Item Name', placeholder: 'Item Name',
required: 1 required: 1,
}, },
{ {
fieldname: 'image', fieldname: 'image',
label: 'Image', label: 'Image',
fieldtype: 'AttachImage' fieldtype: 'AttachImage',
}, },
{ {
fieldname: 'description', fieldname: 'description',
label: 'Description', label: 'Description',
placeholder: 'Item Description', placeholder: 'Item Description',
fieldtype: 'Text' fieldtype: 'Text',
}, },
{ {
fieldname: 'unit', fieldname: 'unit',
label: 'Unit Type', label: 'Unit Type',
fieldtype: 'Select', fieldtype: 'Select',
default: 'Unit', default: 'Unit',
options: ['Unit', 'Kg', 'Gram', 'Hour', 'Day'] options: ['Unit', 'Kg', 'Gram', 'Hour', 'Day'],
}, },
{ {
fieldname: 'itemType', fieldname: 'itemType',
@ -38,7 +38,7 @@ export default {
placeholder: 'Sales', placeholder: 'Sales',
fieldtype: 'Select', fieldtype: 'Select',
default: 'Product', default: 'Product',
options: ['Product', 'Service'] options: ['Product', 'Service'],
}, },
{ {
fieldname: 'incomeAccount', fieldname: 'incomeAccount',
@ -51,18 +51,22 @@ export default {
getFilters: () => { getFilters: () => {
return { return {
isGroup: 0, isGroup: 0,
accountType: 'Income Account' rootType: 'Income',
}; };
}, },
formulaDependsOn: ['itemType'], formulaDependsOn: ['itemType'],
formula(doc) { async formula(doc) {
let accountName = 'Service';
if (doc.itemType === 'Product') { if (doc.itemType === 'Product') {
return 'Sales'; accountName = 'Sales';
} }
if (doc.itemType === 'Service') {
return 'Service'; const accountExists = await frappe.db.exists('Account', accountName);
if (!accountExists) {
return '';
} }
} return accountName;
},
}, },
{ {
fieldname: 'expenseAccount', fieldname: 'expenseAccount',
@ -75,20 +79,27 @@ export default {
getFilters: () => { getFilters: () => {
return { return {
isGroup: 0, isGroup: 0,
accountType: ['in', ['Cost of Goods Sold', 'Expense Account']] rootType: 'Expense',
}; };
}, },
formulaDependsOn: ['itemType'], formulaDependsOn: ['itemType'],
formula() { async formula() {
return 'Cost of Goods Sold'; const cogs = await frappe.db
} .knex('Account')
.where({ accountType: 'Cost of Goods Sold' });
if (cogs.length === 0) {
return '';
} else {
return cogs[0].name;
}
},
}, },
{ {
fieldname: 'tax', fieldname: 'tax',
label: 'Tax', label: 'Tax',
fieldtype: 'Link', fieldtype: 'Link',
target: 'Tax', target: 'Tax',
placeholder: 'GST' placeholder: 'GST',
}, },
{ {
fieldname: 'rate', fieldname: 'rate',
@ -101,36 +112,44 @@ export default {
'Rate must be greater than 0' 'Rate must be greater than 0'
); );
} }
} },
} },
],
quickEditFields: [
'rate',
'unit',
'itemType',
'tax',
'description',
'incomeAccount',
'expenseAccount',
], ],
quickEditFields: ['rate', 'unit', 'itemType', 'tax', 'description'],
actions: [ actions: [
{ {
label: _('New Invoice'), label: _('New Invoice'),
condition: doc => !doc.isNew(), condition: (doc) => !doc.isNew(),
action: async (doc, router) => { action: async (doc, router) => {
const invoice = await frappe.getNewDoc('SalesInvoice'); const invoice = await frappe.getNewDoc('SalesInvoice');
invoice.append('items', { invoice.append('items', {
item: doc.name, item: doc.name,
rate: doc.rate, rate: doc.rate,
tax: doc.tax tax: doc.tax,
}); });
router.push(`/edit/SalesInvoice/${invoice.name}`); router.push(`/edit/SalesInvoice/${invoice.name}`);
} },
}, },
{ {
label: _('New Bill'), label: _('New Bill'),
condition: doc => !doc.isNew(), condition: (doc) => !doc.isNew(),
action: async (doc, router) => { action: async (doc, router) => {
const invoice = await frappe.getNewDoc('PurchaseInvoice'); const invoice = await frappe.getNewDoc('PurchaseInvoice');
invoice.append('items', { invoice.append('items', {
item: doc.name, item: doc.name,
rate: doc.rate, rate: doc.rate,
tax: doc.tax tax: doc.tax,
}); });
router.push(`/edit/PurchaseInvoice/${invoice.name}`); router.push(`/edit/PurchaseInvoice/${invoice.name}`);
} },
} },
] ],
}; };

View File

@ -133,6 +133,8 @@ export default {
} catch (e) { } catch (e) {
this.loading = false; this.loading = false;
if (e.type === frappe.errors.DuplicateEntryError) { if (e.type === frappe.errors.DuplicateEntryError) {
console.log(e);
console.log('retrying');
await this.renameDbFileAndRerunSetup(); await this.renameDbFileAndRerunSetup();
} else { } else {
handleErrorWithDialog(e, this.doc); handleErrorWithDialog(e, this.doc);
@ -142,8 +144,15 @@ export default {
async renameDbFileAndRerunSetup() { async renameDbFileAndRerunSetup() {
const filePath = config.get('lastSelectedFilePath'); const filePath = config.get('lastSelectedFilePath');
renameDbFile(filePath); renameDbFile(filePath);
frappe.removeFromCache('AccountingSettings', 'AccountingSettings');
delete frappe.AccountingSettings; // Clear cache to prevent doc changed error.
Object.keys(frappe.docs)
.filter((d) => frappe.docs[d][d] instanceof frappe.BaseMeta)
.forEach((d) => {
frappe.removeFromCache(d, d);
delete frappe[d];
});
const connectionSuccess = await connectToLocalDatabase(filePath); const connectionSuccess = await connectToLocalDatabase(filePath);
if (connectionSuccess) { if (connectionSuccess) {
await setupCompany(this.doc); await setupCompany(this.doc);

View File

@ -1,6 +1,7 @@
import frappe from 'frappejs'; import frappe from 'frappejs';
import countryList from '~/fixtures/countryInfo.json'; import countryList from '~/fixtures/countryInfo.json';
import generateTaxes from '../../../models/doctype/Tax/RegionalChanges'; import generateTaxes from '../../../models/doctype/Tax/RegionalChanges';
import { getCountryCOA } from '../../../accounting/importCOA';
import config from '@/config'; import config from '@/config';
export default async function setupCompany(setupWizardValues) { export default async function setupCompany(setupWizardValues) {
@ -36,7 +37,7 @@ export default async function setupCompany(setupWizardValues) {
}); });
await setupGlobalCurrencies(countryList); await setupGlobalCurrencies(countryList);
await setupChartOfAccounts(bankName); await setupChartOfAccounts(bankName, country);
await setupRegionalChanges(country); await setupRegionalChanges(country);
updateCompanyNameInConfig(); updateCompanyNameInConfig();
@ -72,34 +73,30 @@ async function setupGlobalCurrencies(countries) {
numberFormat: numberFormat || '#,###.##', numberFormat: numberFormat || '#,###.##',
}; };
const canCreate = await checkIfExactRecordAbsent(docObject); const doc = checkAndCreateDoc(docObject);
if (canCreate) { if (doc) {
const doc = await frappe.newDoc(docObject); promises.push(doc);
promises.push(doc.insert());
queue.push(currency); queue.push(currency);
} }
} }
return Promise.all(promises); return Promise.all(promises);
} }
async function setupChartOfAccounts(bankName) { async function setupChartOfAccounts(bankName, country) {
await frappe.call({ await frappe.call({
method: 'import-coa', method: 'import-coa',
}); });
const parentAccount = await getBankAccountParentName(country);
console.log('parent account gonna be', parentAccount, ` for ${country} `);
const docObject = { const docObject = {
doctype: 'Account', doctype: 'Account',
name: bankName, name: bankName,
rootType: 'Asset', rootType: 'Asset',
parentAccount: 'Bank Accounts', parentAccount,
accountType: 'Bank', accountType: 'Bank',
isGroup: 0, isGroup: 0,
}; };
await checkAndCreateDoc(docObject);
if (await checkIfExactRecordAbsent(docObject)) {
const accountDoc = await frappe.newDoc(docObject);
accountDoc.insert();
}
} }
async function setupRegionalChanges(country) { async function setupRegionalChanges(country) {
@ -147,3 +144,33 @@ export async function checkIfExactRecordAbsent(docObject) {
return false; return false;
} }
async function checkAndCreateDoc(docObject) {
const canCreate = await checkIfExactRecordAbsent(docObject);
if (!canCreate) {
return;
}
const doc = await frappe.newDoc(docObject);
return doc.insert();
}
async function getBankAccountParentName(country) {
const parentBankAccount = await frappe.db
.knex('Account')
.where({ isGroup: true, accountType: 'Bank' });
if (parentBankAccount.length === 0) {
// This should not happen if the fixtures are correct.
return 'Bank Accounts';
} else if (parentBankAccount.length > 1) {
switch (country) {
case 'Indonesia':
return 'Bank Rupiah - 1121.000';
default:
break;
}
}
return parentBankAccount[0].name;
}