Sub Account Code

A coded sub-account identifier nested under the Treasury Account symbol. It specifies the lower-level account subdivision used to track a particular funding purpose or appropriation detail within the broader Treasury Account structure.

Family: Award
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__award__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode
Title
Sub Account Code
FPDS Path
award/contractData/listOfTreasuryAccounts/treasuryAccount/treasuryAccountSymbol/subAccountCode
Description
A coded sub-account identifier nested under the Treasury Account symbol. It specifies the lower-level account subdivision used to track a particular funding purpose or appropriation detail within the broader Treasury Account structure.
Business Meaning
This field helps analysts trace obligations and outlays to a more granular funding bucket than the top-level Treasury Account. It is useful for examining how contract actions are tied to specific sub-accounts, especially when reconciling funding sources, appropriations, or program-level spending patterns.
Example Value
002
Observed Non-Null Count
4,241,016

FPDS Compare

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

Use Cases

  • Dictionary lookup and field explanation
  • SQL filtering and grouping
  • Analytical reporting and reusable query building

Common Usage

  • Filtering contract actions by specific Treasury sub-account
  • Grouping obligations by funding source at a finer level than Treasury Account
  • Reconciling FPDS records to budget or accounting data

Common Mistakes

  • Assuming the code is self-describing without a lookup table
  • Aggregating across sub-account codes without also considering the parent Treasury Account

Query Guidance

Use this field as a coded grouping or filter column, typically in combination with the parent Treasury Account symbol and related account identifiers. In SQL, compare exact code values, preserve leading zeros, and avoid numeric casting because codes such as '002' are identifiers rather than numbers.

SQL Examples

Preview values

SELECT
    content__award__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode AS sub_account_code
FROM fpds.data
WHERE content__award__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode IS NOT NULL
LIMIT 25

Top values

SELECT
    content__award__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode AS value,
    count() AS record_count
FROM fpds.data
WHERE content__award__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.