Drop name and have not cash as just payments so everything unless specified and then specify cash format.
Or you could use a ternary expression within a single payments section;
[= ‘{A}’==‘B’ ? ‘True’ : ‘False’]
You can use that inline with content of template to skip or change bits as needed.
You shouldn’t need to specify each. if you put your XCT in the unspecified general PAYMENT section and only specify cash without it is like order void where unless specified it does the generic template.
It is probably reconmended to leave the generic format in either way encase payment type is added and then doesnt have a payments section for it.