Mapping between NetSuite chart of accounts and standard financial statement presentation. Use when querying NetSuite financial data, creating P&L statements, analyzing business line performance, or discussing revenue, costs, payroll, or any financial metrics that require knowing which NetSuite accounts to query or how to present financial data.
This skill provides the mapping between your company's NetSuite chart of accounts and standard financial statement presentation. It enables Claude to correctly query NetSuite data and present it in the proper P&L format that matches your business expectations.
Use this skill for any query involving:
The skill provides complete knowledge of the chart of accounts structure:
Business Lines:
Account Categories:
The skill understands how detailed payroll accounts roll up to consolidated categories:
The skill knows the standard P&L format for presenting NetSuite data:
Revenue by Business Line:
Total Payroll for a Business Line:
For Core:
Producer Payroll = 50004 + 50006 + 50007 + 50005
Support Payroll = 50008 + 50010 + 50011 + 50009
Total Core Payroll = Producer + Support
Pattern applies to other lines (51xxx for Emerging, 52xxx for Growth, etc.)
Querying Revenue:
SELECT SUM(amount)
FROM transaction
WHERE account IN (40000, 41000, 42000, 42500, 43000, 44000)
AND trandate BETWEEN [start] AND [end]
GROUP BY account
Querying Cost of Sales by Business Line:
SELECT account, SUM(amount)
FROM transaction
WHERE account >= 50000 AND account < 60000
AND trandate BETWEEN [start] AND [end]
GROUP BY account
Querying Total Payroll:
SELECT SUM(amount)
FROM transaction
WHERE account IN (
-- List specific payroll accounts or use ranges
50004, 50006, 50007, 50005, 50008, 50010, 50011, 50009,
51004, 51006, 51007, 51005, 51008, 51010, 51011, 51009,
-- etc.
)
AND trandate BETWEEN [start] AND [end]
Identify what financial information is being requested:
Based on the request, load the appropriate reference documents:
For account lookups or general structure questions:
Read: references/chart-of-accounts.md
For payroll-related queries:
Read: references/payroll-mappings.md
For P&L statement creation:
Read: references/pl-template.md
Use the NetSuite tools to query the appropriate accounts:
Use ns_runReport or ns_runCustomSuiteQL to pull data from identified accounts
Format the data according to the standard P&L template:
Analysis:
Query:
SELECT SUM(amount)
FROM transaction
WHERE account = 40000
AND trandate BETWEEN '2024-07-01' AND '2024-09-30'
Analysis:
Query:
SELECT account, SUM(amount)
FROM transaction
WHERE account IN (52004, 52005, 52006, 52007, 52008, 52009, 52010, 52011)
AND trandate BETWEEN [start] AND [end]
GROUP BY account
Presentation:
Growth Business Line Payroll Costs
Producer Payroll:
Payroll Expense (52004): $XXX,XXX
Payroll Taxes (52006): $XX,XXX
Payroll Benefits (52007): $XX,XXX
Payroll Bonus (52005): $XX,XXX
Subtotal Producer: $XXX,XXX
Support Payroll:
Payroll Expense (52008): $XXX,XXX
Payroll Taxes (52010): $XX,XXX
Payroll Benefits (52011): $XX,XXX
Payroll Bonus (52009): $XX,XXX
Subtotal Support: $XXX,XXX
Total Growth Payroll: $XXX,XXX
Workflow:
The account numbering follows a logical pattern:
Cost of Sales (5xxxx):
Payroll within COS:
When pulling NetSuite data, verify:
CRITICAL: Always ask the user for the fiscal year start month before making date-based queries. Do not assume fiscal year = calendar year.
This skill includes three detailed reference documents:
references/chart-of-accounts.md Complete chart of accounts with all 150+ accounts organized by business line and category.
references/payroll-mappings.md Detailed mapping of how individual payroll accounts roll up to consolidated payroll categories, with account number patterns and calculation formulas.
references/pl-template.md Standard P&L statement format showing exactly how to present NetSuite data in consolidated income statement format, including formatting guidelines and presentation standards.