View as Markdown
Fakturoid icon

Fakturoid ACTION

Pay or Remove Payment for Invoice

Executes payment for an invoice or removes an already applied payment. See the documentation
  • Action
  • Writes data
  • Destructive
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Fakturoid account once, then configure and run Pay or Remove Payment for Invoice from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "fakturoid-pay-remove-payment-invoice",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    fakturoid: { authProvisionId: "apn_xxxxxxx" },
    accountSlug: "Account",
    invoiceId: "Invoice ID",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Pay or Remove Payment for Invoice inputs
Property Type Description
accountSlug Account string
The account you want to use
Required Dynamic
invoiceId Invoice ID string
Unique identifier for the invoice
Required Dynamic
actionType Action Type string
Specify if you want to execute or remove a payment
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
fakturoid-pay-remove-payment-invoice
Version
0.0.2
App
Fakturoid
Authentication
OAuth
Read-only
No
Destructive
Yes
Open world
Yes