Welcome to Zuora Product Documentation

Explore our rich library of product information

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

Use the following end-to-end test scenarios to validate the Japan pre-integrated package in Avalara.

These scenarios are modeled on the structure used in the Australia documentation and adapted to the confirmed Japan package scope.

Objective: Confirm that a posted B2B invoice in Zuora results in a valid Japan e-invoice transaction in Avalara and is available in the expected output formats.

High-level steps:

  1. In Zuora, create and post an invoice for a Japan customer whose account, sold-to contact, and business region satisfy all e-invoicing prerequisites.
  2. Trigger e-invoicing so that the invoice is submitted to Avalara.
  3. In Avalara, locate the Japan transaction and review the generated output.
  4. Verify that the transaction passes the required validations for your Japan setup.
  5. Download the generated document in the supported formats and verify the output.

Expected results:

  • Avalara accepts the invoice without blocking validation errors.
  • The generated output uses the expected Japan mapping and structure.
  • The configured download types are available and usable.

Scenario 2: Credit memo flow

Objective: Verify that Avalara correctly processes credit memos sent from Zuora for the Japan package.

High-level steps:

  1. Create and post a credit memo that references a previously posted invoice.
  2. Trigger e-invoicing for the credit memo.
  3. In Avalara, verify that a new transaction is created for the credit memo.
  4. Confirm that references to the original invoice, amounts, and document classification are correct.
  5. Download the generated output and verify the expected values.

Expected results:

  • Avalara accepts and classifies the credit memo correctly.
  • References to the original invoice are preserved where required.
  • The output matches the intended adjustment.

Scenario 3: Debit memo flow

Objective: Verify that debit memos are processed correctly for the Japan package.

High-level steps:

  1. Create and post a debit memo for the same Japan customer and business region.
  2. Trigger e-invoicing for the debit memo.
  3. In Avalara, verify that a new transaction is created.
  4. Review the generated output and confirm that the amounts and references are correct.
  5. Download the generated document for validation.

Expected results:

  • Avalara accepts the debit memo successfully.
  • Buyer, seller, and fiscal data are consistent with the source transaction.
  • The generated output reflects the additional charge correctly.

Scenario 4: Validation failures and data quality checks

Objective: Confirm that invalid or incomplete source data is detected correctly.

Suggested negative tests:

  • Missing or invalid seller identifier
  • Missing or invalid buyer identifier
  • Missing or invalid endpoint/destination code
  • Incomplete sold-to contact data
  • Incorrect business region configuration
  • Submission attempted with a billing document that is not in the required status

Expected results:

  • Avalara returns clear validation failures.
  • Your team can identify whether the correction must be made in Zuora configuration, source data, or template mapping.

Scenario 5: Resubmission, resync, and regeneration

Objective: Confirm that the Japan package behaves correctly after source data is corrected.

High-level steps:

  1. Intentionally submit a transaction with invalid data.
  2. Correct the issue in Zuora.
  3. Re-trigger e-invoicing or execute the supported operational recovery flow.
  4. In Avalara, verify that the corrected transaction is processed successfully.
  5. Compare the failed and corrected outputs.

Expected results:

  • The corrected transaction is processed successfully.
  • Operational teams can follow a clear recovery pattern for Japan transactions.

Scenario 6: Cancellation and known limitations

Objective: Understand how corrective or cancellation-related business scenarios should be handled for the Japan package.

High-level steps:

  1. Execute the relevant reversal or correction flow in Zuora.
  2. Observe how the follow-up transaction is represented in Avalara.
  3. Confirm whether the required business outcome is handled through a corrective billing document, manual handling, or another agreed process.
  4. Document any country-specific limitations or manual steps in your operational runbook.

Expected results:

  • Your team has a documented approach for correction and exception handling.
  • Any known limitations are captured before production rollout.