with Vosfactures and Formatting?
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
The Vosfactures API offers robust features for managing invoices, quotes, and orders within your business. With Pipedream, you can automate workflows that leverage these capabilities, streamlining your accounting processes and integrating them with other apps. From auto-generating invoices based on specific triggers to syncing your financials with accounting software or CRM systems, the opportunities for automation are vast.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vosfactures: {
type: "app",
app: "vosfactures",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.vosfactures.$auth.domain}.vosfactures.fr/clients.json`,
params: {
api_token: `${this.vosfactures.$auth.api_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})