Sb/sb 8.0 docs - #159
Merged
Merged
Conversation
- Introduced new endpoints for departments and locations. - Updated GetConnectors for LedgerAccounts with new fields for VAT and quantity handling. - Updated UpdateConnectors for PurchaseJournalEntry, SalesInvoice, and SalesJournalEntry to support LocationId and DepartmentId. - Provided guidance for upgrading from version 7.4 to 8.0.
Copilot started reviewing on behalf of
Rein de Jager - REJA (reindejager)
July 23, 2026 08:42
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Deze PR werkt de AFAS SB API-documentatie bij naar versie 8.0 door de OpenAPI release-spec te updaten, nieuwe GetConnectors voor vestigingen (locations) en afdelingen (departments) toe te voegen, en nieuwe voorbeeldbestanden + release notes te publiceren.
review nodig: ja
labels: 📐 large, 📚 leerzaam (de PR bevat duidelijke upgrade- en usage-notes + concrete request/response voorbeelden voor nieuwe connectorversies)
Changes:
- Bump van de SB OpenAPI release-spec naar 8.0 met nieuwe endpoints (
/api/departments,/api/locations) en bijgewerkte connectorversies (o.a. LedgerAccounts 2.0 en meerdere UpdateConnectors 3.0). - Toevoegen van uitgebreide request/response voorbeelden voor nieuwe 3.0 updateconnectors (SalesJournalEntry, SalesInvoice, PurchaseJournalEntry) en nieuwe getconnectors.
- Nieuwe NL/EN release notes pagina’s voor de overgang van 7.4 → 8.0.
Reviewed changes
Copilot reviewed 25 out of 27 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| OpenApiSpecs/sb/nl/release-spec.json | OpenAPI 8.0 updates: nieuwe endpoints, connectorversies, schema’s en tags. |
| OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/success.json | Succesresponse voorbeeld voor SalesJournalEntry 3.0. |
| OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/400/error.json | 400-response voorbeeld (feature toggle niet aan). |
| OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/400/error on line.json | 400-response voorbeeld voor regel-validatiefouten. |
| OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/400/error on date.json | 400-response voorbeeld voor datumvalidatie. |
| OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/400/already exists.json | 400-response voorbeeld voor duplicaat-invoicenummer. |
| OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop met locatie en afdeling.json | Voorbeeldrequest voor locatie/afdeling op factuurregels. |
| OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop meerdere btw soorten.json | Voorbeeldrequest met meerdere btw-types. |
| OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop alle soorten btw.json | Voorbeeldrequest met meerdere btw-scenario’s. |
| OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop aan persoon.json | Voorbeeldrequest voor verkoop aan persoon. |
| OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop 1 regel.json | Minimaler voorbeeld met één factuurregel. |
| OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/Sales with attachment.json | Voorbeeldrequest met bijlage. |
| OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/BTW Verlegd binnen Nederland.json | Voorbeeldrequest voor verlegde btw (NL). |
| OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/BTW binnen en buiten EU.json | Voorbeeldrequest voor EU/buiten-EU btw-scenario. |
| OpenApiSpecs/sb/files/updateconnector-salesinvoice-Post-3.0/responses/Example.json | Succesresponse voorbeeld voor SalesInvoice 3.0. |
| OpenApiSpecs/sb/files/updateconnector-salesinvoice-Post-3.0/examples/exampleToBeInvoiced.json | Voorbeeldrequest voor “to be invoiced”. |
| OpenApiSpecs/sb/files/updateconnector-salesinvoice-Post-3.0/examples/exampleAlternativeAllocation.json | Voorbeeldrequest met AlternativeAllocationDate. |
| OpenApiSpecs/sb/files/updateconnector-salesinvoice-Post-3.0/examples/example.json | Voorbeeldrequest met locatie/afdeling op regels. |
| OpenApiSpecs/sb/files/updateconnector-purchasejournalentry-Post-3.0/responses/response.json | Succesresponse voorbeeld voor PurchaseJournalEntry 3.0. |
| OpenApiSpecs/sb/files/updateconnector-purchasejournalentry-Post-3.0/examples/Inkoopjournaalpost.json | Voorbeeldrequest voor PurchaseJournalEntry 3.0 met locatie/afdeling. |
| OpenApiSpecs/sb/files/getconnector-locations-get-1.0/responses/example.json | Voorbeeldresponse voor locations 1.0. |
| OpenApiSpecs/sb/files/getconnector-ledgeraccounts-get-2.0/responses/ledgeraccounts.json | Voorbeeldresponse voor ledgeraccounts 2.0 (nieuwe velden). |
| OpenApiSpecs/sb/files/getconnector-departments-get-1.0/responses/example.json | Voorbeeldresponse voor departments 1.0. |
| markdownpages/sb/nl/api-releasenotes.md | NL release notes 7.4 → 8.0 (locations/departments + 3.0 updates). |
| markdownpages/sb/en/api-releasenotes.md | EN release notes 7.4 → 8.0. |
Comment on lines
+13656
to
+13660
| "salesjournalentry-2.0-Delete-JsonSchema": { | ||
| "$schema": "https://json-schema.org/draft/2019-09/schema", | ||
| "type": "object", | ||
| "description": "Delete a salesjournalentry", | ||
| "required": [ |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Heimmot24
approved these changes
Jul 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.