-
Notifications
You must be signed in to change notification settings - Fork 3
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
forward-latest-invoice command #177
Comments
no, that's outgoing invoices. |
Probably need to create a vendor ID for Heroku in Quickbooks first? |
Yes we need first vendor for Heroku before, that will be work. |
I think sanbox testing more usable only for US currency and other things. When you are working with Quickbooks Online for production for pondersource not include all of this features.
|
When you are creating Account the |
When you are creating |
The interesting part is they have a validation if some account or vendor exist you can just this id return and in Bill use when sending invoice. |
We can use accessToken instead client_id and client_secret because we are not using UI interface. The problem accessToken is they will work only for one hour after it you need to refresh access token and get new token. But for test working I think it will be okay. |
Something like
php src/cli-single.php forward-latest-invoice heroku quickbooks
Add the command in
src/run-command.php
and add a file for it insrc/commands/
It should be the latest complete invoice, not the currently accumulating usage for the next invoice (depending on Heroku API).
It should hopefully be idempotent (depending on Quickbooks API).
The text was updated successfully, but these errors were encountered: