read
finance

Peppol e-invoice messages of one entity, with their status and validation report.

Changed on

The status is the one fin.einvoice.status_changed carries. The document bytes are not returned here: payload_sha256 and payload_bytes identify them, and the validation report names the hash it was produced for. Keyset-paged: pass page.next_cursor back as cursor while page.has_more is true. page.truncated is true only when a server-side bound cut this page short of what was asked; it is never a silent cut.

The GET form of finance_einvoice_messages_list: the same arguments as query parameters.

get/api/v1/finance/einvoice-messages

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopesfinance:read

Query parameters

entity_id, string uuid required

The entity, one of those this app was granted (GET /api/v1/finance/entities lists them). In a GET query string entity is accepted too.

message_id, string uuid

Only this message.

sales_invoice_id, string uuid

Only the messages of this invoice.

cursor, string

The next_cursor of the previous page. Opaque.

limit, integer

Items per page.

entity, string uuid

Alias of entity_id; give one of the two.

Response

Result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision