Has anyone created a new AR RECEIPT through the AR_INVOICE_API_PUB.create_single_invoice API attache
When trying to create an AR receipt using
AR_INVOICE_API_PUB.create_single_invoice the api fails with message
'Payment method must be automatic if you enter a customer bank account ID'
The customer does not have a primary receipt method but I am including the customer_bank_account_id in the API.
The payment method is automatic.
If I update the customer receipt method id and set the primary flag then the API is successful.
Can I create an AR RECEIPT through the API if the customer does not have a primary receipt method by using the customer_bank_account_id ?