Mastranet AI

Document automation: build in-house or choose a platform?

Compare in-house development, a platform and a hybrid for document automation: full costs, data, integration, pilot design and operational ownership.

Mastranet Team
9 min read
Comparing in-house development, a platform and the business workflow

Building a PDF reader and operating a document workflow are different jobs. Before choosing in-house development or a platform, compare the complete workflow: data, checks, exceptions, integration and maintenance.

The decision concerns the process, not just the model

A prototype can read an invoice and return convincing JSON. An operational service must also receive the right document, recognise a revision, match item codes and orders, handle exceptions and establish whether the ERP accepted the result. The distance between those two outcomes is the first thing to evaluate.

Define one workflow, such as supplier confirmations or delivery notes received with goods. Identify channels, documents, fields, rules and the destination system. Delivery notes may arrive on paper, so scanning and intake belong in the scope rather than assuming that every workflow starts with an email.

Three options to compare

Building internally, adopting a platform and combining the two are realistic alternatives. None is universally best. What matters is which responsibilities the company wants to retain and which service the supplier actually agrees to provide.

ApproachMain responsibilityWhen to consider it
In-house developmentThe team maintains extraction, checks, review, integration and operationsThe process is distinctive and ongoing engineering capacity is available
PlatformThe supplier covers an agreed scope; company and integrator retain data and business decisionsThe workflow is recognisable and the solution proves suitable on real documents
HybridA platform covers repeatable work and the team retains specific stepsSome parts need direct control while existing capabilities can be reused

Compare the full cost on the same scope

For internal development, include discovery, the test sample, workflow construction, checks, integration, monitoring and maintenance. Model-call cost is only one item. New suppliers, changing layouts, ERP versions and unexpected cases remain after the first release.

For a platform, separate recurring service, configuration, integration, support, changes and internal effort. Buying still requires decisions, maintained master data and available people. Ask what happens when the initial sample changes, without assuming zero effort or standard deployment times.

Compare the alternatives over the same period using cost per completed case accepted by the destination system. Documents processed, fields extracted and orders registered are not equivalent economic units.

Build the business case for document automation

Data and integration: questions to ask first

A correctly read code may not be the code used in the ERP. Check the availability and quality of master data, open orders, units of measure and code relationships. Changing the extraction engine will not fix a workflow that depends on records nobody maintains.

Involve the ERP owner. Write methods, permissions, required fields and failed-submission handling depend on the customer’s instance. An available API is not an integration already completed. Clarify who corrects a case and how the outcome is checked before trying again.

Run a comparable test before choosing

Use a representative sample and reserve cases not used for configuration. Include scans, long lines, ambiguous codes, partial deliveries and corrected or resubmitted documents. Use documents authorised for that purpose or synthetic examples.

Agree the expected answers, required fields and cases needing a person before testing. Compare extracted data, master-data matches, exception decisions and the ERP outcome. An uncertain answer deliberately withheld is different from an incorrect answer submitted without review.

  • Quality: fields and lines correct against verified reference answers.
  • Work: correction time and handovers between teams.
  • Reliability: integration errors, duplicates and unresolved cases.
  • Operations: effort to onboard a supplier or handle a different format.
  • Ownership: who detects and resolves each type of problem.

Make access and responsibility explicit

Before the pilot, map where documents travel, which systems are involved and who can read or change data. Ask for the actual retention, deletion, subprocessor, support and export terms. Verify these answers for the selected service rather than inferring them from the AI label.

Define who maintains rules and master data, approves changes and responds when an order is not registered. This applies to in-house development too: owning the code does not automatically assign operational responsibility.

When to build, buy or combine

Building makes sense when the process creates a distinctive advantage and the team can maintain it beyond the prototype. Prioritise a platform when it demonstrates coverage of real work and the team prefers to use its resources elsewhere. A hybrid can separate repeatable document intake from company-specific decisions.

If neither alternative passes the test, narrow the scope or improve data first. Stopping an inconclusive pilot is a useful decision. Every document and process step does not have to become automatic.

The first result to request

Request a complete demonstration of one workflow with an ordinary case and an exception. The result, outstanding decision and path to the business system should be clear at the end. Only then estimate expansion and investment.

Mastranet helps define a process and assess feasibility. For document workflows covered by Typelens, the platform is an alternative to test against the agreed scope, rather than a choice to justify in advance.

Evaluate Typelens on operational documents

Discuss the process with our team

Vuoi automatizzare i tuoi processi documentali?

Scopri come Typelens può aiutare la tua azienda.

Richiedi una demo