@alex.garcia/libfec / Header
Interface: Header
Defined in: header.ts:10
A filing's header: the HDR record, or a 1.x/2.x /* Header block.
Properties
recordType
readonlyrecordType:string
Defined in: header.ts:12
"HDR", or "/*" for a 1.x/2.x /* Header block.
efType
readonlyefType:string
Defined in: header.ts:14
"FEC"; empty for paper filings.
fecVersion
readonlyfecVersion:string
Defined in: header.ts:16
The format version, e.g. "8.4" ("P3.4" for paper).
softwareName
readonlysoftwareName:string
Defined in: header.ts:18
The software that produced the filing ("FECfile", "NGP").
softwareVersion
readonlysoftwareVersion:string
Defined in: header.ts:20
Its version, as the software reports it.
reportId
readonlyreportId:string|null
Defined in: header.ts:22
For an amendment, the FEC ID of the report it amends ("FEC-1228863").
reportNumber
readonlyreportNumber:string|null
Defined in: header.ts:24
The amendment number: "1" for the first amendment, …
comment
readonlycomment:string|null
Defined in: header.ts:26
The filer's free-text header comment.
style
readonlystyle:"hdr"|"legacy_block"|"paper"
Defined in: header.ts:28
How the header is written: "hdr", "legacy_block" or "paper".
delimiter
readonlydelimiter:"fs"|"comma"
Defined in: header.ts:30
Body field delimiter: "fs" (0x1C) or "comma".
nameDelimiter
readonlynameDelimiter:string|null
Defined in: header.ts:32
Sub-delimiter of combined name fields (3.x–5.x and 1.x/2.x only).
batchNumber
readonlybatchNumber:string|null
Defined in: header.ts:34
Paper filings: FEC data-entry batch number.
receivedDate
readonlyreceivedDate:string|null
Defined in: header.ts:36
Paper filings P2.6+: date the FEC received the filing.
isPaper
readonlyisPaper:boolean
Defined in: header.ts:38
Whether this is FEC data entry of a paper filing.
legacyFields
readonlylegacyFields:Readonly<Record<string,string>>
Defined in: header.ts:40
1.x/2.x /* Header block: every key = value line before Schedule_Counts:, in file order. Empty otherwise.
scheduleCounts
readonlyscheduleCounts:Readonly<Record<string,string>>
Defined in: header.ts:42
1.x/2.x /* Header block: the Schedule_Counts: lines (row type → count as written). Empty otherwise.