Accounting Software
Emit new notifications when you create a new or update existing contact
Emit new notifications when you create a new or update existing invoice
Emit new event for each incoming webhook notification. To create a Xero Webhook, please follow the instructions here.
Adds line items to an existing sales invoice. See the docs here
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
Gets bank statements for the specified bank account.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
xero_accounting_api: {
type: "app",
app: "xero_accounting_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.xero.com/connections`,
headers: {
Authorization: `Bearer ${this.xero_accounting_api.$auth.oauth_access_token}`,
},
})
},
})
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}