Problem
You are unable to email the customer an invoice and instead receive an application error message that says Value must be positive. (Parameter 'count').
Solution
In ServiceTitan, go to Settings > Invoicing > Email.
Click the Invoice tab.
In the Body field, check if there are two online payment links.
If there are two links, remove one of them.
Email the invoice again to the customer.