Hi tg24,
The invoice number property on customer and supplier payments can effectively only be used to force match-on-booking of a single invoice.
However, once the payment has been booked, you can match it against multiple invoices using DebtorEntryUtil/CreditorEntryUtil.MatchEntries(). These take an array of DebtorEntry/CreditorEntry objects, respectively - all of which must be in the same currency (cross-currency matching is generally not supported). Suffice to say, the entries supplied must contain at least one positive and one negative entry :-)
Best regards,
The invoice number property on customer and supplier payments can effectively only be used to force match-on-booking of a single invoice.
However, once the payment has been booked, you can match it against multiple invoices using DebtorEntryUtil/CreditorEntryUtil.MatchEntries(). These take an array of DebtorEntry/CreditorEntry objects, respectively - all of which must be in the same currency (cross-currency matching is generally not supported). Suffice to say, the entries supplied must contain at least one positive and one negative entry :-)
Best regards,