Snelstart icon

Snelstart

Node for controlling Snelstart with the Snelstart API

Actions96

Inkoopboekingen → Post Many Inkoopboekingen

AI-generated

Summary

Create multiple purchase entries in Snelstart.

Inputs

  • factuurdatum (required) — The date of the invoice, this will also be the date that the entry is made in the administration
  • factuurnummer (required) — The invoice number as stated on the invoice
  • leverancier (required) — The supplier of the invoice. Requires both id and uri values for the relatie.
  • boekingsregels (required) — The booking rules of the inkoopboeking. Supports multiple rules, each with optional cost center (kostenplaats with id/uri), description, ledger (grootboek with id/uri), VAT amount (bedrag, default 0), and VAT type (btwSoort).
  • fields — Additional fields for the inkoopboeking. Optional collection with sub-options including boekstuk, omschrijving, documents (fixedCollection with fileName, id, parentIdentifier, readOnly, uri), id, factuurbedrag, gewijzigdDoorAccountant, modifiedOn, markering, uri, and btw (fixedCollection with btwSoort and btwBedrag).

Output shape

Array of created inkoopboekingen objects as returned by the Snelstart API.

Source (bundle.js) executes the request via GenericFunctions.createRequestOptions, createQs, and paginateRequest; returns the API response items paired with input item indices.

Examples

Example 1: Create a single purchase entry with supplier and one booking rule.

factuurdatum: 2024-03-15; factuurnummer: INV-100; leverancier: {id: , uri: }; boekingsregels: [{kostenplaats: {id:

, uri: }, bedrag: 150, btwSoort: 21}; fields: {omschrijving: 'Office supplies', documents: [{fileName: 'invoice.pdf'}]}]

Discussion