Skip to content

feat: Add new tables, pages, and extensions for Avalara integration#6391

Open
sthompson-queue wants to merge 3 commits intomicrosoft:mainfrom
Queue-Associates:main
Open

feat: Add new tables, pages, and extensions for Avalara integration#6391
sthompson-queue wants to merge 3 commits intomicrosoft:mainfrom
Queue-Associates:main

Conversation

@sthompson-queue
Copy link

@sthompson-queue sthompson-queue commented Feb 2, 2026

Summary

Enhancements for the setup and processing experience by adding:
(1) a Test Connection button in setup
(2) dynamic input fields driven by country mandates
(3) download and update of tax-authority-returned invoice documents
(4) response status management per invoice
(5) receive notifications from Avalara ELR

Work Item(s)

Fixes #6385

- Created "AvalaraInput Field" table to store input field configurations.
- Added "Avalara Input Fields" page for managing input fields.
- Extended "Posted Sales Credit Memo" page to include Avalara Doc. ID.
- Extended "Sales Cr.Memo Header" and "Sales Header" tables to include Avalara Doc. ID.
- Added "Avalara Trans. Rule Type" enum extension for Avalara-specific transformation rules.
- Extended "Data Exch Field Mapping Part" page to include default value field.
- Enhanced "E-Doc. Service Data Exch. Sub" page with assist edit for document type.
- Extended "E-Documents" page with actions for receiving and downloading documents from Avalara.
- Created "Maintenance" codeunit for processing E-Documents.
- Added "Media Types" and "Message Event" tables for handling media types and message events.
- Created "Message Events Subform" and "Message Response Card" pages for displaying message events and responses.
- Extended "Transformation Rule" table to include advanced lookup fields.
- Updated "Transformation Rules" page to support advanced lookup configuration.
@sthompson-queue sthompson-queue requested review from a team as code owners February 2, 2026 09:58
@github-actions github-actions bot added AL: Apps (W1) Add-on apps for W1 From Fork Pull request is coming from a fork labels Feb 2, 2026
@Groenbech96
Copy link
Contributor

@sthompson-queue i want it build, before the PG does any review.
I would suggest that you use the ruleset in the repo to compile against. That should help fix any issues that will directly fail the build.

Then for the review part, i would ask for technical documentation on the app. You can add it as a readme.MD file in the project root, or on the PR itself.

I would also ask you to write tests both E2E and unit tests.

Copy link
Contributor

@Groenbech96 Groenbech96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently not building

@JesperSchulz JesperSchulz added the Integration GitHub request for Integration area label Feb 3, 2026
- Added namespace and using directives for Avalara integration across multiple files.
- Extended various pages and tables to support Avalara-specific functionality, including Sales Credit Memo, Sales Header, and Message Event.
- Enhanced Connection Setup Card with improved tooltips and updated variable names for clarity.
- Introduced new fields and improved data handling in the Message Response and Message Event tables.
- Updated Processing and Requests codeunits to streamline document handling and API interactions.
- Created README.md for comprehensive documentation on the Avalara E-Document Connector, detailing architecture, setup, and usage.
@sthompson-queue
Copy link
Author

@Groenbech96 I have modified the code to align with the MS rulesets and have added a readme.md. I am working on the integration tests now. Thanks

- Created Unit Tests for Upgrade Codeunit to validate upgrade tags and migration scenarios.
- Implemented Unit Tests for Avalara Functions to ensure correct behavior of connection setup and media type retrieval.
- Developed Unit Tests for Document Management to verify JSON parsing and document status handling.
- Added comprehensive tests for HTTP processing, including request execution and document processing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1 From Fork Pull request is coming from a fork Integration GitHub request for Integration area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BC Idea]: Avalara Functional Enhancements

3 participants