Skip to main content

9 posts tagged with "API"

Changes to the Data Mart GraphQL API

View All Tags

Data Mart API - 2026-06-10

Visma Net ERP Data Mart

New query: financialPeriods

The financialPeriods query and the FinancialPeriod type are now available, exposing the company's financial calendar:

  • Core fields: finPeriodId, startDate, endDate, description, active, year.
  • Per-module close flags: closedInGeneralLedger, closedInSupplierLedger, closedInCustomerLedger, closedInInventoryManagement, closedInCashManagement, closedInFixedAssets.

Data Mart API - 2026-05-21

Visma Net ERP Data Mart

Budget type now uses the full composite key

The Budget type has been updated so that its GraphQL key matches the full GLBudgetLine primary key:

  • branchId, ledgerId and financialYear are now marked as part of the key (@partOfKey).
  • A new non-nullable field parentGroupId: String! has been added and is also part of the key.

This aligns the schema with the underlying ETL collection, which has been reimported with the same composite key. Clients querying the Budget type should add parentGroupId to their selection sets where the parent budget line is relevant.

Data Mart API - 2026-04-30

Visma Net ERP Data Mart

Removed Query Arguments

includeDeleted argument removed from selected queries

The includeDeleted argument has been removed from the queries listed below. For these entities the underlying deletedDatabaseRecord field is not populated, so the argument had no effect - it was previously documented as Not active yet for budgets and journalTransactions, and as deprecated for the GL balance queries. It has now been dropped from the schema entirely.

Data Mart API - 2026-04-28

Visma Net ERP Data Mart

New Fields

deferralScheduleNbr on invoice line types

A new optional deferralScheduleNbr: String field is exposed on the following types. It carries the deferral schedule's business number, separate from the existing deferralSchedule (description) and deferredCode (code) values.

  • APInvoiceLine
  • SupplierDocumentLine

Data Mart API - 2026-04-23

Visma Net ERP Data Mart

New Query Arguments

includeDeleted parameter added to additional queries

Not active yet.

The includeDeleted argument (Boolean! = false) is now available on the following queries. When false (the default), soft-deleted records (deletedDatabaseRecord = true) are excluded from results. Pass includeDeleted: true to include them.

Data Mart API - 2026-04-03

Visma Net ERP Data Mart

New Fields

CustomerDocumentLine

FieldTypeDescription
lineTypeStringThe line type, letting you distinguish between different categories of customer document lines.
manualAmountDecimal!The manually entered amount override on the customer document line.
manualAmountInCurrencyDecimal!The manually entered amount override expressed in the document's currency.

Data Mart API - 2026-04-01

Visma Net ERP Data Mart

New Fields

Experimental GL balance queries

The generalLedgerBalanceExperimentalForwardPeriodsByGroup and generalLedgerBalanceExperimentalForwardPeriodsExpanded queries now accept an optional periodsUpTo parameter.

ParameterTypeDescription
periodsUpToString (format: yyyyMM)Upper-bound financial period for forward expansion. When omitted, the current month is used (previous default behaviour).

Data Mart API - 2026-03-26

Visma Net ERP Data Mart

New Endpoints

  • generalLedgerBalancesForwardByGroup - Forward-period expansion paginated by group. Each affected (branchId, accountId, subaccountId) group is expanded with virtual monthly periods up to the current month. Use lastGroupKey for cursor-based pagination. Marked as EXPERIMENTAL.
  • generalLedgerBalancesForwardExpanded - Forward-period expansion with overflow. pageSize controls approximate source documents processed; response may exceed pageSize due to virtual period expansion. Use lastGroupKey for cursor-based pagination. Marked as EXPERIMENTAL.