Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New invoice api for ability to group items in multiple invoices. #90

Merged
merged 4 commits into from May 4, 2022

Conversation

sbrossie
Copy link
Member

@sbrossie sbrossie commented Apr 28, 2022

@sbrossie sbrossie changed the base branch from master to work-for-release-0.23.x April 28, 2022 22:26
Second pass on api:
* Introduce separate triggerXXInvoiceGeneration for ease of incremental implementation (to be revisisted)
* Add accountId getInvoicesByGroup (also for ease of impl. as it requires it for context to avoid extra queries/indices)
@@ -180,6 +193,8 @@ public interface InvoiceUserApi extends KillbillApi {
@RequiresPermissions(INVOICE_CAN_DRY_RUN_INVOICE)
public Invoice triggerDryRunInvoiceGeneration(UUID accountId, LocalDate targetDate, DryRunArguments dryRunArguments, CallContext context) throws InvoiceApiException;

public Iterable<Invoice> triggerDryRunInvoiceGroupGeneration(UUID accountId, LocalDate targetDate, DryRunArguments dryRunArguments, CallContext context) throws InvoiceApiException;
Copy link
Member

Choose a reason for hiding this comment

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

Missing permissions.

@sbrossie sbrossie marked this pull request as ready for review May 3, 2022 17:00
@sbrossie sbrossie changed the title Prototype for 1658 New invoice api for ability to group items in multiple invoices. See killbill/killbill#1658 May 3, 2022
@sbrossie sbrossie changed the title New invoice api for ability to group items in multiple invoices. See killbill/killbill#1658 New invoice api for ability to group items in multiple invoices. May 3, 2022
@sbrossie sbrossie requested a review from pierre May 3, 2022 17:02
@pierre pierre merged commit 6d4abb2 into work-for-release-0.23.x May 4, 2022
@pierre pierre deleted the prototype-for-1658 branch May 4, 2022 08:44
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.

None yet

2 participants