View as Markdown
Firmao icon

Firmao ACTION

Create Offer

Create a new quote/offer. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Firmao account once, then configure and run Create Offer 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: "firmao-create-offer",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    firmao: { authProvisionId: "apn_xxxxxxx" },
    number: "Unique Number",
    type: "Offer Type",
  },
})

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 Offer inputs
Property Type Description
number Unique Number string
Unique number of the offer.
Required
type Offer Type string
Type of the offer.
Required
mode Offer Mode string
Mode of the offer.
Required
offerDate Offer Date string
Date of the offer. e.g 2012-07-17T00:00:00+02:00
Required
netPrice Net Price string
Net price of the offer.
Optional
grossPrice Gross Price string
Gross price of the offer.
Optional
vatPrice VAT Price string
Value Added Tax price of the offer.
Optional
currency Currency string
Currency of the offer.
Optional
validFrom Valid From string
Date from which the offer is valid. e.g 2012-07-17T00:00:00+02:00
Optional
offerStatus Offer Status string
Status of the offer.
Optional
paymentDate Payment Date string
Payment date of the offer. e.g 2012-07-17T00:00:00+02:00
Optional
customerAddressPostCode Customer Address Post Code string
Post code of the customer's address.
Optional
daysToDueDate Days To Due Date integer
Number of days to the due date of the offer.
Optional
customer Customer string
Customer ID to be added in an offer
Optional Dynamic
customerAddressCity Customer Address City string
City of the customer's address.
Optional
customerAddressCountry Customer Address Country string
Country of the customer's address.
Optional
customerAddressStreet Customer Address Street string
Street of the customer's address.
Optional
nipNumber NIP Number string
NIP number of the customer.
Optional
issuingPerson Issuing Person string
Person issuing the offer.
Optional

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
firmao-create-offer
Version
0.0.2
App
Firmao
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes