Skip to content

Conversation

@groyoh
Copy link
Contributor

@groyoh groyoh commented Oct 7, 2025

Context

Currently, our customers cannot sync invoices to multiple accounting entities (subsidiaries) as our mapping is made at the organization level. However, in NetSuite, for instance, the tax and item mapping are made at the entity level. We need to allow our mapping to be defined at the entity level.

Description

This is a follow-up PR to #4445.

This PR adds a billing_entity_id field to the integration_mappings along with the proper indexes and validations.

There will be a follow-up PR which updates the integration payload services to define a lookup and fallback strategy based on the available mappings.

@groyoh groyoh force-pushed the feat/entity-integration-collection-mapping branch from aba2eec to a49b5c3 Compare October 7, 2025 08:38
@groyoh groyoh force-pushed the feat/entity-integration-mapping branch 2 times, most recently from c7288a1 to ef4bf5a Compare October 7, 2025 08:42
@groyoh groyoh marked this pull request as ready for review October 7, 2025 08:43
@groyoh groyoh force-pushed the feat/entity-integration-mapping branch from ef4bf5a to a7bb294 Compare October 8, 2025 09:42
@groyoh groyoh force-pushed the feat/entity-integration-collection-mapping branch from 129717b to 174d7c4 Compare October 9, 2025 08:38
@groyoh groyoh force-pushed the feat/entity-integration-mapping branch from a7bb294 to d7ea4ee Compare October 9, 2025 08:38
@groyoh groyoh force-pushed the feat/entity-integration-collection-mapping branch 2 times, most recently from 1c11988 to a46d524 Compare October 31, 2025 08:58
@groyoh groyoh force-pushed the feat/entity-integration-mapping branch 2 times, most recently from cd1999e to 55052ce Compare October 31, 2025 09:25
@groyoh groyoh force-pushed the feat/entity-integration-collection-mapping branch from a46d524 to 0a0c3d7 Compare November 10, 2025 10:05
@groyoh groyoh force-pushed the feat/entity-integration-mapping branch from 55052ce to 8601a12 Compare November 10, 2025 10:06
Base automatically changed from feat/entity-integration-collection-mapping to main November 10, 2025 10:20
@groyoh groyoh force-pushed the feat/entity-integration-mapping branch from 8601a12 to d099e27 Compare November 10, 2025 10:20
@groyoh groyoh merged commit b9bf387 into main Nov 10, 2025
14 checks passed
@groyoh groyoh deleted the feat/entity-integration-mapping branch November 10, 2025 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants