-
Notifications
You must be signed in to change notification settings - Fork 34
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
[Feature] Add paid_out_of_bound
boolean to better identify invoices paid outside of Stripe
#32
Comments
Hi @d3ad-pix3l thanks so much for opening this feature request. Before we talked further about this feature, I did want to bring light to the Do you by chance see the Let me know if this was helpful. If you are unable to find that field in the metadata object then we can chat more about the possible implementation of this feature. Thanks! |
@fivetran-joemarkiewicz I checked the |
Ah I see this is a field that doesn't exist within the Since there doesn't seem to be a very clear and direct way to identify if an invoice was paid_out_of_bound, I am leaning towards trying to bring the field into the connector instead of attempting to recreate in the dbt package. It actually looks like another customer was hoping to do the same with their Feature Request. I think a best next step would be for you to upvote that FR and comment your need for the field within the invoice table. Reaching out to your account rep should also be able to get more eyes on this to be integrated into the connector. Let me know if you have any other questions! |
@fivetran-joemarkiewicz That makes sense. I was told to create the issue here, but think there might have been some confusion about the ask and what was currently being supported. I have followed and voted the linked feature request and will send an email to our rep. Thanks for your help. |
Happy to help @d3ad-pix3l Yeah I would be happy to support this within the package but it seems like there would be too many edge cases that we wouldn't be able to account for in our logic if we implemented a transformation to recreate the field. Since it seems to be a similar request from other customers, it may be the most beneficial to add this field into the connector itself. I would rather have the connector produce something 100% accurate than try our best to recreate the field in the dbt package and see it not work in all cases. I will close this issue as your rep will be able to direct you in the right place following our discussion here. Feel free to have the rep loop me into your correspondence if I can help provide any clarification 😄 |
Is there an existing feature request for this?
Describe the Feature
There is a
paid_out_of_bound
value in the Stripe API that flags whether an invoice was marked as "Paid outside of Stripe" which is helpful to be able to isolate invoices where the funds weren't collected through Stripe directly.Link to the API docs: https://stripe.com/docs/api/invoices/object#invoice_object-paid_out_of_band
In my specific use case, I was trying to understand why invoices were marked as paid, but had no
charge
record. Upon further investigation, this could be due a few different scenarios:It would greatly simplify any logic needed to identify each scenario by including the Boolean.
Describe alternatives you've considered
I started to play around with logic based on the
invoice.amount_due
value to check why nocharge
was created to clearly show the different scenarios. Right now the solution would be to evaluate whether the discount, applied balance, min charge or credit note covered the entire invoice and then anything remaining would be assumed as Paid Outside of Stripe.Are you interested in contributing this feature?
Anything else?
No response
The text was updated successfully, but these errors were encountered: