Files
accounted/extensions/general/skatteverket/manifest.json
T
Mattsson 7e81f661b2 Add/skv salary agi (#423)
* feat: add Bankgirot LB-fil support for salary payments and tax payments

- Implemented `generateBgLb` for salary batch payments, producing opening, payment, and closing records.
- Added tests for `generateBgLb` to ensure correct record generation and validation.
- Created `generateBankgiroPaymentBgLb` for single tax payments to Skatteverket, including validation and formatting.
- Added tests for `generateBankgiroPaymentBgLb` to verify record structure and data integrity.
- Introduced `generateSkattekontoOcr` for generating valid OCR references for Skattekonto payments, with tests for various input formats.
- Updated database schema to track payment file formats and timestamps for salary runs and AGI declarations.
- Created a new table for logging salary payslip deliveries to ensure compliance with audit requirements.

* feat: add write permission check and company ID validation for payment file generation

* feat: add write permission check for salary payment file generation
2026-05-09 12:41:16 +02:00

32 lines
1.1 KiB
JSON

{
"id": "skatteverket",
"sector": "general",
"exportName": "skatteverketExtension",
"entryPoint": "@/extensions/general/skatteverket",
"workspace": null,
"requiredEnvVars": [
"SKATTEVERKET_OAUTH2_CLIENT_ID",
"SKATTEVERKET_OAUTH2_CLIENT_SECRET",
"SKATTEVERKET_APIGW_CLIENT_ID",
"SKATTEVERKET_APIGW_CLIENT_SECRET",
"SKATTEVERKET_TOKEN_ENCRYPTION_KEY"
],
"optionalEnvVars": [
"SKATTEVERKET_OAUTH_BASE_URL",
"SKATTEVERKET_API_BASE_URL",
"SKATTEVERKET_AGD_INLAMNING_API_BASE_URL",
"SKATTEVERKET_AGD_PERIOD_API_BASE_URL",
"SKATTEVERKET_SKATTEKONTO_API_BASE_URL",
"SKATTEVERKET_DISABLED"
],
"npmDependencies": [],
"definition": {
"name": "Skatteverket Integration",
"category": "operations",
"icon": "FileCheck",
"dataPattern": "core",
"description": "Skicka momsdeklaration direkt till Skatteverket via BankID.",
"longDescription": "Anslut till Skatteverket med BankID och skicka din momsdeklaration direkt från gnubok. Spara utkast, validera, lås och signera — utan att lämna appen."
}
}