• Why is "Pay Later" never properly selected?

    Hello I have this issue where all invoices created from the below code are always created with payment method "Cash", even though I make it "Pay Later". Also, the invoices have a "PAID" stamp on them, which they shouldn't according to SAGE users here…