For the complete documentation index, see llms.txt. This page is also available as Markdown.

Sales Invoices Attachments

Create and retrieve attachments for sales invoices, including printable invoice PDFs.

List attachments for a sales invoice

get

Retrieves a paginated list of attachments for the specified sales invoice.

System support

System
Status

Fortnox

Fortnox

✅ Supported

Bjorn Lunden

Bjorn Lunden

✅ Supported

Spiris

Spiris

✅ Supported

Tripletex

Tripletex

📞 Not supported / contact us

Visma e-conomic

Visma e-conomic

✅ Supported

Billy

Billy

✅ Supported

Visma Dinero

Visma Dinero

✅ Supported

Procountor

Procountor

✅ Supported

Visma Netvisor

Visma Netvisor

✅ Supported

Microsoft Business Central

Microsoft Business Central

✅ Supported

Exact Online

Exact Online

✅ Supported

QuickBooks

QuickBooks

✅ Supported

Xero

Xero

✅ Supported

Bokio

Bokio

✅ Supported

Kleer

Kleer

📞 Not supported / contact us

Authorizations
x-api-keystringRequired

Use the API key to access all API endpoints.

Path parameters
consentIdstring · uuidRequired

Identifier of the consent representing the connection to the accounting system.

salesInvoiceIdstringRequired

Identifier of the sales invoice.

Header parameters
x-correlation-idstring · uuidRequired

Unique identifier used to correlate and trace this request.

Responses
200

Returns a paginated list of sales invoice attachments for the specified consent.

application/json

Represents a paginated result containing metadata and a collection of items.

get/api/v1/consents/{consentId}/salesinvoices/{salesInvoiceId}/attachments
GET /accounting/api/v1/consents/{consentId}/salesinvoices/{salesInvoiceId}/attachments HTTP/1.1
Host: apione.zwapgrid.com
x-api-key: YOUR_API_KEY
x-correlation-id: 123e4567-e89b-12d3-a456-426614174000
Accept: */*
{
  "meta": {
    "totalResources": 10,
    "totalPages": 1,
    "currentPage": 1
  },
  "data": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440003",
      "invoiceId": "INV-001",
      "type": "Attachment",
      "fileName": "invoice.pdf"
    }
  ]
}

Create an attachment for a sales invoice

post

Creates a new attachment for the specified sales invoice.

System support

System
Status

Fortnox

Fortnox

✅ Supported

Bjorn Lunden

Bjorn Lunden

✅ Supported

Spiris

Spiris

✅ Supported

Tripletex

Tripletex

📞 Not supported / contact us

Visma e-conomic

Visma e-conomic

📞 Not supported / contact us

Billy

Billy

📞 Not supported / contact us

Visma Dinero

Visma Dinero

📞 Not supported / contact us

Procountor

Procountor

📞 Not supported / contact us

Visma Netvisor

Visma Netvisor

📞 Not supported / contact us

Microsoft Business Central

Microsoft Business Central

📞 Not supported / contact us

Exact Online

Exact Online

📞 Not supported / contact us

QuickBooks

QuickBooks

📞 Not supported / contact us

Xero

Xero

✅ Supported

Bokio

Bokio

📞 Not supported / contact us

Kleer

Kleer

📞 Not supported / contact us

Authorizations
x-api-keystringRequired

Use the API key to access all API endpoints.

Path parameters
consentIdstring · uuidRequired

Identifier of the consent representing the connection to the accounting system.

salesInvoiceIdstringRequired

Identifier of the sales invoice.

Header parameters
x-correlation-idstring · uuidRequired

Unique identifier used to correlate and trace this request.

Body
attachmentstring · binaryRequired

Attachment file entity.

Responses
201

The sales invoice attachment was created. Response includes a Location header with the URL of the created resource.

post/api/v1/consents/{consentId}/salesinvoices/{salesInvoiceId}/attachments
POST /accounting/api/v1/consents/{consentId}/salesinvoices/{salesInvoiceId}/attachments HTTP/1.1
Host: apione.zwapgrid.com
x-api-key: YOUR_API_KEY
x-correlation-id: 123e4567-e89b-12d3-a456-426614174000
Content-Type: multipart/form-data
Accept: */*
Content-Length: 23

