Welcome to Zuora Product Documentation

Explore our rich library of product information

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:

  1. Click your avatar in the upper right and click Settings > Billing .
  2. On the Billing Settings page, click E-Invoice .
  3. On the E-Invoice Settings page, scroll down to the Templates section.
  4. 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.
  5. Click Preview to switch from the Edit mode to the Preview mode.
  6. 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 .
  7. If the validation fails, resolve the template format errors in the Edit mode. Error messages are displayed in the left panel. Error message
  8. 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 . Avalara invoice file template
  9. Click Save in the upper right to save the e-invoice file template.