Payroll · Import + accounting

Import the payslip. Cofactu books it and files it

Accepts payroll from Sage (Excel), A3 (XML), any CSV or a scanned PDF with OCR. Generates the 640/465 and 642/476 entries automatically and feeds Modelo 111 and 190 without you touching a single box.

Automatic journal entries Official payslip PDF (O.M. 1994) Data hosted in the EU No re-entering figures
The cascade

One payslip comes in. Two journal entries and two forms come out.

You import one payroll PDF and everything else falls into place: the 640/465 and 642/476 entries get generated, and withholdings get filed in the quarter's Modelo 111 and the year's Modelo 190. Nothing typed twice.

1 PDF 2 entries 2 forms
1

In · 1 PDF payslip

You import the payslip from your accounting firm

2

Out · 2 journal entries

It books itself on confirmation

3

Out · 2 tax forms

Filed in the 111 and the 190

Import from wherever you keep it

The format your accounting firm already uses works

Four entry points into the cascade. Doesn't matter if it's a Sage Excel, an A3 XML, a CSV or a scanned PDF — you don't need to ask your accounting firm for anything extra.

Excel .xlsx

Import from Sage (Excel)

Upload the payroll Excel exported from Sage. Cofactu reads the base pay, withholdings, employer and employee Social Security columns automatically.

XML

Import from A3 (XML)

If your accounting firm uses A3, the payroll XML file imports directly. Modelo 111 and 190 boxes get calculated instantly.

CSV

Import from generic CSV

Any program that exports CSV with the right mapping works. Cofactu documents the expected format right on the import screen.

OCR Haiku/Claude

Import PDFs with OCR

If all you have is the payslip PDF (no source file), Cofactu extracts the data with OCR. An AI model identifies the fields even when the PDF layout differs.

Zero double-typing

0 figures typed twice, from the file to Hacienda

The payroll comes in once. Cofactu generates the 640/465 and 642/476 entries and feeds the 111 and the 190 — without re-entering withholdings or SS contributions by hand.

4

input formats: Sage (Excel), A3 (XML), generic CSV and PDF with OCR

2

automatic journal entries per payroll: 640/465 and 642/476

0

figures you type twice — from the file to Modelo 111 and 190

Spec sheet

Nine capabilities, from import to the 190

Four input formats, official payslip PDF, two automatic journal entries and two tax forms fed for you.

Import
Import from Sage (Excel)

Upload the payroll Excel exported from Sage. Cofactu reads the base pay, withholdings, employer and employee Social Security columns automatically.

Excel .xlsx
Import from A3 (XML)

If your accounting firm uses A3, the payroll XML file imports directly. Modelo 111 and 190 boxes get calculated instantly.

XML
Import from generic CSV

Any program that exports CSV with the right mapping works. Cofactu documents the expected format right on the import screen.

CSV
Import PDFs with OCR

If all you have is the payslip PDF (no source file), Cofactu extracts the data with OCR. An AI model identifies the fields even when the PDF layout differs.

OCR Haiku/Claude
Document
Official payslip PDF

Generates the salary payslip as a PDF compliant with the Spanish Ministerial Order of 27/12/1994. Includes every item, withholding and the contribution breakdown.

O.M. 27/12/1994
Accounting
Automatic 640/465 journal entry

When the payroll is recorded, Cofactu generates the personnel expense entry (640 Salaries and wages — Credit 465 Remuneration payable) with no manual input.

640 → 465
Automatic 642/476 journal entry

The employer's Social Security contribution (642 Employer SS — Credit 476 SS agencies payable) is generated at the same time as the payroll entry.

642 → 476
Fiscal
Feeds Modelo 111 automatically

IRPF withholdings applied on the quarter's payrolls get added to Modelo 111 (boxes 01, 02 and 03 for employment income).

Boxes 01/02/03
Feeds Modelo 190 automatically

The annual withholdings summary (190) with recipients under key A is generated automatically from the payrolls imported during the year.

Key A

More on Cofactu

Importing the payroll is just the start

What you import doesn't stay on one screen: it feeds tax forms, generates journal entries and connects with the rest of Cofactu without rewriting anything.

FAQ

Questions, answered.

The essentials on how Cofactu imports, books and files your payroll.

Does Cofactu calculate payroll or just import it?

It only imports and books it. Cofactu is not a payroll/HR management tool and doesn't calculate Social Security contributions or IRPF withholdings — your accounting firm does that with A3, Sage, Nominaplus or another tool. What Cofactu solves is the next step: importing that payroll, generating the correct journal entries and feeding the tax forms without you typing anything by hand.

Does the PDF OCR work with any payslip format?

It works with most standard payslip formats used in Spain. If the PDF has a very unusual layout or is a scanned image, extraction may need manual review on some fields. The preview shows you exactly what the OCR extracted before you confirm the import.

Are the 640/465 entries generated even if I don't have accounting enabled?

Journal entries require accounting to be enabled for your organization. If you only use Cofactu for invoicing, importing payroll records the payslip and feeds Modelo 111 and 190, but without journal entries. Enable accounting and entries get generated automatically across every flow, payroll included.

What kind of business is Cofactu's payroll module useful for?

For small businesses with 1 to 20 employees that receive payslips from their accounting firm and want to book and file them without re-entering everything by hand. And for accounting firms that prepare their clients' payroll and want the client to record it in Cofactu with zero transcription errors. It's not built for HR departments managing complex payroll with many line items.

From your accounting firm's payroll to journal entries in one file

Upload the Excel, the XML or the PDF. Cofactu generates the entries and feeds Modelo 111 and 190 without you touching a single box.