@spaceinvoices/js-sdk 18.13.0 → 18.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -286,7 +286,8 @@ when a period has no applicable records, as required for a joint eDavki submissi
286
286
  - Draft and deleted documents and voided credit notes are excluded. A voided invoice is excluded together with the credit note created when it was voided if both fall in the same period. If that credit note falls in another period, the invoice is reported in its own period and the credit note in its own. A voided invoice without such a credit note is excluded
287
287
  - Domestic outgoing advances are included as separate KIR rows and their allocated net/VAT amounts are subtracted from the linked final invoice. For intra-EU B2B supplies, goods prepayments are omitted and not deducted; only the classified service component is reported in P10 and deducted from the final invoice. A fully prepaid reportable service still emits the final reconciliation row with P10 empty/zero
288
288
  - Third-country outgoing documents use the persisted item tax treatment: bases with an explicit 0% tax row map to P7, while no-tax net amounts (including unrated summary bases) map to P27. Mixed documents are split between both fields. Product/service classification and customer geography are not substitutes for tax treatment; the legacy `export` transaction type remains an explicit goods-export marker and maps to P7
289
- - Domestic and intra-EU B2C outgoing documents fail closed when any net base is 0%, no-tax, unrated, or does not reconcile to the explicit tax summaries; an exemption semantic is required before those amounts can be placed safely
289
+ - An explicit 0% base on a domestic or intra-EU B2C outgoing document is an exempt supply without the right to deduct; it is reported in P9 and excluded from P7
290
+ - A domestic or intra-EU B2C outgoing base without a VAT rate fails closed with guidance to set the correct VAT rate, use 0% with an exemption note (e.g. Art. 42 ZDDV-1) for exempt supplies, or correct the entity's VAT status; so do tax-summary bases that do not reconcile with the net total
290
291
  - The selected month or quarter includes the complete final calendar day
291
292
  - Customer identity fields P5/P6/P6DS are omitted for end consumers
292
293
  - KIR P2/P4 are the issued-document date. An invoice issued before 2026-11-01 is selected by its issue date. An invoice issued from 2026-11-01 is selected by its VAT tax point: the end of the service period (`date_service_to`, else `date_service`, else `date`), or the payment date when one payment received before the service covers the whole total. A part prepayment keeps the default tax point and is returned as a warning by the VAT return preview. An invoice issued after the KIR cut-off of its tax-point period is selected by its issue date, and the preview warns when it charges VAT. Credit notes and advance invoices are selected by their issue date
@@ -303,7 +304,7 @@ when a period has no applicable records, as required for a joint eDavki submissi
303
304
  - An explicit 0% tax row with a non-zero base is an exempt purchase and maps to KPR P14 for a standard taxpayer. No tax rows are not equivalent to 0%: non-VAT-supplier purchases are excluded, while an otherwise reportable expense without tax metadata fails validation
304
305
  - Cross-border supplier-charged foreign VAT is excluded. Mixing it with Slovenian-reportable reverse-charge VAT is rejected as ambiguous
305
306
  - Fixed-asset KPR columns P12/P13 (taxed) and P15/P16 (exempt) are reported only for expenses explicitly linked to a fixed asset of the register (real estate: P12/P15, other assets: P13/P16). The value is the linked taxed or exempt base capped at the linked assets' acquisition cost. When the expense carries non-deductible VAT, that VAT is taken out of the acquisition cost first: linked assets that cover the whole expense (their cost reaches the expense net plus its non-deductible VAT, within 1 cent) report the whole base; otherwise the cost is reduced to its share without VAT (cost × base ÷ (base + non-deductible VAT)), which requires a single VAT rate and deductible share across the expense. A purchase with non-deductible VAT that mixes VAT rates or deductibility is rejected with HTTP 422. A purchase linked to both real-estate and other assets, or mixing taxed and exempt bases, is rejected with HTTP 422. Customs imports remain unsupported, and capitalization is never inferred from supplier geography, item descriptions, or financial categories
306
- - Ambiguous domestic outgoing 0% supplies, unknown transaction types, unsupported tax rates, missing EUR conversions, and amounts outside the FURS XSD bounds are rejected with HTTP 422 instead of producing an unsafe filing
307
+ - Domestic or intra-EU B2C bases without a VAT rate, tax summaries that do not reconcile with the net total, unknown transaction types, unsupported tax rates, missing EUR conversions, and amounts outside the FURS XSD bounds are rejected with HTTP 422 instead of producing an unsafe filing
307
308
  - A 422 caused by document data lists the affected documents in `cause.documents` (`number`, `type`, `reason`), up to 100, with the full count in `cause.total_documents`
308
309
  - Entity must have a valid 8-digit Slovenian tax number (SI prefix is automatically removed)
309
310
 
