Refers #214 -- More intuitive case checking
Refers #214 -- Raise an error if invoice isn't paid

Otherwise the exporter will just output a 0 byte pdf