states/FL.json
|
{ "state": "FL", "spec": { "document": "Florida DR-309653, Motor Fuel Taxes Comma Delimited (CSV) and Flat File Specifications, carrier return (DR-309637), with DR-309654 for the DEP facility number", "version": "R. 01/26 (version 5)", "where": "https://floridarevenue.com/Forms_library/current/dr309653.pdf", "pinned": "2026-01", "checked": "2026-09-23", "note": "the carrier csv layout is unchanged from the import specification these tests were first written against: same 17 columns, lengths and types. the DEP county placeholder (county code then seven 1s) matches both DR-309653 and DR-309654. the bol, net and tax id tests follow this version (DOC_NUM up to 12 characters, GALLONS up to 11 with one implied decimal, FEIN exactly 9 digits); gross is not in the carrier file, so its test is ours." }, "max_length": { "supplier.name": 35, "consignor.name": 35, "consignee.name": 35 }, "tests": [ { "type": "Freight", "name": "BOL is missing or over 12 characters", "field": "bol", "test": "^.{1,12}$" }, { "type": "Freight", "name": "Net is not a 1 to 10 digit number", "field": "net", "test": "^[0-9]{1,10}$" }, { "type": "Freight", "name": "Gross is not a 3 to 6 digit number", "field": "gross", "test": "^[0-9]{3,6}$" }, { "type": "Freight", "name": "No Commodity Code Mapping", "field": "cmd_code", "test": "^(?!nocode-).+$" }, { "type": "Freight", "name": "Missing Ship Date", "field": "shipped", "test": "^.+$" }, { "type": "Freight", "name": "Missing Shipper", "field": "shipper.cmp_id", "test": "^.+$" }, { "type": "Freight", "name": "Missing Supplier", "field": "supplier.cmp_id", "test": "^.+$" }, { "type": "Freight", "name": "Missing AccountOf/Consignor", "field": "consignor.cmp_id", "test": "^.+$" }, { "type": "Freight", "name": "Missing Consignee", "field": "consignee.cmp_id", "test": "^.+$" }, { "type": "Shipper", "name": "Shipper State is not 2 letters", "field": "shipper.state", "test": "^[a-z]{2}$" }, { "type": "Shipper", "name": "Shipper TCN missing or Invalid Format", "field": "shipper.tcn", "test": "^T[0-9]{2}[a-z]{2}[0-9]{4}$" }, { "type": "Supplier", "name": "Supplier Tax ID is not a 9 digit number", "field": "supplier.tax_id", "test": "^[0-9]{9}$" }, { "type": "Consignor", "name": "Consignor Tax ID is not a 9 digit number", "field": "consignor.tax_id", "test": "^[0-9]{9}$" }, { "type": "Consignee", "name": "Missing Consignee name", "field": "consignee.name", "test": "^.+$" }, { "type": "Consignee", "name": "Missing Consignee Address", "field": "consignee.address", "test": "^.+$" }, { "type": "Consignee", "name": "Missing Consignee City", "field": "consignee.city", "test": "^.+$" }, { "type": "Consignee", "name": "Consignee State is not 2 Letters", "field": "consignee.state", "test": "^[a-z]{2}$" }, { "type": "Consignee", "name": "Missing Consignee Zip", "field": "consignee.zip", "test": "^.+$" }, { "type": "Consignee", "name": "Consignee Tax ID is not a 9 digit number", "field": "consignee.tax_id", "test": "^[0-9]{9}$" }, { "type": "Consignee", "name": "Consignee DEP is not a valid-county DEP facility number or a 2 letter state", "field": "consignee.dep", "test": "^(0[1-9]|[1-5][0-9]|6[0-7])[0-9]{7}$|^[a-z]{2}$" }, { "type": "Freight", "name": "Delivery date outside the filing period", "field": "delivered.inperiod", "test": "^1$" } ] } |