Sub Account Code
Sub-account code within the Treasury Account Symbol associated with an Other Transaction IDV obligation or funding record. It is a coded identifier, not a narrative description, and is used as part of the accounting string that partitions Treasury account activity.
FPDS Compare
Use Cases
- Dictionary lookup and field explanation
- SQL filtering and grouping
- Analytical reporting and reusable query building
Common Usage
- Linking obligation or funding activity to a specific Treasury sub-account
- Grouping records by account structure for reconciliation or audit review
- Filtering transactions by coded account segment in FPDS extracts
Common Mistakes
- Interpreting the code as a descriptive label rather than a coded value
- Using the field alone without the parent Treasury Account Symbol or related account components
Query Guidance
Use this field as a string and preserve leading zeros when filtering, grouping, or joining. In SQL, combine it with the parent Treasury account fields to build a complete account key, and normalize null or blank values before aggregation.
SQL Examples
Preview values
SELECT
content__OtherTransactionIDV__contractDetail__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode AS sub_account_code
FROM fpds.data
WHERE content__OtherTransactionIDV__contractDetail__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode IS NOT NULL
LIMIT 25
Top values
SELECT
content__OtherTransactionIDV__contractDetail__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode AS value,
count() AS record_count
FROM fpds.data
WHERE content__OtherTransactionIDV__contractDetail__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode IS NOT NULL
GROUP BY value
ORDER BY record_count DESC
LIMIT 25
Each dictionary item includes SQL-ready examples generated alongside the variable metadata, allowing immediate use in FPDS Query for filtering, aggregation, and analysis.