@@ -286,7 +286,8 @@ when a period has no applicable records, as required for a joint eDavki submissi
286
286
  - Draft and deleted documents and voided credit notes are excluded. A voided invoice is excluded together with the credit note created when it was voided if both fall in the same period. If that credit note falls in another period, the invoice is reported in its own period and the credit note in its own. A voided invoice without such a credit note is excluded
287
287
  - Domestic outgoing advances are included as separate KIR rows and their allocated net/VAT amounts are subtracted from the linked final invoice. For intra-EU B2B supplies, goods prepayments are omitted and not deducted; only the classified service component is reported in P10 and deducted from the final invoice. A fully prepaid reportable service still emits the final reconciliation row with P10 empty/zero
288
288
  - Third-country outgoing documents use the persisted item tax treatment: bases with an explicit 0% tax row map to P7, while no-tax net amounts (including unrated summary bases) map to P27. Mixed documents are split between both fields. Product/service classification and customer geography are not substitutes for tax treatment; the legacy `export` transaction type remains an explicit goods-export marker and maps to P7
289
- - Domestic and intra-EU B2C outgoing documents fail closed when any net base is 0%, no-tax, unrated, or does not reconcile to the explicit tax summaries; an exemption semantic is required before those amounts can be placed safely
289
+ - An explicit 0% base on a domestic or intra-EU B2C outgoing document is an exempt supply without the right to deduct; it is reported in P9 and excluded from P7
290
+ - A domestic or intra-EU B2C outgoing base without a VAT rate fails closed with guidance to set the correct VAT rate, use 0% with an exemption note (e.g. Art. 42 ZDDV-1) for exempt supplies, or correct the entity's VAT status; so do tax-summary bases that do not reconcile with the net total
290
291
  - The selected month or quarter includes the complete final calendar day
291
292
  - Customer identity fields P5/P6/P6DS are omitted for end consumers
292
293
  - KIR P2/P4 are the issued-document date. An invoice issued before 2026-11-01 is selected by its issue date. An invoice issued from 2026-11-01 is selected by its VAT tax point: the end of the service period (`date_service_to`, else `date_service`, else `date`), or the payment date when one payment received before the service covers the whole total. A part prepayment keeps the default tax point and is returned as a warning by the VAT return preview. An invoice issued after the KIR cut-off of its tax-point period is selected by its issue date, and the preview warns when it charges VAT. Credit notes and advance invoices are selected by their issue date
@@ -303,7 +304,7 @@ when a period has no applicable records, as required for a joint eDavki submissi
303
304
  - An explicit 0% tax row with a non-zero base is an exempt purchase and maps to KPR P14 for a standard taxpayer. No tax rows are not equivalent to 0%: non-VAT-supplier purchases are excluded, while an otherwise reportable expense without tax metadata fails validation
304
305
  - Cross-border supplier-charged foreign VAT is excluded. Mixing it with Slovenian-reportable reverse-charge VAT is rejected as ambiguous
305
306
  - Fixed-asset KPR columns P12/P13 (taxed) and P15/P16 (exempt) are reported only for expenses explicitly linked to a fixed asset of the register (real estate: P12/P15, other assets: P13/P16). The value is the linked taxed or exempt base capped at the linked assets' acquisition cost. When the expense carries non-deductible VAT, that VAT is taken out of the acquisition cost first: linked assets that cover the whole expense (their cost reaches the expense net plus its non-deductible VAT, within 1 cent) report the whole base; otherwise the cost is reduced to its share without VAT (cost × base ÷ (base + non-deductible VAT)), which requires a single VAT rate and deductible share across the expense. A purchase with non-deductible VAT that mixes VAT rates or deductibility is rejected with HTTP 422. A purchase linked to both real-estate and other assets, or mixing taxed and exempt bases, is rejected with HTTP 422. Customs imports remain unsupported, and capitalization is never inferred from supplier geography, item descriptions, or financial categories
306
- - Ambiguous domestic outgoing 0% supplies, unknown transaction types, unsupported tax rates, missing EUR conversions, and amounts outside the FURS XSD bounds are rejected with HTTP 422 instead of producing an unsafe filing
307
+ - Domestic or intra-EU B2C bases without a VAT rate, tax summaries that do not reconcile with the net total, unknown transaction types, unsupported tax rates, missing EUR conversions, and amounts outside the FURS XSD bounds are rejected with HTTP 422 instead of producing an unsafe filing
307
308
  - A 422 caused by document data lists the affected documents in `cause.documents` (`number`, `type`, `reason`), up to 100, with the full count in `cause.total_documents`
308
309
  - Entity must have a valid 8-digit Slovenian tax number (SI prefix is automatically removed)
309
310
 
