View as Markdown
Quaderno icon

Quaderno ACTION

Update Invoice

Modify an existing invoice's details in Quaderno. See the Documentation.
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Quaderno account once, then configure and run Update 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: "quaderno-update-invoice",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    quaderno: { authProvisionId: "apn_xxxxxxx" },
    firstName: "First Name",
    lastName: "Last Name",
  },
})

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.

Update Invoice inputs
Property Type Description
firstName First Name string
The customer's first name who will be billed.
Required
lastName Last Name string
The customer's last name who will be billed.
Optional
dueDate Due Date string
The date on which payment for this invoice is due. Must be in YYYY-MM-DD format.
Optional
currency Currency string
Three-letter ISO currency code, in uppercase.
Optional
recurringPeriod Recurring Period string
The period of time between each invoice. Can be days, weeks, months, years.
Optional
recurringFrequency Recurring Frequency integer
The number of periods between each invoice.
Optional
country Country string
Optional
postalCode Postal Code string
ZIP or postal code.
Optional
region Region string
State/Province/Region.
Optional
streetLine1 Street Line 1 string
Address line 1 (Street address/PO Box).
Optional
subject Subject string
The subject of the invoice.
Optional
howManyItems How Many Items integer
The items here will be ADDED to the existing invoice items
Optional
invoiceId Invoice ID string
The ID of the invoice to retrieve.
Required Dynamic

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
quaderno-update-invoice
Version
0.0.2
App
Quaderno
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes