@spaceinvoices/js-sdk 18.19.0 → 18.20.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.
|
@@ -642,7 +642,7 @@ export declare const getCreditNoteById: (id: string, params?: GetCreditNoteByIdP
|
|
|
642
642
|
/**
|
|
643
643
|
* Update an existing credit note.
|
|
644
644
|
Creates a version snapshot before applying changes.
|
|
645
|
-
Cannot update voided or FURS-fiscalized credit notes. Italian invoices and credit notes are immutable once issued, including pending or rejected SdI submissions; use the supported correction flow. Draft item edits use rate-level VAT rounding, and edits or finalization based on a concurrently changed Italian draft fail with 422 until reloaded.
|
|
645
|
+
Cannot update voided or FURS-fiscalized credit notes. A void reversal credit note (the one created by voiding an invoice) cannot be edited except for `metadata`; any other change returns 422. This check runs after the voided, fiscalized (FURS, FINA, EET, VERI*FACTU) and Italian checks and the Peppol and NAV e-invoicing locks, which return their own errors (for example 409 NAV_DOCUMENT_IMMUTABLE) and can also refuse metadata edits; it runs before the KSeF and Portugal update hooks, so there this 422 is returned first. Italian invoices and credit notes are immutable once issued, including pending or rejected SdI submissions; use the supported correction flow. Draft item edits use rate-level VAT rounding, and edits or finalization based on a concurrently changed Italian draft fail with 422 until reloaded.
|
|
646
646
|
If items are provided, they replace all existing items.
|
|
647
647
|
Slovenian Article 76.a: adding linked invoices without `tax_rules` inherits it when all use it; a mismatch with the credited invoice returns 422.
|
|
648
648
|
* @summary Update a credit note
|
|
@@ -642,7 +642,7 @@ export declare const getCreditNoteById: (id: string, params?: GetCreditNoteByIdP
|
|
|
642
642
|
/**
|
|
643
643
|
* Update an existing credit note.
|
|
644
644
|
Creates a version snapshot before applying changes.
|
|
645
|
-
Cannot update voided or FURS-fiscalized credit notes. Italian invoices and credit notes are immutable once issued, including pending or rejected SdI submissions; use the supported correction flow. Draft item edits use rate-level VAT rounding, and edits or finalization based on a concurrently changed Italian draft fail with 422 until reloaded.
|
|
645
|
+
Cannot update voided or FURS-fiscalized credit notes. A void reversal credit note (the one created by voiding an invoice) cannot be edited except for `metadata`; any other change returns 422. This check runs after the voided, fiscalized (FURS, FINA, EET, VERI*FACTU) and Italian checks and the Peppol and NAV e-invoicing locks, which return their own errors (for example 409 NAV_DOCUMENT_IMMUTABLE) and can also refuse metadata edits; it runs before the KSeF and Portugal update hooks, so there this 422 is returned first. Italian invoices and credit notes are immutable once issued, including pending or rejected SdI submissions; use the supported correction flow. Draft item edits use rate-level VAT rounding, and edits or finalization based on a concurrently changed Italian draft fail with 422 until reloaded.
|
|
646
646
|
If items are provided, they replace all existing items.
|
|
647
647
|
Slovenian Article 76.a: adding linked invoices without `tax_rules` inherits it when all use it; a mismatch with the credited invoice returns 422.
|
|
648
648
|
* @summary Update a credit note
|
|
@@ -22183,7 +22183,7 @@ export declare const GetCreditNoteByIdResponse: zod.ZodObject<{
|
|
|
22183
22183
|
/**
|
|
22184
22184
|
* Update an existing credit note.
|
|
22185
22185
|
Creates a version snapshot before applying changes.
|
|
22186
|
-
Cannot update voided or FURS-fiscalized credit notes. Italian invoices and credit notes are immutable once issued, including pending or rejected SdI submissions; use the supported correction flow. Draft item edits use rate-level VAT rounding, and edits or finalization based on a concurrently changed Italian draft fail with 422 until reloaded.
|
|
22186
|
+
Cannot update voided or FURS-fiscalized credit notes. A void reversal credit note (the one created by voiding an invoice) cannot be edited except for `metadata`; any other change returns 422. This check runs after the voided, fiscalized (FURS, FINA, EET, VERI*FACTU) and Italian checks and the Peppol and NAV e-invoicing locks, which return their own errors (for example 409 NAV_DOCUMENT_IMMUTABLE) and can also refuse metadata edits; it runs before the KSeF and Portugal update hooks, so there this 422 is returned first. Italian invoices and credit notes are immutable once issued, including pending or rejected SdI submissions; use the supported correction flow. Draft item edits use rate-level VAT rounding, and edits or finalization based on a concurrently changed Italian draft fail with 422 until reloaded.
|
|
22187
22187
|
If items are provided, they replace all existing items.
|
|
22188
22188
|
Slovenian Article 76.a: adding linked invoices without `tax_rules` inherits it when all use it; a mismatch with the credited invoice returns 422.
|
|
22189
22189
|
* @summary Update a credit note
|
|
@@ -22183,7 +22183,7 @@ export declare const GetCreditNoteByIdResponse: zod.ZodObject<{
|
|
|
22183
22183
|
/**
|
|
22184
22184
|
* Update an existing credit note.
|
|
22185
22185
|
Creates a version snapshot before applying changes.
|
|
22186
|
-
Cannot update voided or FURS-fiscalized credit notes. Italian invoices and credit notes are immutable once issued, including pending or rejected SdI submissions; use the supported correction flow. Draft item edits use rate-level VAT rounding, and edits or finalization based on a concurrently changed Italian draft fail with 422 until reloaded.
|
|
22186
|
+
Cannot update voided or FURS-fiscalized credit notes. A void reversal credit note (the one created by voiding an invoice) cannot be edited except for `metadata`; any other change returns 422. This check runs after the voided, fiscalized (FURS, FINA, EET, VERI*FACTU) and Italian checks and the Peppol and NAV e-invoicing locks, which return their own errors (for example 409 NAV_DOCUMENT_IMMUTABLE) and can also refuse metadata edits; it runs before the KSeF and Portugal update hooks, so there this 422 is returned first. Italian invoices and credit notes are immutable once issued, including pending or rejected SdI submissions; use the supported correction flow. Draft item edits use rate-level VAT rounding, and edits or finalization based on a concurrently changed Italian draft fail with 422 until reloaded.
|
|
22187
22187
|
If items are provided, they replace all existing items.
|
|
22188
22188
|
Slovenian Article 76.a: adding linked invoices without `tax_rules` inherits it when all use it; a mismatch with the credited invoice returns 422.
|
|
22189
22189
|
* @summary Update a credit note
|
package/package.json
CHANGED