@spaceinvoices/js-sdk 18.24.0 → 18.25.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.
|
@@ -910,7 +910,7 @@ export type renderInvoicePreviewResponse = (renderInvoicePreviewResponseSuccess
|
|
|
910
910
|
export declare const getRenderInvoicePreviewUrl: (params?: RenderInvoicePreviewParams) => string;
|
|
911
911
|
export declare const renderInvoicePreview: (partialInvoicePreviewCompleteInvoicePreview: PartialInvoicePreview | CompleteInvoicePreview, params?: RenderInvoicePreviewParams, options?: RequestInit) => Promise<renderInvoicePreviewResponse>;
|
|
912
912
|
/**
|
|
913
|
-
* Void an invoice for technical reasons (duplicate, error, etc.). For FURS-fiscalized invoices, automatically submits technical cancellation to FURS and creates a credit note. For TicketBAI, requires a reason and retains a signed annulment for an eligible unpaid ordinary invoice with confirmed delivery. Returns the invoice with ticketbai.cancellation status; repeated calls reuse the cancellation. Uncertain original delivery returns 409; ineligible invoices return 422. The offsetting credit note, its settlement and the void are committed together. If the invoice is edited while the void is in progress, the credit note is rebuilt from the edited invoice; if the invoice keeps changing, the void returns 409 and nothing is voided. If an interrupted earlier void left a credit note without voiding the invoice, the void returns 422 and the invoice needs manual reconciliation. For business corrections, create a credit note instead.
|
|
913
|
+
* Void an invoice for technical reasons (duplicate, error, etc.). For FURS-fiscalized invoices, automatically submits technical cancellation to FURS and creates a credit note. For TicketBAI, requires a reason and retains a signed annulment for an eligible unpaid ordinary invoice with confirmed delivery. Returns the invoice with ticketbai.cancellation status; repeated calls reuse the cancellation. Uncertain original delivery returns 409; ineligible invoices return 422. The offsetting credit note, its settlement and the void are committed together. If the invoice already has credit notes (for example a partial return), the offsetting credit note reverses only the amount not yet credited: returned quantities are taken off their lines, other earlier credit lines are reversed as negative lines, and the totals and VAT per rate are the invoice minus the earlier credit notes. The void returns 422 and nothing is voided when the invoice is already fully credited, when an earlier credit note is linked to several documents or is in another currency, when the earlier credit notes would leave a negative amount in a VAT rate, when the invoice has several tax rows at one VAT rate, when the net rounding correction would exceed the ±1.00 limit, or when a FURS invoice was fiscalized with a payment amount different from its total and already has credit notes; credit the remainder with a credit note instead. If the invoice is edited while the void is in progress, the credit note is rebuilt from the edited invoice; if the invoice keeps changing, the void returns 409 and nothing is voided. If an interrupted earlier void left a credit note without voiding the invoice, the void returns 422 and the invoice needs manual reconciliation. For business corrections, create a credit note instead.
|
|
914
914
|
Polish B2B issuance returns 422 KSEF_AUTH_FAILED when KSeF rejects the entity's KSeF token; no number is used.
|
|
915
915
|
* @summary Void an invoice
|
|
916
916
|
*/
|
|
@@ -910,7 +910,7 @@ export type renderInvoicePreviewResponse = (renderInvoicePreviewResponseSuccess
|
|
|
910
910
|
export declare const getRenderInvoicePreviewUrl: (params?: RenderInvoicePreviewParams) => string;
|
|
911
911
|
export declare const renderInvoicePreview: (partialInvoicePreviewCompleteInvoicePreview: PartialInvoicePreview | CompleteInvoicePreview, params?: RenderInvoicePreviewParams, options?: RequestInit) => Promise<renderInvoicePreviewResponse>;
|
|
912
912
|
/**
|
|
913
|
-
* Void an invoice for technical reasons (duplicate, error, etc.). For FURS-fiscalized invoices, automatically submits technical cancellation to FURS and creates a credit note. For TicketBAI, requires a reason and retains a signed annulment for an eligible unpaid ordinary invoice with confirmed delivery. Returns the invoice with ticketbai.cancellation status; repeated calls reuse the cancellation. Uncertain original delivery returns 409; ineligible invoices return 422. The offsetting credit note, its settlement and the void are committed together. If the invoice is edited while the void is in progress, the credit note is rebuilt from the edited invoice; if the invoice keeps changing, the void returns 409 and nothing is voided. If an interrupted earlier void left a credit note without voiding the invoice, the void returns 422 and the invoice needs manual reconciliation. For business corrections, create a credit note instead.
|
|
913
|
+
* Void an invoice for technical reasons (duplicate, error, etc.). For FURS-fiscalized invoices, automatically submits technical cancellation to FURS and creates a credit note. For TicketBAI, requires a reason and retains a signed annulment for an eligible unpaid ordinary invoice with confirmed delivery. Returns the invoice with ticketbai.cancellation status; repeated calls reuse the cancellation. Uncertain original delivery returns 409; ineligible invoices return 422. The offsetting credit note, its settlement and the void are committed together. If the invoice already has credit notes (for example a partial return), the offsetting credit note reverses only the amount not yet credited: returned quantities are taken off their lines, other earlier credit lines are reversed as negative lines, and the totals and VAT per rate are the invoice minus the earlier credit notes. The void returns 422 and nothing is voided when the invoice is already fully credited, when an earlier credit note is linked to several documents or is in another currency, when the earlier credit notes would leave a negative amount in a VAT rate, when the invoice has several tax rows at one VAT rate, when the net rounding correction would exceed the ±1.00 limit, or when a FURS invoice was fiscalized with a payment amount different from its total and already has credit notes; credit the remainder with a credit note instead. If the invoice is edited while the void is in progress, the credit note is rebuilt from the edited invoice; if the invoice keeps changing, the void returns 409 and nothing is voided. If an interrupted earlier void left a credit note without voiding the invoice, the void returns 422 and the invoice needs manual reconciliation. For business corrections, create a credit note instead.
|
|
914
914
|
Polish B2B issuance returns 422 KSEF_AUTH_FAILED when KSeF rejects the entity's KSeF token; no number is used.
|
|
915
915
|
* @summary Void an invoice
|
|
916
916
|
*/
|
|
@@ -32140,7 +32140,7 @@ export declare const RenderInvoicePreviewBody: zod.ZodUnion<readonly [zod.ZodObj
|
|
|
32140
32140
|
}, zod.z.core.$strip>>>>;
|
|
32141
32141
|
}, zod.z.core.$strip>]>;
|
|
32142
32142
|
/**
|
|
32143
|
-
* Void an invoice for technical reasons (duplicate, error, etc.). For FURS-fiscalized invoices, automatically submits technical cancellation to FURS and creates a credit note. For TicketBAI, requires a reason and retains a signed annulment for an eligible unpaid ordinary invoice with confirmed delivery. Returns the invoice with ticketbai.cancellation status; repeated calls reuse the cancellation. Uncertain original delivery returns 409; ineligible invoices return 422. The offsetting credit note, its settlement and the void are committed together. If the invoice is edited while the void is in progress, the credit note is rebuilt from the edited invoice; if the invoice keeps changing, the void returns 409 and nothing is voided. If an interrupted earlier void left a credit note without voiding the invoice, the void returns 422 and the invoice needs manual reconciliation. For business corrections, create a credit note instead.
|
|
32143
|
+
* Void an invoice for technical reasons (duplicate, error, etc.). For FURS-fiscalized invoices, automatically submits technical cancellation to FURS and creates a credit note. For TicketBAI, requires a reason and retains a signed annulment for an eligible unpaid ordinary invoice with confirmed delivery. Returns the invoice with ticketbai.cancellation status; repeated calls reuse the cancellation. Uncertain original delivery returns 409; ineligible invoices return 422. The offsetting credit note, its settlement and the void are committed together. If the invoice already has credit notes (for example a partial return), the offsetting credit note reverses only the amount not yet credited: returned quantities are taken off their lines, other earlier credit lines are reversed as negative lines, and the totals and VAT per rate are the invoice minus the earlier credit notes. The void returns 422 and nothing is voided when the invoice is already fully credited, when an earlier credit note is linked to several documents or is in another currency, when the earlier credit notes would leave a negative amount in a VAT rate, when the invoice has several tax rows at one VAT rate, when the net rounding correction would exceed the ±1.00 limit, or when a FURS invoice was fiscalized with a payment amount different from its total and already has credit notes; credit the remainder with a credit note instead. If the invoice is edited while the void is in progress, the credit note is rebuilt from the edited invoice; if the invoice keeps changing, the void returns 409 and nothing is voided. If an interrupted earlier void left a credit note without voiding the invoice, the void returns 422 and the invoice needs manual reconciliation. For business corrections, create a credit note instead.
|
|
32144
32144
|
Polish B2B issuance returns 422 KSEF_AUTH_FAILED when KSeF rejects the entity's KSeF token; no number is used.
|
|
32145
32145
|
* @summary Void an invoice
|
|
32146
32146
|
*/
|
|
@@ -32140,7 +32140,7 @@ export declare const RenderInvoicePreviewBody: zod.ZodUnion<readonly [zod.ZodObj
|
|
|
32140
32140
|
}, zod.z.core.$strip>>>>;
|
|
32141
32141
|
}, zod.z.core.$strip>]>;
|
|
32142
32142
|
/**
|
|
32143
|
-
* Void an invoice for technical reasons (duplicate, error, etc.). For FURS-fiscalized invoices, automatically submits technical cancellation to FURS and creates a credit note. For TicketBAI, requires a reason and retains a signed annulment for an eligible unpaid ordinary invoice with confirmed delivery. Returns the invoice with ticketbai.cancellation status; repeated calls reuse the cancellation. Uncertain original delivery returns 409; ineligible invoices return 422. The offsetting credit note, its settlement and the void are committed together. If the invoice is edited while the void is in progress, the credit note is rebuilt from the edited invoice; if the invoice keeps changing, the void returns 409 and nothing is voided. If an interrupted earlier void left a credit note without voiding the invoice, the void returns 422 and the invoice needs manual reconciliation. For business corrections, create a credit note instead.
|
|
32143
|
+
* Void an invoice for technical reasons (duplicate, error, etc.). For FURS-fiscalized invoices, automatically submits technical cancellation to FURS and creates a credit note. For TicketBAI, requires a reason and retains a signed annulment for an eligible unpaid ordinary invoice with confirmed delivery. Returns the invoice with ticketbai.cancellation status; repeated calls reuse the cancellation. Uncertain original delivery returns 409; ineligible invoices return 422. The offsetting credit note, its settlement and the void are committed together. If the invoice already has credit notes (for example a partial return), the offsetting credit note reverses only the amount not yet credited: returned quantities are taken off their lines, other earlier credit lines are reversed as negative lines, and the totals and VAT per rate are the invoice minus the earlier credit notes. The void returns 422 and nothing is voided when the invoice is already fully credited, when an earlier credit note is linked to several documents or is in another currency, when the earlier credit notes would leave a negative amount in a VAT rate, when the invoice has several tax rows at one VAT rate, when the net rounding correction would exceed the ±1.00 limit, or when a FURS invoice was fiscalized with a payment amount different from its total and already has credit notes; credit the remainder with a credit note instead. If the invoice is edited while the void is in progress, the credit note is rebuilt from the edited invoice; if the invoice keeps changing, the void returns 409 and nothing is voided. If an interrupted earlier void left a credit note without voiding the invoice, the void returns 422 and the invoice needs manual reconciliation. For business corrections, create a credit note instead.
|
|
32144
32144
|
Polish B2B issuance returns 422 KSEF_AUTH_FAILED when KSeF rejects the entity's KSeF token; no number is used.
|
|
32145
32145
|
* @summary Void an invoice
|
|
32146
32146
|
*/
|
package/package.json
CHANGED