Welcome to Zuora Product Documentation

Explore our rich library of product information

Recommended end-to-end test scenarios in Avalara for Poland

Use these end-to-end invoice, memo, and discount scenarios to validate Poland e-invoicing and tax processing in Avalara.

Scenario 1: Standard invoice flow

  1. Create an invoice from the subscription.

  2. Post the invoice.

  3. Verify that the Poland e-invoice is generated successfully in Avalara.

Scenario 2: Credit memo flow

  1. Create a credit memo from the invoice.

  2. Post the credit memo.

  3. Verify that the credit memo is processed successfully through the Poland configuration.

Scenario 3: Debit memo flow

  1. Create a debit memo from the invoice.

  2. Post the debit memo.

  3. Verify that the debit memo is processed successfully through the Poland configuration.

Scenario 4: Reverse invoice flow

  1. Generate an invoice from the subscription.

  2. Reverse the invoice.

  3. Verify that the reverse operation creates a new credit memo from the invoice and that the result is handled correctly in the Poland flow.

Scenario 5: Write-off flow

  1. Generate an invoice from the subscription.

  2. Write off the invoice.

  3. Verify that the write-off operation creates a new credit memo from the invoice and that the result is handled correctly in the Poland flow.

Scenario 6: Subscription cancellation credit memo flow

  1. Generate a credit memo from subscription cancellation.

  2. Post the credit memo.

  3. Verify that the resulting document is processed successfully for Poland.

Scenario 7: Reverse credit memo to debit memo flow

  1. Reverse the credit memo created from the previous cancellation scenario.

  2. Verify that a debit memo is created from the invoice.

  3. Confirm that the resulting debit memo is processed successfully for Poland.

Scenario 8: Positive discount invoice scenario

  1. Set the billing rule to create credit memos for net negative invoice totals without grouping charges.

  2. Create and post an invoice.

  3. Remove a product charge in the middle of the billing period.

  4. Add another product charge without discount and with a greater charge amount so that the net amount remains positive.

  5. Trigger a bill run with the target date set to the next billing period.

  6. Verify that an invoice is created with a positive discount outcome.

Scenario 9: Reverse the positive discount invoice

  1. Reverse the invoice created in the positive discount scenario.

  2. Verify that the corresponding credit memo is created and processed correctly.

Scenario 10: Positive discount credit memo scenario

  1. Set the billing rule to create credit memos for net negative invoice totals without grouping charges.

  2. Create a subscription with a product charge that has no discount.

  3. Create and post an invoice.

  4. Remove that charge in the middle of the billing period.

  5. Add another product charge with a discount and with a lower charge amount so that the net amount becomes negative.

  6. Trigger a bill run with the target date set to the next billing period.

  7. Verify that a credit memo is created with a positive discount outcome.

Scenario 11: Reverse the positive discount credit memo

  1. Reverse the credit memo created in the previous scenario.

  2. Verify that a debit memo is created successfully.

Known test consideration

Do not treat Discount (Allowance Charge) line items as supported standard line items for Poland without additional validation, because they were rejected in the tested implementation.