Skip to main content

Tax preview to prevent negative billing documents

Zuora

Tax preview to prevent negative billing documents

You can use the Enable tax preview with external tax engines during generation of invoice and credit memo billing rule to determine the document type (invoice or credit memo) through the tax preview to external tax vendors. The purpose is to prevent negative billing documents, including negative invoices and negative credit memos, when you use the Invoice Settlement feature.

If a billing document contains more than 1,000 items, the tax preview is not performed, regardless of the option selected for the billing rule.

This feature is available only if you have the Taxation and Invoice Settlement features enabled.

Tax preview overview

If you use Zuora Tax as the tax solution, the tax preview is always performed to determine the document type regardless of the option selected for this billing rule. 

If you use external tax vendors for tax calculation, such as direct Avalara integration or configurable tax apps, you can use the billing rule to enable the tax preview. Given the following considerations, it is best practice to set this billing rule to Yes only when you encounter negative billing document issues:

  • The tax preview sends additional tax API requests to the tax vendor, probably increasing additional costs.
  • The tax preview adds an additional step to the billing document generation process, probably introducing considerable performance impacts.

Negative billing documents might be generated if you select the Create credit memos for net negative invoice totals without grouping charges or Create credit memos for net negative invoice totals for the Invoice/Credit Memo generation rule billing rule. The document type (invoice or credit memo) is determined by whether the total amount of all charges included in the billing process is positive or negative before any taxes are calculated. However, taxes might change the sign of the total amount in some cases.

Tax preview use cases

You can apply this billing rule to scenarios where you might have unexpected negative billing comments.

Total invoice amount changing to negative from zero

One invoice has both positive and negative items. The total amount without tax is zero before the tax is calculated. After the tax is calculated, the total amount changes from zero to a negative value due to taxable negative invoice items.

The following table lists information about an invoice with a total amount of zero before the tax is calculated.

Invoice item SKU name Unit price Amount without tax Tax mode Tax amount Charge amount

1

Freeze Adjustment

-29.99

-29.99

Exclusive

0.00

-29.99

2

Freeze Charge

0.00

0.00

Exclusive

0.00

0.00

3

Dues

29.99

29.99

None

0.00

29.99

After the tax is calculated, the total amount of the invoice becomes negative. The following table lists information about the invoice with a negative total amount. 

Invoice item SKU name Unit price Amount without tax Tax mode Tax amount Charge amount

1

Freeze Adjustment

-29.99

-29.99

Exclusive

-3.03

-33.02

2

Freeze Charge

0.00

0.00

Exclusive

0.00

0.00

3

Dues

29.99

29.99

None

0.00

29.99

Total invoice amount changing to negative from positive

One invoice has both positive and negative items. The total amount without tax is postive before the tax is calculated. After the tax is calculated, the total amount changes to a negative value because the invoice contains taxable or non-taxable invoice items, or the tax rates are different.

The following table lists information about an invoice with a positive total amount before the tax is calculated.

Invoice item SKU name Unit price Amount without tax Tax mode Tax amount Charge amount

1

Freeze Adjustment

-1,200.00

-1,200.00

Exclusive

0.00

-1,200.00

2

Freeze Charge

1,250.00

1,250.00

None

0.00

1,250.00

After the tax is calculated, the total amount of the invoice becomes negative. The following table lists information about the invoice with a negative total amount. 

Invoice item SKU name Unit price Amount without tax Tax mode Tax amount Charge amount

1

Freeze Adjustment

-1,200.00

-1,200.00

Exclusive

-120.00

-1,320.00

2

Freeze Charge

1,250.00

1,250.00

None

0.00

1,250.00