Skip to main content
POST
Read a fiscal document
Live capability. Melso runs this in production today. Partner keys reach it once your partner account is enabled. See Availability.
review lists what to check. A document already recorded answers 200 with duplicate true and the existing record.

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>

Leave it out to let Melso decide from the parties on the document.

Available options:
income,
expense
counterparty_country
string

ISO 3166-1 alpha-2, when the document does not show it.

Response

The document was already recorded.

direction
enum<string>
required
Available options:
income,
expense
record
object
required
review
enum<string>[]
required

What to check.

Available options:
totals_mismatch,
vat_rate_mismatch,
missing_number,
missing_counterparty_tax_id,
converted_currency,
ticket_vat_not_deductible,
reverse_charge,
possible_duplicate,
recipient_tax_id_mismatch
duplicate
boolean
required