Main Account Code

Coded identifier for the Treasury main account associated with the funding source tied to this Other Transaction Award. It represents the primary account within the Treasury Account structure rather than a narrative description.

Family: Other Transaction 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__OtherTransactionAward__contractDetail__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__mainAccountCode
Title
Main Account Code
FPDS Path
OtherTransactionAward/contractDetail/contractData/listOfTreasuryAccounts/treasuryAccount/treasuryAccountSymbol/mainAccountCode
Description
Coded identifier for the Treasury main account associated with the funding source tied to this Other Transaction Award. It represents the primary account within the Treasury Account structure rather than a narrative description.
Business Meaning
This field helps analysts trace obligations and award activity back to the federal appropriation or funding account that supports the transaction. It is useful for budget alignment, funding source analysis, and cross-walking award data to Treasury or appropriation-level reporting.
Example Value
0550
Observed Non-Null Count
13,368

FPDS Compare

FPDS Query Variable
content__OtherTransactionAward__contractDetail__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__mainAccountCode
FPDS XML Path
OtherTransactionAward/contractDetail/contractData/listOfTreasuryAccounts/treasuryAccount/treasuryAccountSymbol/mainAccountCode
Mapping Type
flattened_fpds_xml_field
Comparison Summary
FPDS Query flattens the original nested FPDS XML path 'OtherTransactionAward/contractDetail/contractData/listOfTreasuryAccounts/treasuryAccount/treasuryAccountSymbol/mainAccountCode' into the SQL-ready variable 'content__OtherTransactionAward__contractDetail__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__mainAccountCode'.

Use Cases

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

Common Usage

  • Linking awards to Treasury funding accounts
  • Grouping obligations by appropriation or main account
  • Filtering awards funded from a specific account code

Common Mistakes

  • Assuming the code is descriptive text
  • Normalizing away leading zeros or comparing as numeric

Query Guidance

Use the field as a string key in WHERE, GROUP BY, or JOIN clauses, and match on exact text values after trimming only if source data quality requires it. When possible, pair it with the corresponding account description or symbol fields to confirm meaning and avoid misclassification.

SQL Examples

Preview values

SELECT
    content__OtherTransactionAward__contractDetail__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__mainAccountCode AS main_account_code
FROM fpds.data
WHERE content__OtherTransactionAward__contractDetail__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__mainAccountCode IS NOT NULL
LIMIT 25

Top values

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