with ifthenpay and Quaderno?
Emit new event when a payment is successfully completed through Ifthenpay. See the documentation
Emit new event when a new invoice is generated in Quaderno. See the Documentation
Emit new event when a payment is successfully processed in Quaderno. See the Documentation
Generates a Multibanco or MB WAY payment reference with a specified amount, entity code, and deadline. See the documentation
Issue a full or partial refund for a previously completed payment via Ifthenpay. See the documentation
Modify an existing invoice's details in Quaderno. See the Documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ifthenpay: {
type: "app",
app: "ifthenpay",
}
},
async run({steps, $}) {
const data = {
"boKey": `${this.ifthenpay.$auth.backoffice_key}`,
"dateStart": `21-10-2024 00:00:00`,
"dateEnd": `30-04-2025 00:00:00`,
}
return await axios($, {
method: "post",
url: `https://api.ifthenpay.com/v2/payments/read`,
headers: {
"accept": `application/json`,
},
data,
})
},
})
The Quaderno API provides robust capabilities for handling sales tax, VAT, and GST compliance. It allows you to automate tax calculations, create and send invoices, and manage transactions and reports with ease. Integrating the Quaderno API on Pipedream opens up opportunities to streamline your finance operations by connecting to various other services like CRMs, payment gateways, and e-commerce platforms, all while leveraging Pipedream's serverless platform to execute custom logic without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
quaderno: {
type: "app",
app: "quaderno",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.quaderno.$auth.domain}/api/authorization`,
headers: {
"Accept": `application/json`,
},
auth: {
username: `${this.quaderno.$auth.api_key}`,
password: ``,
},
})
},
})