Closed nanthony21 closed 3 years ago
The following code results in an error when trying to download.
inv = InvoiceGenerator("MyName", "CustomerName", number=1, payments_terms="Terms", notes="MyNotes") inv.add_custom_field("Account", '123456789') inv.add_item("Item1", 1, 120, "description") inv.download('invoice.pdf')
Exception: Invoice download request returned response code: 400. {'error': "The option 'quantity' does not exist. Defined options are: 'name', 'value'."}
If I comment out the add_custom_field line then it works fine.
add_custom_field
The following code results in an error when trying to download.
If I comment out the
add_custom_field
line then it works fine.