Details
Description
Invoice line items with a quantity of 0 (zero) are treated as a quantity of 1 (one).
This is true regardless of how the invoice is created (via UI, via cron, via API, etc.).
The issue appears to be with the error checking. The system attempts to convert blank quantities to 1 for convenience, but also appears to non-blank values such as 0 to 1 as well.