Sales Invoices
Create and retrieve sales invoices for a given consent.
Retrieves a paginated list of sales invoices for the specified consent.
System support
Fortnox
β Supported
Bjorn Lunden
β Supported
Spiris
β Supported
Tripletex
π Not supported / contact us
Visma e-conomic
β Supported
Billy
β Supported
Visma Dinero
β Supported
![]()
Procountor
β Supported
Visma Netvisor
β Supported
Microsoft Business Central
β Supported
Exact Online
β Supported
![]()
QuickBooks
β Supported
Xero
β Supported
Bokio
β Supported
Kleer
π Not supported / contact us
Use the API key to access all API endpoints.
Identifier of the consent representing the connection to the accounting system.
Number of records to return per page. Range: 1-100.
Page number to return. Must be 1 or greater.
Start invoice issue date filter. Format: ISO 8601 date-time (e.g. yyyy-MM-ddTHH:mm:ssZ).
2025-01-01T00:00:00ZEnd invoice issue date filter. Format: ISO 8601 date-time (e.g. yyyy-MM-ddTHH:mm:ssZ).
2025-12-31T00:00:00ZReturn invoices created on or after this date and time. Format: ISO 8601 date-time (e.g. yyyy-MM-ddTHH:mm:ssZ).
2025-01-01T00:00:00ZReturn invoices modified on or after this date and time. Format: ISO 8601 date-time (e.g. yyyy-MM-ddTHH:mm:ssZ).
2025-01-01T00:00:00ZSort order for the results.
The status to filter invoices by.
Legend:
- β = Supported
- β = Not supported
| System | Paid | Unpaid | Overdue | Cancelled | Unbooked | Unsent | Draft |
|---|---|---|---|---|---|---|---|
| Fortnox | β | β | β | β | β | β | β |
| Bjorn Lunden | β | β | β | β | β | β | β |
| Spiris | β | β | β | β | β | β | β |
| Tripletex | β | β | β | β | β | β | β |
| Visma e-conomic | β | β | β | β | β | β | β |
| Billy | β | β | β | β | β | β | β |
| Visma Dinero | β | β | β | β | β | β | β |
| Procountor | β | β | β | β | β | β | β |
| Visma Netvisor | β | β | β | β | β | β | β |
| Microsoft Business Central | β | β | β | β | β | β | β |
| Bokio | β | β | β | β | β | β | β |
| Exact Online | β | β | β | β | β | β | β |
| QuickBooks | β | β | β | β | β | β | β |
| Xero | β | β | β | β | β | β | β |
| FileOne | β | β | β | β | β | β | β |
Comma-separated list of optional data to include in the response.
Available values:
paymentStatusβ Include the payment status.paymentTermsβ Include the payment terms.
Unique identifier used to correlate and trace this request.
Returns a paginated list of sales invoices for the specified consent.
Represents a paginated result containing metadata and a collection of items.
Missing or invalid authentication credentials.
Not authorized to access this resource.
This operation is not supported by the connected accounting system.
GET /accounting/api/v1/consents/{consentId}/salesinvoices 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": "INV-001",
"reference": "INV-001",
"dueDate": "2024-04-15",
"issueDate": "2024-03-15",
"createdDateTime": "2024-03-15T09:00:00Z",
"modifiedDateTime": "2024-03-15T09:00:00Z",
"isSent": false,
"accountingCustomerParty": {
"supplierAssignedAccountId": {
"id": "CUST-001",
"schemeId": "customerId"
},
"party": {
"partyIdentification": [],
"partyName": {
"name": "Acme Corp",
"languageId": "ENG"
},
"partyLegalEntity": null
}
},
"paymentTerms": {
"paymentTermsId": {
"id": "30",
"schemeId": null
},
"notes": [
{
"text": "Net 30 days",
"languageId": "ENG"
}
]
},
"notes": [
{
"text": "Thank you for your business",
"languageId": "ENG"
}
],
"totalBalanceAmount": {
"amount": 1250,
"currencyId": "SEK"
},
"legalMonetaryTotal": {
"taxInclusiveAmount": {
"amount": 1250,
"currencyId": "SEK"
},
"prepaidAmount": {
"amount": 0,
"currencyId": "SEK"
},
"payableRoundingAmount": {
"amount": 0,
"currencyId": "SEK"
},
"payableAmount": {
"amount": 1250,
"currencyId": "SEK"
},
"taxExclusiveAmount": {
"amount": 1000,
"currencyId": "SEK"
},
"lineExtensionAmount": {
"amount": 1000,
"currencyId": "SEK"
}
},
"paymentStatus": {
"status": "UNPAID"
}
}
]
}Creates a new sales invoice for the specified consent.
System support
Fortnox
β Supported
Bjorn Lunden
π Not supported / contact us
Spiris
π Not supported / contact us
Tripletex
π Not supported / contact us
Visma e-conomic
β Supported
Billy
π Not supported / contact us
Visma Dinero
π Not supported / contact us
![]()
Procountor
π Not supported / contact us
Visma Netvisor
π Not supported / contact us
Microsoft Business Central
π Not supported / contact us
Exact Online
π Not supported / contact us
![]()
QuickBooks
π Not supported / contact us
Xero
π Not supported / contact us
Bokio
π Not supported / contact us
Kleer
π Not supported / contact us
Use the API key to access all API endpoints.
Identifier of the consent representing the connection to the accounting system.
Unique identifier used to correlate and trace this request.
Represents input data for a sales invoice.
Invoice number assigned by the sender.
Reference for the buyer (usually the buyer's purchase invoice number).
Indicates whether the invoice is booked.
Indicates whether the invoice is cancelled.
Issue date of the invoice.
Issue time of the invoice.
Due date for payment of the invoice.
Indicates whether the invoice has been sent.
Reference for the seller.
The sales invoice was created. Response includes a Location header with the URL of the created resource.
Missing or invalid authentication credentials.
Not authorized to access this resource.
This operation is not supported by the connected accounting system.
POST /accounting/api/v1/consents/{consentId}/salesinvoices HTTP/1.1
Host: apione.zwapgrid.com
x-api-key: YOUR_API_KEY
x-correlation-id: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
Accept: */*
Content-Length: 6639
{
"reference": null,
"buyerReference": null,
"bookedInvoiceIndicator": null,
"cancelledInvoiceIndicator": null,
"issueDate": null,
"issueTime": null,
"dueDate": null,
"creditInvoice": {
"creditInvoiceIndicator": null,
"reference": null,
"creditInvoiceDocumentReferences": [
{
"id": null,
"reference": null,
"documentType": "Invoice"
}
]
},
"financialDimensions": [
{
"id": null,
"reference": null,
"type": null,
"name": null,
"description": null,
"isActive": null
}
],
"notes": [
{
"text": null,
"languageId": null
}
],
"orderReference": {
"buyerOrderId": null,
"sellerOrderId": null
},
"documentCurrencyCode": {
"currencyId": null,
"currencyRate": null
},
"accountingSupplierParty": {
"customerAssignedAccountId": {
"id": null,
"schemeId": null
},
"party": {
"partyName": {
"name": null,
"languageId": null
},
"postalAddress": {
"buildingNumber": null,
"streetName": null,
"additionalStreetName": null,
"cityName": null,
"postalZone": null,
"country": {
"identificationCode": null,
"name": null
}
},
"partyLegalEntity": {
"registrationName": null,
"companyId": {
"id": null,
"schemeId": null
}
},
"contact": {
"name": null,
"telephone": null,
"email": null,
"secondaryEmail": null
},
"endpointId": {
"id": null,
"schemeId": null
},
"partyIdentification": [
{
"id": null,
"schemeId": null
}
]
}
},
"accountingCustomerParty": {
"supplierAssignedAccountId": {
"id": null,
"schemeId": null
},
"party": {
"partyName": {
"name": null,
"languageId": null
},
"postalAddress": {
"buildingNumber": null,
"streetName": null,
"additionalStreetName": null,
"cityName": null,
"postalZone": null,
"country": {
"identificationCode": null,
"name": null
}
},
"partyLegalEntity": {
"registrationName": null,
"companyId": {
"id": null,
"schemeId": null
}
},
"contact": {
"name": null,
"telephone": null,
"email": null,
"secondaryEmail": null
},
"endpointId": {
"id": null,
"schemeId": null
},
"partyIdentification": [
{
"id": null,
"schemeId": null
}
]
}
},
"invoicePeriod": {
"startDate": null,
"endDate": null
},
"delivery": {
"deliveryParty": {
"partyIdentification": {
"id": null,
"schemeId": null
},
"partyName": {
"name": null,
"languageId": null
}
},
"carrierParty": {
"partyIdentification": {
"id": null,
"schemeId": null
},
"partyName": {
"name": null,
"languageId": null
}
},
"actualDeliveryDate": null,
"trackingId": null,
"deliveryAddress": {
"buildingNumber": null,
"streetName": null,
"additionalStreetName": null,
"cityName": null,
"postalZone": null,
"country": {
"identificationCode": null,
"name": null
}
}
},
"deliveryTerms": {
"deliveryTermsId": {
"id": null,
"schemeId": null
},
"specialTerms": {
"text": null,
"languageId": null
}
},
"paymentTerms": {
"paymentTermsId": {
"id": null,
"schemeId": null
},
"notes": [
{
"text": null,
"languageId": null
}
]
},
"paymentMeans": [
{
"paymentChannelCode": null,
"paymentDueDate": null,
"paymentIds": [
{
"id": null,
"schemeId": null
}
]
}
],
"allowanceCharges": [
{
"allowanceChargeId": {
"id": null,
"schemeId": null
},
"chargeIndicator": true,
"allowanceChargeReason": null,
"allowanceChargeAmount": {
"amount": 1,
"currencyId": null
},
"taxTotal": {
"taxAmount": {
"amount": 1,
"currencyId": null
},
"taxIncludedIndicator": null,
"taxSubtotals": [
{
"taxableAmount": {
"amount": 1,
"currencyId": null
},
"taxAmount": {
"amount": 1,
"currencyId": null
},
"taxCategory": {
"id": null,
"percent": null,
"taxScheme": {
"id": null
},
"taxExemptionReason": null,
"taxExemptionReasonCode": null
}
}
]
},
"taxCategory": {
"percent": 1,
"taxScheme": {
"taxSchemeId": {
"id": null,
"schemeId": null
}
},
"id": null
},
"allowanceChargeBaseAmount": {
"amount": 1,
"currencyId": null
},
"multiplierFactorNumeric": null
}
],
"taxTotals": [
{
"taxAmount": {
"amount": 1,
"currencyId": null
},
"taxIncludedIndicator": null,
"taxSubtotals": [
{
"taxableAmount": {
"amount": 1,
"currencyId": null
},
"taxAmount": {
"amount": 1,
"currencyId": null
},
"taxCategory": {
"id": null,
"percent": null,
"taxScheme": {
"id": null
},
"taxExemptionReason": null,
"taxExemptionReasonCode": null
}
}
]
}
],
"withholdingTaxTotals": [
{
"taxAmount": {
"amount": 1,
"currencyId": null
},
"taxSubtotals": [
{
"taxableAmount": {
"amount": 1,
"currencyId": null
},
"taxAmount": {
"amount": 1,
"currencyId": null
},
"taxCategory": {
"id": null,
"percent": null,
"taxScheme": {
"id": null
},
"taxExemptionReason": null,
"taxExemptionReasonCode": null
}
}
]
}
],
"totalBalanceAmount": {
"amount": 1,
"currencyId": null
},
"additionalDocumentReferences": [
{
"id": null,
"reference": null
}
],
"legalMonetaryTotal": {
"taxInclusiveAmount": {
"amount": 1,
"currencyId": null
},
"prepaidAmount": {
"amount": 1,
"currencyId": null
},
"payableRoundingAmount": {
"amount": 1,
"currencyId": null
},
"payableAmount": {
"amount": 1,
"currencyId": null
},
"lineExtensionAmount": {
"amount": 1,
"currencyId": null
},
"taxExclusiveAmount": {
"amount": 1,
"currencyId": null
}
},
"paymentStatus": {
"status": "UNPAID",
"settlementDate": null
},
"isSent": null,
"sellerReference": null,
"invoiceLines": [
{
"id": null,
"invoicedQuantity": {
"quantity": null,
"unitCode": null
},
"lineExtensionAmount": {
"amount": 1,
"currencyId": null
},
"item": {
"name": null,
"description": null,
"sellersItemIdentification": {
"id": null,
"extendedId": null
},
"classifiedTaxCategories": [
{
"percent": 1,
"taxScheme": {
"taxSchemeId": {
"id": null,
"schemeId": null
}
},
"id": null
}
]
},
"price": {
"priceAmount": {
"amount": 1,
"currencyId": null
},
"priceTypeCode": {
"code": null,
"listId": null
},
"baseQuantity": {
"quantity": null,
"unitCode": null
},
"allowanceCharges": [
{
"allowanceChargeId": {
"id": null,
"schemeId": null
},
"chargeIndicator": true,
"allowanceChargeReason": null,
"allowanceChargeAmount": {
"amount": 1,
"currencyId": null
},
"taxTotal": {
"taxAmount": {
"amount": 1,
"currencyId": null
},
"taxIncludedIndicator": null,
"taxSubtotals": [
{
"taxableAmount": {
"amount": 1,
"currencyId": null
},
"taxAmount": {
"amount": 1,
"currencyId": null
},
"taxCategory": {
"id": null,
"percent": null,
"taxScheme": {
"id": null
},
"taxExemptionReason": null,
"taxExemptionReasonCode": null
}
}
]
},
"taxCategory": {
"percent": 1,
"taxScheme": {
"taxSchemeId": {
"id": null,
"schemeId": null
}
},
"id": null
},
"allowanceChargeBaseAmount": {
"amount": 1,
"currencyId": null
},
"multiplierFactorNumeric": null
}
]
},
"delivery": {
"actualDeliveryDate": null
},
"financialDimensions": [
{
"id": null,
"reference": null,
"type": null,
"name": null,
"description": null,
"isActive": null
}
],
"allowanceCharges": [
{
"allowanceChargeId": {
"id": null,
"schemeId": null
},
"chargeIndicator": true,
"allowanceChargeReason": null,
"allowanceChargeAmount": {
"amount": 1,
"currencyId": null
},
"taxTotal": {
"taxAmount": {
"amount": 1,
"currencyId": null
},
"taxIncludedIndicator": null,
"taxSubtotals": [
{
"taxableAmount": {
"amount": 1,
"currencyId": null
},
"taxAmount": {
"amount": 1,
"currencyId": null
},
"taxCategory": {
"id": null,
"percent": null,
"taxScheme": {
"id": null
},
"taxExemptionReason": null,
"taxExemptionReasonCode": null
}
}
]
},
"taxCategory": {
"percent": 1,
"taxScheme": {
"taxSchemeId": {
"id": null,
"schemeId": null
}
},
"id": null
},
"allowanceChargeBaseAmount": {
"amount": 1,
"currencyId": null
},
"multiplierFactorNumeric": null
}
],
"subInvoiceLines": [
{
"invoicedQuantity": {
"quantity": null,
"unitCode": null
},
"item": {
"name": null,
"description": null,
"sellersItemIdentification": {
"id": null,
"extendedId": null
},
"classifiedTaxCategories": [
{
"percent": 1,
"taxScheme": {
"taxSchemeId": {
"id": null,
"schemeId": null
}
},
"id": null
}
]
}
}
]
}
]
}{
"id": "550e8400-e29b-41d4-a716-446655440006",
"reference": "INV-001",
"buyerReference": "PO-2024-001",
"bookedInvoiceIndicator": true,
"cancelledInvoiceIndicator": false,
"issueDate": "2024-03-15",
"issueTime": "09:00:00",
"dueDate": "2024-04-15",
"creditInvoice": {
"creditInvoiceIndicator": false,
"creditInvoiceDocumentReferences": []
},
"financialDimensions": [],
"notes": [
{
"text": "Thank you for your business",
"languageId": "ENG"
}
],
"orderReference": {
"buyerOrderId": "PO-2024-001",
"sellerOrderId": "ORD-2024-001"
},
"documentCurrencyCode": {
"currency": "SEK",
"currencyId": "SEK",
"currencyRate": 1
},
"accountingSupplierParty": null,
"accountingCustomerParty": {
"supplierAssignedAccountId": {
"id": "CUST-001",
"schemeId": "customerId"
},
"party": {
"partyIdentification": [],
"partyName": {
"name": "Acme Corp",
"languageId": "ENG"
},
"postalAddress": null,
"partyLegalEntity": null,
"contact": null,
"endpointId": null
},
"type": null
},
"invoicePeriod": {
"startDate": "2024-03-01",
"endDate": "2024-03-31"
},
"delivery": null,
"deliveryTerms": null,
"paymentTerms": null,
"paymentMeans": [],
"allowanceCharges": [],
"taxTotals": [
{
"taxAmount": {
"amount": 250,
"currencyId": "SEK"
},
"taxIncludedIndicator": true
}
],
"withholdingTaxTotals": [],
"totalBalanceAmount": {
"amount": 1250,
"currencyId": "SEK"
},
"additionalDocumentReferences": [],
"legalMonetaryTotal": {
"taxInclusiveAmount": {
"amount": 1250,
"currencyId": "SEK"
},
"prepaidAmount": {
"amount": 0,
"currencyId": "SEK"
},
"payableRoundingAmount": {
"amount": 0,
"currencyId": "SEK"
},
"payableAmount": {
"amount": 1250,
"currencyId": "SEK"
},
"lineExtensionAmount": {
"amount": 1000,
"currencyId": "SEK"
},
"taxExclusiveAmount": {
"amount": 1000,
"currencyId": "SEK"
}
},
"paymentStatus": {
"status": "UNPAID",
"settlementDate": "2024-04-15"
},
"isSent": false,
"sellerReference": "INV-001",
"isSold": false,
"reminder": null,
"invoiceLines": []
}Retrieves a single sales invoice by its identifier.
System support
Fortnox
β Supported
Bjorn Lunden
β Supported
Spiris
β Supported
Tripletex
π Not supported / contact us
Visma e-conomic
β Supported
Billy
β Supported
Visma Dinero
β Supported
![]()
Procountor
β Supported
Visma Netvisor
β Supported
Microsoft Business Central
β Supported
Exact Online
β Supported
![]()
QuickBooks
β Supported
Xero
β Supported
Bokio
β Supported
Kleer
π Not supported / contact us
Use the API key to access all API endpoints.
Identifier of the consent representing the connection to the accounting system.
Identifier of the sales invoice.
Comma-separated list of optional data to include in the response.
Available values:
paymentStatusβ Include the payment status.
Unique identifier used to correlate and trace this request.
Returns the requested sales invoice.
Represents a sales invoice with full detail.
Unique identifier generated by the accounting system.
External reference or number assigned to the invoice.
Reference for the buyer, usually the buyer's purchase order number.
Indicates whether the invoice is booked.
Indicates whether the invoice is cancelled.
Date when the invoice was issued. Format: yyyy-MM-dd.
Time when the invoice was issued (null if not available).
Date when the invoice payment is due. Format: yyyy-MM-dd.
External reference or number assigned by the seller.
Indicates whether the invoice has been sent.
Indicates whether the invoice is sold to a factoring company for lending purposes.
Missing or invalid authentication credentials.
Not authorized to access this resource.
The requested sales invoice was not found.
This operation is not supported by the connected accounting system.
GET /accounting/api/v1/consents/{consentId}/salesinvoices/{salesInvoiceId} HTTP/1.1
Host: apione.zwapgrid.com
x-api-key: YOUR_API_KEY
x-correlation-id: 123e4567-e89b-12d3-a456-426614174000
Accept: */*
{
"id": "550e8400-e29b-41d4-a716-446655440006",
"reference": "INV-001",
"buyerReference": "PO-2024-001",
"bookedInvoiceIndicator": true,
"cancelledInvoiceIndicator": false,
"issueDate": "2024-03-15",
"issueTime": "09:00:00",
"dueDate": "2024-04-15",
"creditInvoice": {
"creditInvoiceIndicator": false,
"creditInvoiceDocumentReferences": []
},
"financialDimensions": [],
"notes": [
{
"text": "Thank you for your business",
"languageId": "ENG"
}
],
"orderReference": {
"buyerOrderId": "PO-2024-001",
"sellerOrderId": "ORD-2024-001"
},
"documentCurrencyCode": {
"currency": "SEK",
"currencyId": "SEK",
"currencyRate": 1
},
"accountingSupplierParty": null,
"accountingCustomerParty": {
"supplierAssignedAccountId": {
"id": "CUST-001",
"schemeId": "customerId"
},
"party": {
"partyIdentification": [],
"partyName": {
"name": "Acme Corp",
"languageId": "ENG"
},
"postalAddress": null,
"partyLegalEntity": null,
"contact": null,
"endpointId": null
},
"type": null
},
"invoicePeriod": {
"startDate": "2024-03-01",
"endDate": "2024-03-31"
},
"delivery": null,
"deliveryTerms": null,
"paymentTerms": null,
"paymentMeans": [],
"allowanceCharges": [],
"taxTotals": [
{
"taxAmount": {
"amount": 250,
"currencyId": "SEK"
},
"taxIncludedIndicator": true
}
],
"withholdingTaxTotals": [],
"totalBalanceAmount": {
"amount": 1250,
"currencyId": "SEK"
},
"additionalDocumentReferences": [],
"legalMonetaryTotal": {
"taxInclusiveAmount": {
"amount": 1250,
"currencyId": "SEK"
},
"prepaidAmount": {
"amount": 0,
"currencyId": "SEK"
},
"payableRoundingAmount": {
"amount": 0,
"currencyId": "SEK"
},
"payableAmount": {
"amount": 1250,
"currencyId": "SEK"
},
"lineExtensionAmount": {
"amount": 1000,
"currencyId": "SEK"
},
"taxExclusiveAmount": {
"amount": 1000,
"currencyId": "SEK"
}
},
"paymentStatus": {
"status": "UNPAID",
"settlementDate": "2024-04-15"
},
"isSent": false,
"sellerReference": "INV-001",
"isSold": false,
"reminder": null,
"invoiceLines": []
}Last updated
Was this helpful?
