Typless is an easy-to-use invoice OCR REST API powered by AI
The Typless API offers a streamlined solution for extracting data from documents using machine learning. With its capability, you can automate the process of pulling out specific information from various document types, such as invoices, receipts, or identity documents, turning unstructured data into structured and actionable data points.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
typless: {
type: "app",
app: "typless",
}
},
async run({steps, $}) {
const data = {
"document_type_name": `simple-invoice`,
}
return await axios($, {
method: "post",
url: `https://developers.typless.com/api/start-training`,
headers: {
"Accept": `application/json`,
"Authorization": `Token ${this.typless.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})