Skip to main content
POST
Import a VAT book
Live capability. Melso runs this in production today. Partner keys reach it once your partner account is enabled. See Availability.
A person decides. The company’s owner makes this call, signed in to Melso. Partner keys cannot make it: send the person the approval link instead. See Approvals and filing.
The fastest way to bring a company’s history from an ERP.

Authorizations

Authorization
string
header
required

Your partner secret key, mk_live_… for real companies or mk_test_… for test companies. Keep it 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.

Body

multipart/form-data
file
file
required
direction
enum<string>
required

issued records income; received records expenses.

Available options:
issued,
received

Response

The import and how many invoices it recorded.

vat_book_import
object
invoices
integer
duplicates
integer