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

[Components] fakturoid #13809

Closed
pipedream-component-development opened this issue Sep 3, 2024 · 4 comments · Fixed by #13961
Closed

[Components] fakturoid #13809

pipedream-component-development opened this issue Sep 3, 2024 · 4 comments · Fixed by #13961
Assignees
Labels
triaged For maintainers: This issue has been triaged by a Pipedream employee

Comments

@pipedream-component-development
Copy link
Collaborator

fakturoid

URLs

Webhook Sources

invoice-status-change-instant

Prompt

Emit new event when an invoice status changes to 'Overdue' or 'Paid'. Props required: invoice_id, new_status.

URLs

Polling Sources

new-contact

Prompt

Emit new event when a contact is added in fakturoid. No props required.

URLs

new-invoice

Prompt

Emit new event when a new invoice is created in fakturoid. Optional prop: customer_id to filter invoices to a specific customer.

URLs

Actions

create-invoice

Prompt

Creates a new invoice. Requires 'contact_id' and 'lines' props to establish associated contact and invoice items. Optionally, 'number', 'due', and 'note' props may be provided to assign the invoice number, due date and additional notes.

URLs

cancel-uncancel-invoice

Prompt

Cancels an existing invoice or revokes previous cancellation. Requires 'invoice_id' prop denoting the identification number of the relevant invoice.

URLs

pay-remove-payment-invoice

Prompt

Executes payment for an invoice or removes an already applied payment. Requires 'invoice_id' prop defining the specific invoice to be targeted. Optional 'payment_value' prop can be provided to stipulate payment amount.

URLs

@luancazarine luancazarine self-assigned this Sep 16, 2024
@vunguyenhung vunguyenhung added the triaged For maintainers: This issue has been triaged by a Pipedream employee label Sep 17, 2024
luancazarine added a commit that referenced this issue Sep 17, 2024
Sources
 - Invoice Status Change (Instant)
 - New Contact
 - New Invoice

Actions
 - Create Invoice
 - Cancel Uncancel Invoice
 - Pay Remove Payment Invoice
@sergio-eliot-rodriguez
Copy link
Collaborator

Unless better opinion @dannyroosevelt
looks like webhooks can't be implemented via the API. this is what fakturoid said after back and forth:

I'm not sure what exactly do you mean by registering them programmatically? In this context users need to set the webhooks up themselves, the integration can't do it for them automatically - if that's what you meant.

Regards 🤖

@sergio-eliot-rodriguez
Copy link
Collaborator

so maybe implement the source by api polling instead of webhook base (?)

@dannyroosevelt
Copy link
Collaborator

Yea sounds good, thanks Sergio

luancazarine added a commit that referenced this issue Oct 15, 2024
Sources
 - Invoice Updated
 - New Contact
 - New Invoice

Actions
 - Create Invoice
 - Cancel Uncancel Invoice
 - Pay Remove Payment Invoice
@luancazarine luancazarine moved this from Doing to Ready for PR Review in Component (Source and Action) Backlog Oct 15, 2024
@GTFalcao GTFalcao moved this from Ready for PR Review to In Review in Component (Source and Action) Backlog Oct 15, 2024
@GTFalcao GTFalcao moved this from In Review to Ready for QA in Component (Source and Action) Backlog Oct 15, 2024
@vunguyenhung vunguyenhung moved this from Ready for QA to In QA in Component (Source and Action) Backlog Oct 16, 2024
@vunguyenhung vunguyenhung moved this from In QA to Ready for QA in Component (Source and Action) Backlog Oct 16, 2024
@vunguyenhung vunguyenhung moved this from Ready for QA to Ready for Release in Component (Source and Action) Backlog Oct 16, 2024
@vunguyenhung
Copy link
Collaborator

Hi everyone, all test cases are passed! Ready for release!

Test report
https://vunguyenhung.notion.site/Components-fakturoid-120bf548bb5e81fe86a7f2cb0b1a082c

luancazarine added a commit that referenced this issue Oct 16, 2024
* fakturoid init

* [Components] fakturoid #13809
Sources
 - Invoice Status Change (Instant)
 - New Contact
 - New Invoice

Actions
 - Create Invoice
 - Cancel Uncancel Invoice
 - Pay Remove Payment Invoice

* pnpm update

* [Components] fakturoid #13809
Sources
 - Invoice Updated
 - New Contact
 - New Invoice

Actions
 - Create Invoice
 - Cancel Uncancel Invoice
 - Pay Remove Payment Invoice

* update @pipedream/platform dependence version

* pnpm update

* Update components/fakturoid/actions/create-invoice/create-invoice.mjs

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@github-project-automation github-project-automation bot moved this from Ready for Release to Done in Component (Source and Action) Backlog Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged For maintainers: This issue has been triaged by a Pipedream employee
Projects
Development

Successfully merging a pull request may close this issue.

5 participants