Budgetter & udgifter
Budgetter, transaktioner, omkostninger, skat og bankkonti — følg forbruget, og afstem automatisk.
Budget
Endpoints
| GET | /budgets | Henter samlingen af Budget-ressourcer. |
| POST | /budgets | Opretter en Budget-ressource. |
| GET | /budgets/{id} | Henter en Budget-ressource. |
| PATCH | /budgets/{id} | Opdaterer Budget-ressourcen. |
| DELETE | /budgets/{id} | Fjerner Budget-ressourcen. |
| POST | /budgets/{id}/copy-plan-from-year | Opretter en Budget-ressource. |
| GET | /budgets/{id}/employee-pnl | Henter en Budget-ressource. |
| PUT | /budgets/{id}/plan | Erstatter Budget-ressourcen. |
| GET | /budgets/{id}/pnl-by-tags | Henter en Budget-ressource. |
| GET | /budgets/{id}/pnl-by-tags-drilldown | Henter en Budget-ressource. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| name* | string | |
| type* | string | |
| granularity | string | |
| budgetGroup | string,null (iri-reference) | |
| attributeSet | string,null (iri-reference) | |
| dateFrom | string,null (date-time) | |
| dateTo | string,null (date-time) | |
| displayPricePerSqm | boolean | Opt-in flag for the P&L-by-tags preview's price-per-sqm column. When true, the costsByProject section is expected to surface a surface-aware price view in addition to absolute amounts. The actual surface lookup (Project -> assigned Property/Asset -> surface AttributeValue) lands after the post-Horizon-2026-04-30 co-design pass; this flag is the persistent toggle so the option exists today. |
| outgoingTags | array | Tag-mode filter (outgoing/income side). OR semantics — an invoice matches if it carries at least one of these tags. Replaces the legacy single $outgoingTag ManyToOne (kept as a virtual property for backwards-compat during the FE rollout window). |
| incomingTags | array | |
| amountStrategy* | string | |
| actualMode | string | |
| planningMode | stringnull | |
| viewMode | stringnull | Explicit planning-vs-observation intent, decoupled from planningMode (the scope). Null on legacy budgets: BudgetNormalizer::resolveViewMode() falls back to inferring the mode from plan artifacts when this is unset, so existing budgets are unchanged. Write-only groups — the read value is emitted by BudgetNormalizer, which honours this field first. |
| planSource | string | |
| config | array | |
| includePeopleCosts | booleannull | |
| includeEmployeeCosts | booleannull | |
| includePeopleIncome | booleannull | |
| outgoingTag | string,null (iri-reference) | Legacy single-tag alias — read returns the first element of $outgoingTags (or null). Write REPLACES the collection with a single-element array (or empty when null). Exists only to keep the still-deployed old frontend working through PR 3's rollout. |
| incomingTag | string,null (iri-reference) |
Budgettransaktion
Endpoints
| GET | /budget-transactions | Henter samlingen af BudgetTransaction-ressourcer. |
| POST | /budget-transactions | Opretter en BudgetTransaction-ressource. |
| GET | /budget-transactions/{id} | Henter en BudgetTransaction-ressource. |
| PATCH | /budget-transactions/{id} | Opdaterer BudgetTransaction-ressourcen. |
| DELETE | /budget-transactions/{id} | Fjerner BudgetTransaction-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| budget* | string (iri-reference) | |
| transaction* | string (iri-reference) | |
| employee | string,null (iri-reference) | |
| amount | numbernull |
Budgetgruppe
Endpoints
| GET | /budget-groups | Henter samlingen af BudgetGroup-ressourcer. |
| POST | /budget-groups | Opretter en BudgetGroup-ressource. |
| GET | /budget-groups/{id} | Henter en BudgetGroup-ressource. |
| PATCH | /budget-groups/{id} | Opdaterer BudgetGroup-ressourcen. |
| DELETE | /budget-groups/{id} | Fjerner BudgetGroup-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| name* | string |
Omkostning
Endpoints
| GET | /contractors | Henter samlingen af Cost-ressourcer. |
| POST | /contractors | Opretter en Cost-ressource. |
| GET | /contractors/{id} | Henter en Cost-ressource. |
| PATCH | /contractors/{id} | Opdaterer Cost-ressourcen. |
| DELETE | /contractors/{id} | Fjerner Cost-ressourcen. |
| POST | /contractors/nip-validation | Opretter en Cost-ressource. |
| GET | /contractors/search | Henter samlingen af Cost-ressourcer. |
| GET | /costs | Henter samlingen af Cost-ressourcer. |
| POST | /costs | Opretter en Cost-ressource. |
| GET | /costs/{id} | Henter en Cost-ressource. |
| PATCH | /costs/{id} | Opdaterer Cost-ressourcen. |
| GET | /costs/{id}/documents | Henter en Cost-ressource. |
| GET | /costs/payment-due/{date} | Get by path parameters |
| GET | /suppliers | Henter samlingen af Cost-ressourcer. |
| POST | /suppliers | Opretter en Cost-ressource. |
| GET | /suppliers/{id} | Henter en Cost-ressource. |
| PATCH | /suppliers/{id} | Opdaterer Cost-ressourcen. |
| DELETE | /suppliers/{id} | Fjerner Cost-ressourcen. |
| POST | /suppliers/nip-validation | Opretter en Cost-ressource. |
| GET | /suppliers/search | Henter samlingen af Cost-ressourcer. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| costGroup* | string (iri-reference) | |
| allowDuplicate | booleannull | Not persisted (no ORM\Column): an escape hatch for POST /contractors only, mirroring Client::$allowDuplicate. When true, ContractorCreateProcessor:: refuseIfDuplicate() skips the duplicate-party guard so a genuinely distinct same-name contractor can be created on purpose. |
| ownerEmployee | string,null (iri-reference) | |
| tinType* | string | |
| tin | stringnull | |
| tinCountry | string,null (iri-reference) | |
| cyclic | boolean | |
| paymentDeadline | integernull | |
| name* | string | |
| description | stringnull | |
| matchRegex | stringnull | |
| requireAttachment | booleannull | |
| taxAmount | stringnull | |
| notIncludeInChart | boolean | |
| eInvoicingReferenceNumber | stringnull | |
| eInvoicingSourceXmlUrl | stringnull | |
| eInvoicingVisualUrl | stringnull | |
| contractorGroup | string,null (iri-reference) |
Transaktion
Endpoints
| GET | /transactions | Henter samlingen af Transaction-ressourcer. |
| POST | /transactions | Opretter en Transaction-ressource. |
| GET | /transactions/{id} | Henter en Transaction-ressource. |
| PATCH | /transactions/{id} | Opdaterer Transaction-ressourcen. |
| DELETE | /transactions/{id} | Fjerner Transaction-ressourcen. |
| GET | /transactions/{id}/suggestions | Henter samlingen af Transaction-ressourcer. |
| POST | /transactions/{id}/suggestions/{suggestionId}/apply | Opretter en Transaction-ressource. |
| POST | /transactions/import | Opretter en Transaction-ressource. |
| GET | /transactions/search | Henter samlingen af Transaction-ressourcer. |
| GET | /transactions/unassigned | Henter samlingen af Transaction-ressourcer. |
| GET | /transactions/with-problems | Henter samlingen af Transaction-ressourcer. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| id | string | |
| bankAccount | string (iri-reference) | |
| employeeOwner | string,null (iri-reference) | |
| hash | string | |
| source | stringnull | Where this row came from. Written at creation by whichever importer or creator made it — NEVER inferred from the row's shape. |
| type | string | |
| cost | string,null (iri-reference) | |
| counterparty | string,null (iri-reference) | |
| counterpartyRole | stringnull | |
| statementNumber | integer | |
| operationNumber | stringnull | |
| description | string | |
| currency | string | |
| amount | number | |
| endingBalance | number | |
| orderDate | string (date-time) | |
| execDate | string (date-time) | |
| relatedDate | string,null (date-time) | |
| ignored* | integer | |
| note | stringnull | |
| hasDetectedProblems | booleannull | |
| transactionAttachments | array | |
| additionalAttachments | array | Inverse of TransactionAttachment.additionalTransactions: invoice documents this transaction is linked to as an ADDITIONAL payment (one invoice paid across several payments). Lets the transaction recognize the link for completeness, same as a primary attachment. |
| invoiceTransactions | array | |
| properties | array | |
| budgetTransactions | array | |
| projectTransactions | array | |
| employeeTransactions | array | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) | |
| contractor | string,null (iri-reference) | |
| connectedMonth | string (date-time) | |
| relatedEmployee | string,null (iri-reference) |
Bankkonto
Endpoints
| GET | /bank-accounts | Henter samlingen af BankAccount-ressourcer. |
| POST | /bank-accounts | Opretter en BankAccount-ressource. |
| GET | /bank-accounts/{id} | Henter en BankAccount-ressource. |
| PATCH | /bank-accounts/{id} | Opdaterer BankAccount-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| bank | string,null (iri-reference) | |
| type* | string | |
| default | boolean | |
| hidden | boolean | |
| name* | string | |
| number | stringnull | |
| prefix | stringnull | |
| currency* | string,null (iri-reference) | |
| defaultImportFormat* | string |
Momsgruppe
Endpoints
| GET | /tax-groups | Henter samlingen af TaxGroup-ressourcer. |
| POST | /tax-groups | Opretter en TaxGroup-ressource. |
| GET | /tax-groups/{id} | Henter en TaxGroup-ressource. |
| PATCH | /tax-groups/{id} | Opdaterer TaxGroup-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| name* | string | |
| isDefault | boolean |
Valuta
Endpoints
| GET | /currencies | Henter samlingen af Currency-ressourcer. |
| GET | /currencies/{!sourceCurrency}/rates/{!targetCurrency}/{date} | Henter samlingen af Currency-ressourcer. |
| GET | /currencies/{id} | Henter en Currency-ressource. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| id* | string |
Startbudget
Endpoints
| GET | /initial-budgets | Henter samlingen af InitialBudget-ressourcer. |
| POST | /initial-budgets | Opretter en InitialBudget-ressource. |
| GET | /initial-budgets/{id} | Henter en InitialBudget-ressource. |
| PATCH | /initial-budgets/{id} | Opdaterer InitialBudget-ressourcen. |
| DELETE | /initial-budgets/{id} | Fjerner InitialBudget-ressourcen. |
| GET | /initial-budgets/{id}/contract-comparison | Henter en InitialBudget-ressource. |
| GET | /initial-budgets/{id}/contract-comparison/{tagDefinitionId}/breakdown | Henter en InitialBudget-ressource. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| project | string (iri-reference) | |
| name | string | |
| notes | stringnull |
Startbudgetpost
Endpoints
| GET | /initial-budget-items | Henter samlingen af InitialBudgetItem-ressourcer. |
| POST | /initial-budget-items | Opretter en InitialBudgetItem-ressource. |
| GET | /initial-budget-items/{id} | Henter en InitialBudgetItem-ressource. |
| PATCH | /initial-budget-items/{id} | Opdaterer InitialBudgetItem-ressourcen. |
| DELETE | /initial-budget-items/{id} | Fjerner InitialBudgetItem-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| id | string | |
| name | string | |
| plannedAmount | stringnull | |
| tagDefinition | string,null (iri-reference) | |
| unit | stringnull | |
| quantity | stringnull | |
| sortOrder | integer |
Budgetperiode
Endpoints
| GET | /budget-periods | Henter samlingen af BudgetPeriod-ressourcer. |
| POST | /budget-periods | Opretter en BudgetPeriod-ressource. |
| GET | /budget-periods/{id} | Henter en BudgetPeriod-ressource. |
| PATCH | /budget-periods/{id} | Opdaterer BudgetPeriod-ressourcen. |
| DELETE | /budget-periods/{id} | Fjerner BudgetPeriod-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| id | string | |
| periodKey | string | |
| baseAmount | stringnull | |
| linearGrowth | stringnull | |
| exponentialGrowthBps | integernull | |
| unitGrowth | stringnull | |
| plannedIncome | stringnull |
Budgetmedarbejder
Endpoints
| GET | /budget-employees | Henter samlingen af BudgetEmployee-ressourcer. |
| POST | /budget-employees | Opretter en BudgetEmployee-ressource. |
| GET | /budget-employees/{id} | Henter en BudgetEmployee-ressource. |
| PATCH | /budget-employees/{id} | Opdaterer BudgetEmployee-ressourcen. |
| DELETE | /budget-employees/{id} | Fjerner BudgetEmployee-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| id | string | |
| budget* | object | |
| employee* | string (iri-reference) | |
| position | string | |
| positionName | string |
Budgetkontrakt
Endpoints
| GET | /budget-contracts | Henter samlingen af BudgetContract-ressourcer. |
| POST | /budget-contracts | Opretter en BudgetContract-ressource. |
| GET | /budget-contracts/{id} | Henter en BudgetContract-ressource. |
| DELETE | /budget-contracts/{id} | Fjerner BudgetContract-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| id | string | |
| contract | string (iri-reference) |
Budgetleverandør
Endpoints
| GET | /budget-contractors | Henter samlingen af BudgetContractor-ressourcer. |
| POST | /budget-contractors | Opretter en BudgetContractor-ressource. |
| GET | /budget-contractors/{id} | Henter en BudgetContractor-ressource. |
| DELETE | /budget-contractors/{id} | Fjerner BudgetContractor-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| budget* | string (iri-reference) | |
| contractor* | string (iri-reference) |
Budgetfaktura
Endpoints
| GET | /budget-invoices | Henter samlingen af BudgetInvoice-ressourcer. |
| POST | /budget-invoices | Opretter en BudgetInvoice-ressource. |
| GET | /budget-invoices/{id} | Henter en BudgetInvoice-ressource. |
| DELETE | /budget-invoices/{id} | Fjerner BudgetInvoice-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| budget* | string (iri-reference) | |
| invoice* | string (iri-reference) | |
| amountNet | stringnull |
Budgetprojekt
Endpoints
| GET | /budget-projects | Henter samlingen af BudgetProject-ressourcer. |
| POST | /budget-projects | Opretter en BudgetProject-ressource. |
| GET | /budget-projects/{id} | Henter en BudgetProject-ressource. |
| DELETE | /budget-projects/{id} | Fjerner BudgetProject-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| id | string | |
| budget* | object | |
| project* | string (iri-reference) | |
| createdAt | string (date-time) |
Budgetaktivitetspost
Endpoints
| GET | /budget-activity | Henter samlingen af BudgetActivityItem-ressourcer. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| type | string | |
| state | string | |
| direction | string | |
| label | string | |
| amount | number | |
| date | stringnull |
Budgetadvarselspost
Endpoints
| GET | /budget-alerts | Henter samlingen af BudgetAlertItem-ressourcer. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| key | string | |
| type | string | |
| severity | string | |
| title | string | |
| description | string | |
| period | stringnull | |
| dismissed | boolean |
Omkostningsgruppe
Endpoints
| GET | /cost-groups | Henter samlingen af CostGroup-ressourcer. |
| POST | /cost-groups | Opretter en CostGroup-ressource. |
| GET | /cost-groups/{id} | Get cost group chart |
| PATCH | /cost-groups/{id} | Opdaterer CostGroup-ressourcen. |
| GET | /cost-groups/{id}/chart | Get cost group chart |
| POST | /cost-groups/{id}/merge | Merge cost groups |
| POST | /cost-groups/assign-icons-ai | Assign cost group icons via AI |
| GET | /cost-groups/chart | Get cost groups chart |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| id | integer | |
| type* | string | |
| name* | string | |
| description | stringnull | |
| icon | stringnull | |
| accoutancy_reference | stringnull | |
| costs | array | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) | |
| possibleTypes | string |
Skatteregel
Endpoints
| GET | /tax-rules | Henter samlingen af TaxRule-ressourcer. |
| POST | /tax-rules | Opretter en TaxRule-ressource. |
| GET | /tax-rules/{id} | Henter en TaxRule-ressource. |
| PATCH | /tax-rules/{id} | Opdaterer TaxRule-ressourcen. |
| DELETE | /tax-rules/{id} | Fjerner TaxRule-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| id | string | |
| country* | string (iri-reference) | |
| taxAmount* | string |
Bank
Endpoints
| GET | /banks | Henter samlingen af Bank-ressourcer. |
| POST | /banks | Opretter en Bank-ressource. |
| GET | /banks/{id} | Henter en Bank-ressource. |
| PATCH | /banks/{id} | Opdaterer Bank-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| name | string | |
| swift* | string |
Transaktionsbilag
Endpoints
| GET | /transaction-attachments | Henter samlingen af TransactionAttachment-ressourcer. |
| POST | /transaction-attachments | Opretter en TransactionAttachment-ressource. |
| GET | /transaction-attachments/{id} | Henter en TransactionAttachment-ressource. |
| PATCH | /transaction-attachments/{id} | Opdaterer TransactionAttachment-ressourcen. |
| DELETE | /transaction-attachments/{id} | Fjerner TransactionAttachment-ressourcen. |
| POST | /transaction-attachments/{id}/apply-suggestion | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/apply-supplier-suggestion | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/approve | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/cascade-preview | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/detach | Opretter en TransactionAttachment-ressource. |
| GET | /transaction-attachments/{id}/documents | Henter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/manual-match | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/mark-manual-paid | Opretter en TransactionAttachment-ressource. |
| GET | /transaction-attachments/{id}/match-candidates | Henter samlingen af TransactionAttachment-ressourcer. |
| POST | /transaction-attachments/{id}/prefill-project-allocations | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/prefill-project-allocations-by-cascade | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/prefill-project-allocations-by-meter | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/reject | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/replace-project-allocations | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/settle-without-transaction | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/submit-for-approval | Opretter en TransactionAttachment-ressource. |
| GET | /transaction-attachments/{id}/suggestions | Henter samlingen af TransactionAttachment-ressourcer. |
| GET | /transaction-attachments/{id}/suggestions-debug | Henter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/suggestions/{suggestionId}/apply | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/suggestions/accept-all | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/unlink-transaction | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/unmark-manual-paid | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/unsettle-without-transaction | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/{id}/withdraw-approval | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/create | Opretter en TransactionAttachment-ressource. |
| POST | /transaction-attachments/create-base64 | Opretter en TransactionAttachment-ressource. |
| GET | /transaction-attachments/pending-approval | Henter samlingen af TransactionAttachment-ressourcer. |
| GET | /transaction-attachments/search | Henter samlingen af TransactionAttachment-ressourcer. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| id | integer | |
| amount | integernull | |
| name | string | The DISPLAY name — the filename the user uploaded (#3381). |
| invoiceNumber | stringnull | The purchase document number, when one is known (#3381). |
| receivedAt | string (date-time) | |
| status | string |
Fakturalinje til transaktionsbilag
Endpoints
| POST | /transaction-attachment-invoice-lines | Opretter en TransactionAttachmentInvoiceLine-ressource. |
| PATCH | /transaction-attachment-invoice-lines/{id} | Opdaterer TransactionAttachmentInvoiceLine-ressourcen. |
| DELETE | /transaction-attachment-invoice-lines/{id} | Fjerner TransactionAttachmentInvoiceLine-ressourcen. |
Skemafelter
| Felt | Type | Beskrivelse |
|---|---|---|
| id | integer | |
| transactionAttachment | string (iri-reference) | |
| position | integer | |
| description | stringnull | |
| quantity | stringnull | |
| unitPrice | stringnull | |
| amount | stringnull | |
| taxRate | stringnull | |
| currency | stringnull | |
| project | string,null (iri-reference) | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) |