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.

Family: IDV
Category: Contract Data
Data Type: identifier_or_code
Semantic Type: identifier
Mapping: flattened_fpds_xml_field
AI Confidence: high

Variable Overview

FPDS Query Variable
content__IDV__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode
Title
Sub Account Code
FPDS Path
IDV/contractData/listOfTreasuryAccounts/treasuryAccount/treasuryAccountSymbol/subAccountCode
Description
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.
Business Meaning
This field helps analysts trace how indefinite delivery vehicle funding is tied to specific Treasury account subdivisions, which is important for budget attribution, fund control, and reconciling obligation activity to the correct fiscal account structure. It can also support filtering and grouping when multiple sub-accounts exist under one Treasury account.
Example Value
000
Observed Non-Null Count
162,181

FPDS Compare

FPDS Query Variable
content__IDV__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode
FPDS XML Path
IDV/contractData/listOfTreasuryAccounts/treasuryAccount/treasuryAccountSymbol/subAccountCode
Mapping Type
flattened_fpds_xml_field
Comparison Summary
FPDS Query flattens the original nested FPDS XML path 'IDV/contractData/listOfTreasuryAccounts/treasuryAccount/treasuryAccountSymbol/subAccountCode' into the SQL-ready variable 'content__IDV__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode'.

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.