Skip to content

Conversation

annvelents
Copy link
Contributor

Context

In order to switch to invoice numbering generation via billing_entities, invoices should have billing_entity_sequential_id populated. that's why we're updating:

  1. when generating invoice's organization_sequential_id, put the same value to the billing_entity_sequential_id
  2. when switching on org from per_customer to per_organization, fulfil billing_entity_sequential_id as well as organization_sequential_id

Description

  • Added job to fulfil billing_entity_sequential_id on invoices
  • updated sequential_id generation to also fill billing_entity_sequential_id with the generated value
  • updated service responsible for sequential_id generation when switching document numbering on organization

@annvelents annvelents force-pushed the fix/multientities-return-be-sequential-id-rebased branch from 492144c to a35c5ca Compare May 12, 2025 08:25
@annvelents annvelents force-pushed the fix/multientities-return-be-sequential-id-rebased branch from a35c5ca to a76eaa1 Compare May 12, 2025 08:29
@annvelents annvelents changed the title Fix(multientities): return be sequential id rebased Fix(multientities): return be sequential id May 12, 2025
Copy link
Contributor

@ancorcruz ancorcruz left a comment

Choose a reason for hiding this comment

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

LGTM

@annvelents annvelents merged commit ce786e0 into main May 14, 2025
14 checks passed
@annvelents annvelents deleted the fix/multientities-return-be-sequential-id-rebased branch May 14, 2025 13:36
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.

2 participants