Preview and test e-invoice file templates
Learn how to preview and test e-invoice file templates by specifying an account and billing document in the e-invoice file template editor.
When e-invoice file templates are created, you must preview and test each e-invoice file template by specifying an account and billing document in the e-invoice file template editor.
To preview and test an e-invoice file template, perform the following steps:
- Click your avatar in the upper right and click Settings > Billing .
- On the Billing Settings page, click E-Invoice .
- On the E-Invoice Settings page, scroll down to the Templates section.
-
In the
Templates
section, locate the e-invoice file template you want to preview and click the Edit Content
icon. The e-invoice file template editor opens.
- Click Preview to switch from the Edit mode to the Preview mode.
- In the Preview Settings section, specify an account and billing document. Zuora will load the data of the specified account and billing document into your template and validate the template. For more information, see step 5 in Create and preview e-invoice file templates for billing documents through the Zuora UI .
-
If the validation fails, resolve the template format errors in the Edit mode.
Error messages are displayed in the left panel.
-
If the
E-Invoice Status
is
Failed
in the
Preview Settings
section, click
Download Logs
and then click the
Edit
tab to resolve the error in the Edit mode. After that, click the
Preview
tab to switch back to the Preview mode and then click
Regenerate E-Invoice
. You can switch between two tabs to resolve errors until the
E-Invoice Status
changes to
Success
.
The error can either be a Zuora-generated error or one returned by Avalara. For more information about error types and resolutions, see View e-invoice file status and error information through the Zuora UI
.
The
E-Invoice Status
field is available only if you have configured the e-invoicing profile for the account and posted the invoice. For more information, see Configure e-invoicing profile for customer accounts
.
- Click Save in the upper right to save the e-invoice file template.