@@ -338,7 +338,8 @@ when a period has no applicable records, as required for a joint eDavki submissi
338
338
  - Draft and deleted documents and voided credit notes are excluded. A voided invoice is excluded together with the credit note created when it was voided if both fall in the same period. If that credit note falls in another period, the invoice is reported in its own period and the credit note in its own. A voided invoice without such a credit note is excluded
339
339
  - Domestic outgoing advances are included as separate KIR rows and their allocated net/VAT amounts are subtracted from the linked final invoice. For intra-EU B2B supplies, goods prepayments are omitted and not deducted; only the classified service component is reported in P10 and deducted from the final invoice. A fully prepaid reportable service still emits the final reconciliation row with P10 empty/zero
340
340
  - Third-country outgoing documents use the persisted item tax treatment: bases with an explicit 0% tax row map to P7, while no-tax net amounts (including unrated summary bases) map to P27. Mixed documents are split between both fields. Product/service classification and customer geography are not substitutes for tax treatment; the legacy `export` transaction type remains an explicit goods-export marker and maps to P7
341
- - Domestic and intra-EU B2C outgoing documents fail closed when any net base is 0%, no-tax, unrated, or does not reconcile to the explicit tax summaries; an exemption semantic is required before those amounts can be placed safely
341
+ - An explicit 0% base on a domestic or intra-EU B2C outgoing document is an exempt supply without the right to deduct; it is reported in P9 and excluded from P7
342
+ - A domestic or intra-EU B2C outgoing base without a VAT rate fails closed with guidance to set the correct VAT rate, use 0% with an exemption note (e.g. Art. 42 ZDDV-1) for exempt supplies, or correct the entity's VAT status; so do tax-summary bases that do not reconcile with the net total
342
343
  - The selected month or quarter includes the complete final calendar day
343
344
  - Customer identity fields P5/P6/P6DS are omitted for end consumers
344
345
  - KIR P2/P4 are the issued-document date. An invoice issued before 2026-11-01 is selected by its issue date. An invoice issued from 2026-11-01 is selected by its VAT tax point: the end of the service period (`date_service_to`, else `date_service`, else `date`), or the payment date when one payment received before the service covers the whole total. A part prepayment keeps the default tax point and is returned as a warning by the VAT return preview. An invoice issued after the KIR cut-off of its tax-point period is selected by its issue date, and the preview warns when it charges VAT. Credit notes and advance invoices are selected by their issue date
@@ -355,7 +356,7 @@ when a period has no applicable records, as required for a joint eDavki submissi
355
356
  - An explicit 0% tax row with a non-zero base is an exempt purchase and maps to KPR P14 for a standard taxpayer. No tax rows are not equivalent to 0%: non-VAT-supplier purchases are excluded, while an otherwise reportable expense without tax metadata fails validation
356
357
  - Cross-border supplier-charged foreign VAT is excluded. Mixing it with Slovenian-reportable reverse-charge VAT is rejected as ambiguous
357
358
  - Fixed-asset KPR columns P12/P13 (taxed) and P15/P16 (exempt) are reported only for expenses explicitly linked to a fixed asset of the register (real estate: P12/P15, other assets: P13/P16). The value is the linked taxed or exempt base capped at the linked assets' acquisition cost. When the expense carries non-deductible VAT, that VAT is taken out of the acquisition cost first: linked assets that cover the whole expense (their cost reaches the expense net plus its non-deductible VAT, within 1 cent) report the whole base; otherwise the cost is reduced to its share without VAT (cost × base ÷ (base + non-deductible VAT)), which requires a single VAT rate and deductible share across the expense. A purchase with non-deductible VAT that mixes VAT rates or deductibility is rejected with HTTP 422. A purchase linked to both real-estate and other assets, or mixing taxed and exempt bases, is rejected with HTTP 422. Customs imports remain unsupported, and capitalization is never inferred from supplier geography, item descriptions, or financial categories
358
- - Ambiguous domestic outgoing 0% supplies, unknown transaction types, unsupported tax rates, missing EUR conversions, and amounts outside the FURS XSD bounds are rejected with HTTP 422 instead of producing an unsafe filing
359
+ - Domestic or intra-EU B2C bases without a VAT rate, tax summaries that do not reconcile with the net total, unknown transaction types, unsupported tax rates, missing EUR conversions, and amounts outside the FURS XSD bounds are rejected with HTTP 422 instead of producing an unsafe filing
359
360
  - A 422 caused by document data lists the affected documents in `cause.documents` (`number`, `type`, `reason`), up to 100, with the full count in `cause.total_documents`
360
361
  - Entity must have a valid 8-digit Slovenian tax number (SI prefix is automatically removed)
361
362
 
@@ -338,7 +338,8 @@ when a period has no applicable records, as required for a joint eDavki submissi
338
338
  - Draft and deleted documents and voided credit notes are excluded. A voided invoice is excluded together with the credit note created when it was voided if both fall in the same period. If that credit note falls in another period, the invoice is reported in its own period and the credit note in its own. A voided invoice without such a credit note is excluded
