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
Create an invoice from the subscription.
Post the invoice.
Verify that the Poland e-invoice is generated successfully in Avalara.
Scenario 2: Credit memo flow
Create a credit memo from the invoice.
Post the credit memo.
Verify that the credit memo is processed successfully through the Poland configuration.
Scenario 3: Debit memo flow
Create a debit memo from the invoice.
Post the debit memo.
Verify that the debit memo is processed successfully through the Poland configuration.
Scenario 4: Reverse invoice flow
Generate an invoice from the subscription.
Reverse the invoice.
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
Generate an invoice from the subscription.
Write off the invoice.
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
Generate a credit memo from subscription cancellation.
Post the credit memo.
Verify that the resulting document is processed successfully for Poland.
Scenario 7: Reverse credit memo to debit memo flow
Reverse the credit memo created from the previous cancellation scenario.
Verify that a debit memo is created from the invoice.
Confirm that the resulting debit memo is processed successfully for Poland.
Scenario 8: Positive discount invoice scenario
Set the billing rule to create credit memos for net negative invoice totals without grouping charges.
Create and post an invoice.
Remove a product charge in the middle of the billing period.
Add another product charge without discount and with a greater charge amount so that the net amount remains positive.
Trigger a bill run with the target date set to the next billing period.
Verify that an invoice is created with a positive discount outcome.
Scenario 9: Reverse the positive discount invoice
Reverse the invoice created in the positive discount scenario.
Verify that the corresponding credit memo is created and processed correctly.
Scenario 10: Positive discount credit memo scenario
Set the billing rule to create credit memos for net negative invoice totals without grouping charges.
Create a subscription with a product charge that has no discount.
Create and post an invoice.
Remove that charge in the middle of the billing period.
Add another product charge with a discount and with a lower charge amount so that the net amount becomes negative.
Trigger a bill run with the target date set to the next billing period.
Verify that a credit memo is created with a positive discount outcome.
Scenario 11: Reverse the positive discount credit memo
Reverse the credit memo created in the previous scenario.
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.