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

Invoice missing amount_paid and amount_remaining properties #452

Merged
merged 1 commit into from
Feb 28, 2018
Merged

Invoice missing amount_paid and amount_remaining properties #452

merged 1 commit into from
Feb 28, 2018

Conversation

nickdnk
Copy link
Contributor

@nickdnk nickdnk commented Feb 28, 2018

For some reason I missed these in my phpdoc frenzy. Probably because they're also not listed on https://stripe.com/docs/api#invoice_object in the left section, only in the example on the right.

Just a minor edit.

@brandur-stripe
Copy link
Contributor

Looks good. Thank you!

@brandur-stripe brandur-stripe merged commit 40679aa into stripe:master Feb 28, 2018
@brandur-stripe
Copy link
Contributor

Released as 6.3.2.

@nickdnk
Copy link
Contributor Author

nickdnk commented Feb 28, 2018

Cool

However, it seems these properties don't exist on all invoices, which I don't really understand. I emailed support about it. I'll update this thread when they reply.

@ob-stripe
Copy link
Contributor

Just a guess, but I think these properties are specific to invoices paid via ACH Credit Transfer.

@nickdnk
Copy link
Contributor Author

nickdnk commented Feb 28, 2018

I received this answer from support:

Thanks for writing in, and for contributing to our libraries! You're totally right: amount_paid and amount_remaining were added last week and haven't yet been documented.

There is a bug with these fields that our Subscriptions team is actively working on fixing -- I'll let you know when a fix is out.

So I suppose the properties are valid for all invoices but just bug out a little bit currently.

@ob-stripe
Copy link
Contributor

Yep, seems likely. Thanks for closing the loop!

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

3 participants