339
339
  - Domestic outgoing advances are included as separate KIR rows and their allocated net/VAT amounts are subtracted from the linked final invoice. For intra-EU B2B supplies, goods prepayments are omitted and not deducted; only the classified service component is reported in P10 and deducted from the final invoice. A fully prepaid reportable service still emits the final reconciliation row with P10 empty/zero
340
340
  - Third-country outgoing documents use the persisted item tax treatment: bases with an explicit 0% tax row map to P7, while no-tax net amounts (including unrated summary bases) map to P27. Mixed documents are split between both fields. Product/service classification and customer geography are not substitutes for tax treatment; the legacy `export` transaction type remains an explicit goods-export marker and maps to P7
341
- - Domestic and intra-EU B2C outgoing documents fail closed when any net base is 0%, no-tax, unrated, or does not reconcile to the explicit tax summaries; an exemption semantic is required before those amounts can be placed safely
341
+ - An explicit 0% base on a domestic or intra-EU B2C outgoing document is an exempt supply without the right to deduct; it is reported in P9 and excluded from P7
342
+ - A domestic or intra-EU B2C outgoing base without a VAT rate fails closed with guidance to set the correct VAT rate, use 0% with an exemption note (e.g. Art. 42 ZDDV-1) for exempt supplies, or correct the entity's VAT status; so do tax-summary bases that do not reconcile with the net total
342
343
  - The selected month or quarter includes the complete final calendar day
343
344
  - Customer identity fields P5/P6/P6DS are omitted for end consumers
344
345
  - KIR P2/P4 are the issued-document date. An invoice issued before 2026-11-01 is selected by its issue date. An invoice issued from 2026-11-01 is selected by its VAT tax point: the end of the service period (`date_service_to`, else `date_service`, else `date`), or the payment date when one payment received before the service covers the whole total. A part prepayment keeps the default tax point and is returned as a warning by the VAT return preview. An invoice issued after the KIR cut-off of its tax-point period is selected by its issue date, and the preview warns when it charges VAT. Credit notes and advance invoices are selected by their issue date
@@ -355,7 +356,7 @@ when a period has no applicable records, as required for a joint eDavki submissi
355
356
  - An explicit 0% tax row with a non-zero base is an exempt purchase and maps to KPR P14 for a standard taxpayer. No tax rows are not equivalent to 0%: non-VAT-supplier purchases are excluded, while an otherwise reportable expense without tax metadata fails validation
356
357
  - Cross-border supplier-charged foreign VAT is excluded. Mixing it with Slovenian-reportable reverse-charge VAT is rejected as ambiguous
357
358
  - Fixed-asset KPR columns P12/P13 (taxed) and P15/P16 (exempt) are reported only for expenses explicitly linked to a fixed asset of the register (real estate: P12/P15, other assets: P13/P16). The value is the linked taxed or exempt base capped at the linked assets' acquisition cost. When the expense carries non-deductible VAT, that VAT is taken out of the acquisition cost first: linked assets that cover the whole expense (their cost reaches the expense net plus its non-deductible VAT, within 1 cent) report the whole base; otherwise the cost is reduced to its share without VAT (cost × base ÷ (base + non-deductible VAT)), which requires a single VAT rate and deductible share across the expense. A purchase with non-deductible VAT that mixes VAT rates or deductibility is rejected with HTTP 422. A purchase linked to both real-estate and other assets, or mixing taxed and exempt bases, is rejected with HTTP 422. Customs imports remain unsupported, and capitalization is never inferred from supplier geography, item descriptions, or financial categories
358
- - Ambiguous domestic outgoing 0% supplies, unknown transaction types, unsupported tax rates, missing EUR conversions, and amounts outside the FURS XSD bounds are rejected with HTTP 422 instead of producing an unsafe filing
359
+ - Domestic or intra-EU B2C bases without a VAT rate, tax summaries that do not reconcile with the net total, unknown transaction types, unsupported tax rates, missing EUR conversions, and amounts outside the FURS XSD bounds are rejected with HTTP 422 instead of producing an unsafe filing
359
360
  - A 422 caused by document data lists the affected documents in `cause.documents` (`number`, `type`, `reason`), up to 100, with the full count in `cause.total_documents`
360
361
  - Entity must have a valid 8-digit Slovenian tax number (SI prefix is automatically removed)
361
362
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaceinvoices/js-sdk",
3
- "version": "18.13.0",
3
+ "version": "18.14.0",
4
4
  "description": "Official JavaScript/TypeScript SDK for the Space Invoices API",
5
5
  "author": "Space Invoices <support@spaceinvoices.com>",
6
6
  "license": "MIT",