Sub Account Code
A coded sub-account identifier nested under a Treasury Account symbol for an IDV’s funding record. It represents the lower-level account code used to distinguish funding segments within the broader Treasury account structure.
FPDS Compare
Use Cases
- Dictionary lookup and field explanation
- SQL filtering and grouping
- Analytical reporting and reusable query building
Common Usage
- Linking IDV funding records to Treasury account subdivisions
- Grouping obligations by sub-account within a Treasury account
- Filtering awards for fund source or account-level reconciliation
Common Mistakes
- Interpreting the code as a human-readable description
- Using the field alone without the parent Treasury account symbol
Query Guidance
Select and group this field together with the parent Treasury account fields; use exact string comparison for filtering because the value is a code and may contain leading zeros. When reconciling funds, partition by the full account hierarchy rather than this field alone.
SQL Examples
Preview values
SELECT
content__IDV__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode AS sub_account_code
FROM fpds.data
WHERE content__IDV__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode IS NOT NULL
LIMIT 25
Top values
SELECT
content__IDV__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode AS value,
count() AS record_count
FROM fpds.data
WHERE content__IDV__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.