
JST XH 4P header matches rating and pitch but uses a different mating interface.
B04B-XASK-1-A(LF)(SN) is a JST XA 4-position 2.5mm shrouded header. Candidates share pitch and rating, but none are confirmed pin-compatible.
Most kept parts show 3A/250V.
TH mount matches; footprint is unverified.
Passive connector; no firmware impact.
Some cross-vendor data is incomplete.
No confirmed pin-compatible replacement was found in this set.
Use the original XA part; for redesign, review B4B-XH-A or B4B-EH-A with matching housings.
XA mating geometry and polarizing boss may not match XH/EH/XHB parts.

JST XH 4P header matches rating and pitch but uses a different mating interface.
| Feature / factor | B04B-XASK-1-A(LF)(SN) | B4B-XH-A(LF)(SN) | B4B-EH-A(LF)(SN) | Alt 3 | Compatibility / risk |
|---|---|---|---|---|---|
| Package | Through Hole | Through Hole | - | Through Hole — mount type same | |
| Pinout | 4 positions, 1 row | 4 positions, 1 row | - | 4P, rows missing — row field absent | |
| Voltage | 250 V | 250 V | - | 250 V — rated same | |
| Current | 3 A | 3 A | - | 3 A — rated same | |
| Interface | XA shrouded | XH shrouded | - | EH shrouded — mating housing differs |
B4B-XH-A(LF)(SN) is the closest reviewed option, but it is XH, not XA, so it needs FAE review.