FacturaDirecta is a powerful API that lets you create and manage invoices, quotes, and other documents. You can use it to automate your billing process, or to create custom documents for your clients. FacturaDirecta is easy to use and has a wide range of features, making it a great choice for any business.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
facturadirecta: {
type: "app",
app: "facturadirecta",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.facturadirecta.$auth.account_name}.facturadirecta.com/api/products.xml`,
auth: {
username: `${this.facturadirecta.$auth.api_token}`,
password: `x`,
},
})
},
})
FacturaDirecta uses API keys for authentication. When you connect your FacturaDirecta account, Pipedream securely stores the keys so you can easily authenticate to FacturaDirecta APIs in both code and no-code steps.
To retrieve your API keys,