View as Markdown
Fakturoid icon

Fakturoid ACTION

Create Invoice

Creates a new invoice. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Fakturoid account once, then configure and run Create 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-create-invoice",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    fakturoid: { authProvisionId: "apn_xxxxxxx" },
    accountSlug: "Account",
    customId: "Custom 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.

Create Invoice inputs
Property Type Description
accountSlug Account string
The account you want to use
Required Dynamic
customId Custom Id string
Identifier in your application
Optional
documentType Document Type string
Type of document
Optional
subjectId Subject Id string
The id of the subject
Required Dynamic
orderNumber Order Number string
Order number in your application
Optional
note Note string
Additional notes for the invoice
Optional
due Due string
Invoice due date in number of days from today
Optional
issuedOn Issued On string
Date of issue. Format: YYYY-MM-DD
Optional
taxableFulfillmentDue Taxable Fulfillment Due string
Chargeable event date.
Optional
tags Tags string[]
List of tags
Optional
roundTotal Round Total boolean
Round total amount (VAT included)
Optional
subtotal Subtotal string
Total without VAT
Optional
total Total string
Total with VAT
Optional
lines Lines string[]
List of object lines to invoice. See the documentation. Example: {"name": "Hard work","quantity": "1.0","unit_name": "h","unit_price": "40000","vat_rate": "21"}
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-create-invoice
Version
0.0.2
App
Fakturoid
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes