The generation info of Lenovo ThinkPad X1 Carbon is marked on the back cover (i.e., 6th Generation), with shiny black color (ink ?), near the fan's openings.
The battery's original PN for 6th gen is ASM P/N SB10K97587 (FRU P/N 01AV430), marked visible on the battery (after removing the back cover).