Selection Criterion Formula Wizard question

SOLVED

I have a recurring task that exports invoices to our EDI system and I'm trying to implement a selection criteria to separate out invoices from selected customers. I have tried variations on the script below but it is constantly rejected by the formula wizard. Can anyone help me parse out the error(s)? I think I'm using the OR operator incorrectly but I can't get any reference on how it should be use. Thanks for your help

[F:SIV]X810STA=2 & [F:SIV]INVTYP=1 & (date$>= ([F:SIV]INVDAT + [F:SIV]YDAYSDELAY)) & [F:SIV]INVSTA=3 & ([F:SIV]BPCINV=050360 | [F:SIV]BPCINV = 100535 | [F:SIV]BPCINV = 190069 | [F:SIV]BPCINV = 400015 | [F:SIV]BPCINV = 570140 | [F:SIV]BPCINV = 610168)

Paul