Visma · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Bookkeeping & Invoicing/eAccounting API V2 Sales Document…

14 actions 14 updates phrasing extends openapi/visma-salesdocumentattachments-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Visma's API. It is a proposal applied on top of the contract, not a document Visma publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 14

$.info
$.paths['/salesdocumentattachments/{attachmentId}.pdf'].get
$.paths['/salesdocumentattachments/{attachmentId}'].get
$.paths['/salesdocumentattachments'].get
$.paths['/salesdocumentattachments'].post
$.paths['/salesdocumentattachments/customerinvoicedraft'].post
$.paths['/salesdocumentattachments/customerinvoice'].post
$.paths['/salesdocumentattachments/order'].post
$.paths['/salesdocumentattachments/quote'].post
$.paths['/salesdocumentattachments/{customerInvoiceDraftId}/{attachmentId}'].delete
$.paths['/salesdocumentattachments/customerinvoicedraft/{customerInvoiceDraftId}/{attachmentId}'].delete
$.paths['/salesdocumentattachments/customerinvoice/{customerInvoiceId}/{attachmentId}'].delete
$.paths['/salesdocumentattachments/order/{orderId}/{attachmentId}'].delete
$.paths['/salesdocumentattachments/quote/{quoteId}/{attachmentId}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Bookkeeping & Invoicing/eAccounting API V2 Sales Document…
  version: 1.0.0
extends: openapi/visma-salesdocumentattachments-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-27'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 13
- target: $.paths['/salesdocumentattachments/{attachmentId}.pdf'].get
  update:
    x-apievangelist-phrasing:
      intent: Download a sales document attachment
      effect: read
      questions:
      - How do I download the original file of a sales document attachment?
      - Can I fetch a sales document attachment by its id and get it in its original format?
      instructions:
      - text: Download sales document attachment {attachmentId}.
        slots:
          attachmentId: path.attachmentId
      - text: Fetch the original file of attachment {attachmentId}.
        slots:
          attachmentId: path.attachmentId
      method: generated
      generated: '2026-11-27'
- target: $.paths['/salesdocumentattachments/{attachmentId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a sales document attachment's details
      effect: read
      questions:
      - What file name, size and upload date does a sales document attachment have?
      - Can I look up one sales document attachment by its id?
      instructions:
      - text: Show sales document attachment {attachmentId}.
        slots:
          attachmentId: path.attachmentId
      - text: Get the details of attachment {attachmentId}.
        slots:
          attachmentId: path.attachmentId
      method: generated
      generated: '2026-11-27'
- target: $.paths['/salesdocumentattachments'].get
  update:
    x-apievangelist-phrasing:
      intent: List sales document attachments
      effect: read
      questions:
      - Which attachments are attached to my sales documents?
      - Can I list all sales document attachments?
      instructions:
      - text: List all sales document attachments.
      - text: Show every attachment on sales documents.
      method: generated
      generated: '2026-11-27'
- target: $.paths['/salesdocumentattachments'].post
  update:
    x-apievangelist-phrasing:
      intent: Attach a file to a sales document
      effect: write
      questions:
      - How do I attach a scanned invoice to a sales document?
      - Can I upload a file to a sales document by its URL or base64 data?
      instructions:
      - text: Attach {FileName} of type {ContentType} to sales document {DockumentId}.
        slots:
          FileName: requestBody.FileName
          ContentType: requestBody.ContentType
          DockumentId: requestBody.DockumentId
      - text: Upload {FileName} to sales document {DockumentId} using {Data}.
        slots:
          FileName: requestBody.FileName
          DockumentId: requestBody.DockumentId
          Data: requestBody.Data
      method: generated
      generated: '2026-11-27'
- target: $.paths['/salesdocumentattachments/customerinvoicedraft'].post
  update:
    x-apievangelist-phrasing:
      intent: Attach a file to a customer invoice draft
      effect: write
      questions:
      - Can I attach a file to a customer invoice draft before it is sent?
      - How do I add an attachment to a customer invoice draft?
      instructions:
      - text: Attach {FileName} of type {ContentType} to customer invoice draft {DockumentId}.
        slots:
          FileName: requestBody.FileName
          ContentType: requestBody.ContentType
          DockumentId: requestBody.DockumentId
      - text: Add {FileName} to customer invoice draft {DockumentId} from {Url}.
        slots:
          FileName: requestBody.FileName
          DockumentId: requestBody.DockumentId
          Url: requestBody.Url
      method: generated
      generated: '2026-11-27'
- target: $.paths['/salesdocumentattachments/customerinvoice'].post
  update:
    x-apievangelist-phrasing:
      intent: Attach a file to a customer invoice
      effect: write
      questions:
      - How do I attach an invoice copy or proof of delivery to a customer invoice?
      - Can I upload a file by URL instead of base64 data?
      instructions:
      - text: Attach {FileName} to customer invoice {DockumentId}.
        slots:
          FileName: requestBody.FileName
          DockumentId: requestBody.DockumentId
      - text: Attach file {FileName} to customer invoice {DockumentId} by URL {Url}.
        slots:
          FileName: requestBody.FileName
          DockumentId: requestBody.DockumentId
          Url: requestBody.Url
      method: generated
      generated: '2026-11-27'
- target: $.paths['/salesdocumentattachments/order'].post
  update:
    x-apievangelist-phrasing:
      intent: Attach a file to an order or order draft
      effect: write
      questions:
      - Can I attach a file to an order draft before it is converted to an invoice?
      - How do I add an attachment to an order?
      instructions:
      - text: Attach {FileName} of type {ContentType} to order {DockumentId}.
        slots:
          FileName: requestBody.FileName
          ContentType: requestBody.ContentType
          DockumentId: requestBody.DockumentId
      - text: Add {FileName} to order {DockumentId} from {Url}.
        slots:
          FileName: requestBody.FileName
          DockumentId: requestBody.DockumentId
          Url: requestBody.Url
      method: generated
      generated: '2026-11-27'
- target: $.paths['/salesdocumentattachments/quote'].post
  update:
    x-apievangelist-phrasing:
      intent: Attach a file to a quote or quote draft
      effect: write
      questions:
      - How do I attach a file to a quote draft?
      - Can I add an attachment to a quote before it is sent?
      instructions:
      - text: Attach {FileName} of type {ContentType} to quote {DockumentId}.
        slots:
          FileName: requestBody.FileName
          ContentType: requestBody.ContentType
          DockumentId: requestBody.DockumentId
      - text: Add {FileName} to quote {DockumentId} using {Data}.
        slots:
          FileName: requestBody.FileName
          DockumentId: requestBody.DockumentId
          Data: requestBody.Data
      method: generated
      generated: '2026-11-27'
- target: $.paths['/salesdocumentattachments/{customerInvoiceDraftId}/{attachmentId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove an attachment from a customer invoice draft
      effect: destructive
      questions:
      - How do I remove an attachment from a customer invoice draft?
      - Can I delete a file attached to a customer invoice draft by id?
      instructions:
      - text: Delete attachment {attachmentId} from customer invoice draft {customerInvoiceDraftId}.
        slots:
          attachmentId: path.attachmentId
          customerInvoiceDraftId: path.customerInvoiceDraftId
      - text: Remove file {attachmentId} on draft {customerInvoiceDraftId}.
        slots:
          attachmentId: path.attachmentId
          customerInvoiceDraftId: path.customerInvoiceDraftId
      method: generated
      generated: '2026-11-27'
- target: $.paths['/salesdocumentattachments/customerinvoicedraft/{customerInvoiceDraftId}/{attachmentId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove an attachment from a customer invoice draft
      effect: destructive
      questions:
      - Can I delete an attachment from a customer invoice draft using the customer invoice draft path?
      - What happens to a file I remove from a customer invoice draft?
      instructions:
      - text: Delete attachment {attachmentId} from customer invoice draft {customerInvoiceDraftId} via the customer invoice draft path.
        slots:
          attachmentId: path.attachmentId
          customerInvoiceDraftId: path.customerInvoiceDraftId
      - text: Remove file {attachmentId} on draft {customerInvoiceDraftId} using the customer invoice draft endpoint.
        slots:
          attachmentId: path.attachmentId
          customerInvoiceDraftId: path.customerInvoiceDraftId
      method: generated
      generated: '2026-11-27'
- target: $.paths['/salesdocumentattachments/customerinvoice/{customerInvoiceId}/{attachmentId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove an attachment from a posted customer invoice
      effect: destructive
      questions:
      - How do I remove an attachment from an already issued customer invoice?
      - Can I delete a file attached to a customer invoice by its attachment id?
      - Which scope do I need to delete an attachment from a customer invoice in Visma eAccounting?
      instructions:
      - text: Delete attachment {attachmentId} from issued customer invoice {customerInvoiceId}.
        slots:
          attachmentId: path.attachmentId
          customerInvoiceId: path.customerInvoiceId
      - text: Remove file {attachmentId} from customer invoice {customerInvoiceId} using the customer invoice endpoint.
        slots:
          attachmentId: path.attachmentId
          customerInvoiceId: path.customerInvoiceId
      method: generated
      generated: '2026-11-27'
- target: $.paths['/salesdocumentattachments/order/{orderId}/{attachmentId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove an attachment from an order
      effect: destructive
      questions:
      - How do I remove an attachment from an order?
      - Can I delete a file attached to an order by id?
      instructions:
      - text: Delete attachment {attachmentId} from order {orderId}.
        slots:
          attachmentId: path.attachmentId
          orderId: path.orderId
      - text: Remove file {attachmentId} on order {orderId}.
        slots:
          attachmentId: path.attachmentId
          orderId: path.orderId
      method: generated
      generated: '2026-11-27'
- target: $.paths['/salesdocumentattachments/quote/{quoteId}/{attachmentId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove an attachment from a quote
      effect: destructive
      questions:
      - How do I remove an attachment from a quote?
      - Can I delete a file attached to a quote by id?
      instructions:
      - text: Delete attachment {attachmentId} from quote {quoteId}.
        slots:
          attachmentId: path.attachmentId
          quoteId: path.quoteId
      - text: Remove file {attachmentId} on quote {quoteId}.
        slots:
          attachmentId: path.attachmentId
          quoteId: path.quoteId
      method: generated
      generated: '2026-11-27'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/visma-salesdocumentattachments-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.