# 2025-06-16

## Systems

### :screwdriver: New

<table><thead><tr><th width="339">System</th><th>Functionality</th></tr></thead><tbody><tr><td>Bjorn Lundén</td><td><ul><li>Added support for <a href="https://apidocs.zwapgrid.com/accounting-api#tag/income-statement/GET/api/v1/consents/{consentId}/incomestatement">GET /incomestatement</a></li></ul></td></tr><tr><td>File.1</td><td><ul><li><p>Configure Invoice Approval Settings for File.1</p><ul><li><p><strong>Approval Modes</strong>: Choose between:</p><ul><li><strong>Single Invoice Approval</strong> (default) – Review and approve invoices one by one.</li><li><strong>Mass Approval</strong> – Approve all valid invoices in one batch.</li><li><strong>Automatic Approval</strong> – Automatically approve invoices that meet all requirements at upload.</li><li><p><strong>Confidence Thresholds</strong>: When using mass or automatic approval, you can now define:</p><ul><li><strong>Minimum Value</strong> – Below this, data is discarded and won’t be returned in the API.</li><li><strong>Approval Threshold</strong> – Invoices meeting this level can be auto-approved; others require manual review.</li></ul></li></ul><p>Each setting comes with helpful tooltips to guide you.</p></li></ul></li></ul></td></tr><tr><td>Fortnox</td><td><ul><li><strong>New Endpoint</strong>: <a href="https://apidocs.zwapgrid.com/accounting-api#tag/sales-invoices/POST/api/v1/consents/{consentId}/salesinvoices"><code>POST /salesinvoices</code></a> is now available for Fortnox.</li><li><strong>New Endpoint</strong>: <a href="https://apidocs.zwapgrid.com/accounting-api#tag/sales-invoices---attachments/POST/api/v1/consents/{consentId}/salesinvoices/{salesInvoiceId}/attachments"><code>POST /salesinvoices/:id/attachments</code></a> is now available for Fortnox.</li><li><strong>Improved Consistency</strong>: <code>GET /salesinvoices/:id</code> now includes <code>additionalDocumentReferences</code> based on <code>ExternalInvoiceReference1</code> and <code>ExternalInvoiceReference2</code>.</li></ul></td></tr></tbody></table>

### :wrench: Improved

<table><thead><tr><th width="339">System</th><th>Functionality</th></tr></thead><tbody><tr><td>All</td><td><ul><li><p>Updated mapping for GET /salesinvoices and GET /supplierinvoices</p><ul><li><strong>Cleanup</strong>: Removed unused field <code>barCodeSymbology</code> from <code>SupplierInvoiceByID</code> and <code>SalesInvoiceByID</code>.</li><li><strong>Deduplication</strong>: Cleaned up duplicate mappings in Asix (e.g., <code>CustLegalNo</code>).</li><li><p><strong>New Fields</strong>: Added support for <code>lineExtensionAmount</code> and/or <code>taxExclusiveAmount</code> to:</p><ul><li><strong>Billy</strong></li><li><strong>Björn Lundén</strong></li><li><strong>Visma e-conomic</strong></li><li><strong>Visma eAccounting</strong></li></ul></li><li><strong>Adjustments</strong>: Updated <code>invoiceLines.lineExtensionAmount</code> mapping in Visma e-conomic for better accuracy.</li></ul></li></ul></td></tr><tr><td>Bjorn Lundén</td><td><ul><li>Improved logic for identifying credit invoices</li></ul></td></tr><tr><td>File.1</td><td><ul><li><p>We’ve enhanced the field mapping experience to reduce parsing errors and improve clarity for users configuring invoice data:</p><ul><li><strong>Field Requirements</strong>: Each data field is now clearly marked as <strong>Mandatory</strong> or <strong>Optional</strong>, with hover-tooltips in both English and Swedish explaining their purpose.</li><li><strong>Better Transparency</strong>: Users are informed about which data points are already <strong>automatically captured</strong> (e.g. invoice number, date, total amount) based on their setup.</li><li><strong>Visual Guidance</strong>: Placeholder examples are shown for empty fields to help users map custom data correctly.</li><li><strong>Persistent Info</strong>: An information box now explains that changes apply to future uploads only and can be updated at any time.</li></ul></li></ul></td></tr><tr><td>Fortnox</td><td><ul><li><p>New version available for <a href="https://apidocs.zwapgrid.com/accounting-api#tag/journals/GET/api/v1/consents/{consentId}/journals/{journalId}"><code>GET /journals/:id</code></a></p><ul><li>Updated mapping to be in line with new data model</li></ul></li><li><p>We’ve improved how <strong>negative discounts</strong> are interpreted in Fortnox sales invoices:</p><ul><li><strong>InvoiceLine.AllowanceCharges.ChargeIndicator</strong> is now set to <code>true</code> when a <strong>negative discount percentage</strong> is used.</li></ul></li><li>Fixed issue with allowanceChargeAmount sometimes indicating that VAT was not included</li></ul></td></tr></tbody></table>

### :x: Deprecation

<table><thead><tr><th width="339">System</th><th>Functionality</th></tr></thead><tbody><tr><td>All</td><td><ul><li><p>Entities : SalesInvoiceById, SupplierInvoiceById</p><ul><li>Remove <code>creditInvoice.reference</code> from the response</li><li>Replaced with: <code>creditInvoice.creditNoteDocumentReference.reference</code></li></ul></li></ul></td></tr></tbody></table>

## Platform

### General

<table><thead><tr><th width="341.3333740234375">System</th><th>Functionality</th></tr></thead><tbody><tr><td>General platform improvements</td><td><ul><li>Security updates</li><li>Performance improvements</li></ul></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zwapgrid.com/changelog/june-2025/2025-06-16.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
