Invoice %RandomInvoiceNumber% for %FirstName%
" r = self._upload(api, "inv.html", html.encode(), "text/html", name="Inline Invoice", description="per-recipient html") > assert r.status_code in (200, 201), r.text E AssertionError: {"detail":"HTML rejected: Unsubstituted variables remain: ['FirstName', 'RandomInvoiceNumber']"} E assert 400 in (200, 201) E + where 400 =