read
finance

One sales invoice or credit note in full: its lines, buyer and seller as issued, totals and where it stands.

Changed on

The invoice as the sales invoice list describes it, with its lines (description, quantity, unit, unit price, tax code, revenue account, and once issued the line net and tax category), the buyer and seller as they were on the invoice, its references and note, and the credit notes against it. 404 not_found when the entity has no such invoice. Amounts are { "amount": "<decimal string>", "currency": "<ISO 4217>" } — never a JSON number. Behind the mcp_finance_reads switch: until the platform owner turns it on this answers 403 feature_off and reads nothing.

post/api/v1/finance/sales-invoices/get

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

Request body

object required
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.

invoice_id, string uuid required

The invoice.

as_of, string date

The day standing and open are taken at (default today, Europe/Amsterdam).

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