{
  "attachment": "binary"
}

No content

Get an attachment for a sales invoice by attachment ID

get

Retrieves a specific attachment file for the specified sales invoice.

System support

System
Status

Fortnox

Fortnox

✅ Supported

Bjorn Lunden

Bjorn Lunden

✅ Supported

Spiris

Spiris

✅ Supported

Tripletex

Tripletex

📞 Not supported / contact us

Visma e-conomic

Visma e-conomic

📞 Not supported / contact us

Billy

Billy

✅ Supported

Visma Dinero

Visma Dinero

📞 Not supported / contact us

Procountor

Procountor

✅ Supported

Visma Netvisor

Visma Netvisor

✅ Supported

Microsoft Business Central

Microsoft Business Central

✅ Supported

Exact Online

Exact Online

✅ Supported

QuickBooks

QuickBooks

✅ Supported

Xero

Xero

✅ Supported

Bokio

Bokio

✅ Supported

Kleer

Kleer

📞 Not supported / contact us

Authorizations
x-api-keystringRequired

Use the API key to access all API endpoints.

Path parameters
consentIdstring · uuidRequired

Identifier of the consent representing the connection to the accounting system.

salesInvoiceIdstringRequired

Identifier of the sales invoice.

attachmentIdstringRequired

Identifier of the attachment.

Header parameters
x-correlation-idstring · uuidRequired

Unique identifier used to correlate and trace this request.

Responses
200

The requested file. Content-Type is determined by the attachment (e.g. application/pdf, image/png).

string · binaryOptional

File content (e.g. PDF or image). Actual Content-Type is in the response headers.

get/api/v1/consents/{consentId}/salesinvoices/{salesInvoiceId}/attachments/{attachmentId}
GET /accounting/api/v1/consents/{consentId}/salesinvoices/{salesInvoiceId}/attachments/{attachmentId} HTTP/1.1
Host: apione.zwapgrid.com
x-api-key: YOUR_API_KEY
x-correlation-id: 123e4567-e89b-12d3-a456-426614174000
Accept: */*
binary

Get a printable sales invoice

get

Retrieves a printable version of the specified sales invoice.

System support

System
Status

Fortnox

Fortnox

✅ Supported

Bjorn Lunden

Bjorn Lunden

✅ Supported

Spiris

Spiris

✅ Supported

Tripletex

Tripletex

📞 Not supported / contact us

Visma e-conomic

Visma e-conomic

✅ Supported

Billy

Billy

✅ Supported

Visma Dinero

Visma Dinero

✅ Supported

Procountor

Procountor

✅ Supported

Visma Netvisor

Visma Netvisor

✅ Supported

Microsoft Business Central

Microsoft Business Central

✅ Supported

Exact Online

Exact Online

✅ Supported

QuickBooks

QuickBooks

✅ Supported

Xero

Xero

✅ Supported

Bokio

Bokio

✅ Supported

Kleer

Kleer

📞 Not supported / contact us

Authorizations
x-api-keystringRequired

Use the API key to access all API endpoints.

Path parameters
consentIdstring · uuidRequired

Identifier of the consent representing the connection to the accounting system.

salesInvoiceIdstringRequired

Identifier of the sales invoice.

Header parameters
x-correlation-idstring · uuidRequired

Unique identifier used to correlate and trace this request.

Responses
200

The requested file. Content-Type is determined by the attachment (e.g. application/pdf, image/png).

string · binaryOptional

File content (e.g. PDF or image). Actual Content-Type is in the response headers.

get/api/v1/consents/{consentId}/salesinvoices/{salesInvoiceId}/attachments/printable
GET /accounting/api/v1/consents/{consentId}/salesinvoices/{salesInvoiceId}/attachments/printable HTTP/1.1
Host: apione.zwapgrid.com
x-api-key: YOUR_API_KEY
x-correlation-id: 123e4567-e89b-12d3-a456-426614174000
Accept: */*
binary

Last updated

Was this helpful?