Field help (IPYPAYTYP) 

The payment number can be found thanks to payment type. This field is mandatory.