Skip to main content
GET
Get a VAT book import
Beta. Melso does not serve this operation yet, and its fields can still change. See what is live.
Permission: books:read.

Authorizations

Authorization
string
header
required

A company API key, mk_live_…, that the company's owner creates in the Melso app under Settings, Connect your AI, API keys. It works in that one company with the owner's authority. Test keys (mk_test_…) are not issued. Keep the key on your servers. See Authentication.

Path Parameters

company_id
string<uuid>
required

The company's ID. Every company-scoped call works in exactly this company.

import_id
string<uuid>
required

Response

The import.

id
string<uuid>
required
book
enum<string>
required
Available options:
received,
issued
rows
integer
required

The rows received.

created
object[]
required

The invoices recorded.

skipped
object[]
required

The invoices Melso already had, by counterparty NIF and invoice number.

refused
object[]
required

The rows that cannot be recorded, and why. Nothing of their invoice was saved.

created_at
string<date-time>
required
period
object

The dates of the first and the last invoice.