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

draft invoices persist in synced data warehouse, despite being published #84

Open
GeorgeTouros opened this issue May 24, 2022 · 0 comments

Comments

@GeorgeTouros
Copy link

Chargebee invoices can be generated as drafts. In this case, their id is something like 'draft_inv_*' and they remain in that state until the invoice is published and sent to the customer. We have noticed that there are cases where our 'invoices' table maintains the draft invoice, even after the proper invoice has been published and paid. We would expect that the draft id would at least have a "deleted"=True flag, but that's not the case.
So far we had been ignoring draft invoices for calculations, but now we want to create an operational check for invoices that are stuck in draft state, and that's how we noticed it.
We are using chargebee v1 catalog, with Stitch on a BigQuery project.

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

No branches or pull requests

1 participant