@endora-commerce/mod-invoices 0.109.0 → 0.111.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.
Files changed (179) hide show
  1. package/dist/admin/lib/invoice-list-path.d.ts +20 -0
  2. package/dist/admin/lib/invoice-list-path.js +36 -0
  3. package/dist/admin/pages/InvoicesList.js +46 -21
  4. package/dist/admin/templates/invoice-puck-config.js +220 -135
  5. package/dist/backend/admin-list-cursor.d.ts +20 -0
  6. package/dist/backend/admin-list-cursor.js +27 -0
  7. package/dist/backend/entities/invoice-line.entity.d.ts +18 -1
  8. package/dist/backend/entities/invoice-line.entity.js +20 -0
  9. package/dist/backend/index.js +19 -3
  10. package/dist/backend/invoices-prose.d.ts +2 -0
  11. package/dist/backend/invoices-prose.js +2 -0
  12. package/dist/backend/pdf-components/embed-logo-images.js +2 -15
  13. package/dist/backend/pdf-components/sections.js +3 -1
  14. package/dist/backend/plugin.js +2 -1
  15. package/dist/backend/routes.admin.js +55 -15
  16. package/dist/backend/routes.customer.d.ts +3 -3
  17. package/dist/backend/routes.customer.js +17 -9
  18. package/dist/backend/seeds/generic-invoice-template.d.ts +13 -7
  19. package/dist/backend/seeds/generic-invoice-template.js +34 -22
  20. package/dist/backend/services/auto-issue-reactor.js +6 -2
  21. package/dist/backend/services/corrective-invoice.d.ts +167 -16
  22. package/dist/backend/services/corrective-invoice.js +402 -58
  23. package/dist/backend/services/erp-sale-document-write-port.js +2 -2
  24. package/dist/backend/services/invoice-copy-host.service.js +3 -0
  25. package/dist/backend/services/invoice-line-builder.d.ts +4 -0
  26. package/dist/backend/services/invoice-line-builder.js +1 -0
  27. package/dist/backend/services/invoice-service.d.ts +27 -4
  28. package/dist/backend/services/invoice-service.js +75 -17
  29. package/dist/backend/services/kept-quantities.d.ts +24 -0
  30. package/dist/backend/services/kept-quantities.js +32 -0
  31. package/dist/backend/services/order-returns-lock.d.ts +19 -0
  32. package/dist/backend/services/order-returns-lock.js +37 -0
  33. package/dist/backend/services/seller-settings.js +1 -1
  34. package/dist/manifest.d.ts +15 -3
  35. package/dist/manifest.js +17 -2
  36. package/dist/migrations/20261108T073244_invoices_invoice_line_kind.d.ts +21 -0
  37. package/dist/migrations/20261108T073244_invoices_invoice_line_kind.js +28 -0
  38. package/dist/migrations/index.d.ts +2 -1
  39. package/dist/migrations/index.js +3 -1
  40. package/docs/invoices.md +143 -16
  41. package/i18n/en.json +13 -2
  42. package/i18n/pl.json +13 -2
  43. package/package.json +17 -16
  44. package/dist/admin/components/InvoiceSectionTabs.d.ts.map +0 -1
  45. package/dist/admin/components/InvoiceSectionTabs.js.map +0 -1
  46. package/dist/admin/document-blocks/InvoiceDivider.d.ts.map +0 -1
  47. package/dist/admin/document-blocks/InvoiceDivider.js.map +0 -1
  48. package/dist/admin/document-blocks/InvoiceFooter.d.ts.map +0 -1
  49. package/dist/admin/document-blocks/InvoiceFooter.js.map +0 -1
  50. package/dist/admin/document-blocks/InvoiceHeader.d.ts.map +0 -1
  51. package/dist/admin/document-blocks/InvoiceHeader.js.map +0 -1
  52. package/dist/admin/document-blocks/InvoiceLineItems.d.ts.map +0 -1
  53. package/dist/admin/document-blocks/InvoiceLineItems.js.map +0 -1
  54. package/dist/admin/document-blocks/InvoiceLogo.d.ts.map +0 -1
  55. package/dist/admin/document-blocks/InvoiceLogo.js.map +0 -1
  56. package/dist/admin/document-blocks/InvoiceNotes.d.ts.map +0 -1
  57. package/dist/admin/document-blocks/InvoiceNotes.js.map +0 -1
  58. package/dist/admin/document-blocks/InvoiceParties.d.ts.map +0 -1
  59. package/dist/admin/document-blocks/InvoiceParties.js.map +0 -1
  60. package/dist/admin/document-blocks/InvoiceSpacer.d.ts.map +0 -1
  61. package/dist/admin/document-blocks/InvoiceSpacer.js.map +0 -1
  62. package/dist/admin/document-blocks/InvoiceTotals.d.ts.map +0 -1
  63. package/dist/admin/document-blocks/InvoiceTotals.js.map +0 -1
  64. package/dist/admin/document-blocks/InvoiceVatSummary.d.ts.map +0 -1
  65. package/dist/admin/document-blocks/InvoiceVatSummary.js.map +0 -1
  66. package/dist/admin/index.d.ts.map +0 -1
  67. package/dist/admin/index.js.map +0 -1
  68. package/dist/admin/pages/InvoiceDetail.d.ts.map +0 -1
  69. package/dist/admin/pages/InvoiceDetail.js.map +0 -1
  70. package/dist/admin/pages/InvoiceTemplatesRedirect.d.ts.map +0 -1
  71. package/dist/admin/pages/InvoiceTemplatesRedirect.js.map +0 -1
  72. package/dist/admin/pages/InvoicesList.d.ts.map +0 -1
  73. package/dist/admin/pages/InvoicesList.js.map +0 -1
  74. package/dist/admin/templates/invoice-puck-config.d.ts.map +0 -1
  75. package/dist/admin/templates/invoice-puck-config.js.map +0 -1
  76. package/dist/backend/document/block-descriptions.d.ts.map +0 -1
  77. package/dist/backend/document/block-descriptions.js.map +0 -1
  78. package/dist/backend/document/document-templates-grant.d.ts.map +0 -1
  79. package/dist/backend/document/document-templates-grant.js.map +0 -1
  80. package/dist/backend/document/invoice-document-type.d.ts.map +0 -1
  81. package/dist/backend/document/invoice-document-type.js.map +0 -1
  82. package/dist/backend/document/render-invoice.d.ts.map +0 -1
  83. package/dist/backend/document/render-invoice.js.map +0 -1
  84. package/dist/backend/email-templates/invoice-issued.default.d.ts.map +0 -1
  85. package/dist/backend/email-templates/invoice-issued.default.js.map +0 -1
  86. package/dist/backend/entities/invoice-external-attachment.entity.d.ts.map +0 -1
  87. package/dist/backend/entities/invoice-external-attachment.entity.js.map +0 -1
  88. package/dist/backend/entities/invoice-line.entity.d.ts.map +0 -1
  89. package/dist/backend/entities/invoice-line.entity.js.map +0 -1
  90. package/dist/backend/entities/invoice-number-counter.entity.d.ts.map +0 -1
  91. package/dist/backend/entities/invoice-number-counter.entity.js.map +0 -1
  92. package/dist/backend/entities/invoice.entity.d.ts.map +0 -1
  93. package/dist/backend/entities/invoice.entity.js.map +0 -1
  94. package/dist/backend/index.d.ts.map +0 -1
  95. package/dist/backend/index.js.map +0 -1
  96. package/dist/backend/invoices-prose.d.ts.map +0 -1
  97. package/dist/backend/invoices-prose.js.map +0 -1
  98. package/dist/backend/pdf-components/embed-logo-images.d.ts.map +0 -1
  99. package/dist/backend/pdf-components/embed-logo-images.js.map +0 -1
  100. package/dist/backend/pdf-components/sample.d.ts.map +0 -1
  101. package/dist/backend/pdf-components/sample.js.map +0 -1
  102. package/dist/backend/pdf-components/sections.d.ts.map +0 -1
  103. package/dist/backend/pdf-components/sections.js.map +0 -1
  104. package/dist/backend/pdf-components/tree-mapper.d.ts.map +0 -1
  105. package/dist/backend/pdf-components/tree-mapper.js.map +0 -1
  106. package/dist/backend/plugin.d.ts.map +0 -1
  107. package/dist/backend/plugin.js.map +0 -1
  108. package/dist/backend/routes.admin.d.ts.map +0 -1
  109. package/dist/backend/routes.admin.js.map +0 -1
  110. package/dist/backend/routes.customer.d.ts.map +0 -1
  111. package/dist/backend/routes.customer.js.map +0 -1
  112. package/dist/backend/seeds/generic-invoice-template.d.ts.map +0 -1
  113. package/dist/backend/seeds/generic-invoice-template.js.map +0 -1
  114. package/dist/backend/services/amount-to-words.d.ts.map +0 -1
  115. package/dist/backend/services/amount-to-words.js.map +0 -1
  116. package/dist/backend/services/auto-issue-reactor.d.ts.map +0 -1
  117. package/dist/backend/services/auto-issue-reactor.js.map +0 -1
  118. package/dist/backend/services/corrective-invoice.d.ts.map +0 -1
  119. package/dist/backend/services/corrective-invoice.js.map +0 -1
  120. package/dist/backend/services/cross-module-context.d.ts.map +0 -1
  121. package/dist/backend/services/cross-module-context.js.map +0 -1
  122. package/dist/backend/services/duplicate-number-refusal.d.ts.map +0 -1
  123. package/dist/backend/services/duplicate-number-refusal.js.map +0 -1
  124. package/dist/backend/services/erp-sale-document-write-port.d.ts.map +0 -1
  125. package/dist/backend/services/erp-sale-document-write-port.js.map +0 -1
  126. package/dist/backend/services/invoice-attachment-fetch-registry.d.ts.map +0 -1
  127. package/dist/backend/services/invoice-attachment-fetch-registry.js.map +0 -1
  128. package/dist/backend/services/invoice-copy-host.service.d.ts.map +0 -1
  129. package/dist/backend/services/invoice-copy-host.service.js.map +0 -1
  130. package/dist/backend/services/invoice-email-dispatch.d.ts.map +0 -1
  131. package/dist/backend/services/invoice-email-dispatch.js.map +0 -1
  132. package/dist/backend/services/invoice-line-builder.d.ts.map +0 -1
  133. package/dist/backend/services/invoice-line-builder.js.map +0 -1
  134. package/dist/backend/services/invoice-number-collisions.d.ts.map +0 -1
  135. package/dist/backend/services/invoice-number-collisions.js.map +0 -1
  136. package/dist/backend/services/invoice-number-generator.d.ts.map +0 -1
  137. package/dist/backend/services/invoice-number-generator.js.map +0 -1
  138. package/dist/backend/services/invoice-paid.d.ts.map +0 -1
  139. package/dist/backend/services/invoice-paid.js.map +0 -1
  140. package/dist/backend/services/invoice-pdf-block-registry.d.ts.map +0 -1
  141. package/dist/backend/services/invoice-pdf-block-registry.js.map +0 -1
  142. package/dist/backend/services/invoice-pdf.d.ts.map +0 -1
  143. package/dist/backend/services/invoice-pdf.js.map +0 -1
  144. package/dist/backend/services/invoice-placement-apply-port.d.ts.map +0 -1
  145. package/dist/backend/services/invoice-placement-apply-port.js.map +0 -1
  146. package/dist/backend/services/invoice-read-port.d.ts.map +0 -1
  147. package/dist/backend/services/invoice-read-port.js.map +0 -1
  148. package/dist/backend/services/invoice-service.d.ts.map +0 -1
  149. package/dist/backend/services/invoice-service.js.map +0 -1
  150. package/dist/backend/services/numbering-configuration.d.ts.map +0 -1
  151. package/dist/backend/services/numbering-configuration.js.map +0 -1
  152. package/dist/backend/services/numbering-write-validator.d.ts.map +0 -1
  153. package/dist/backend/services/numbering-write-validator.js.map +0 -1
  154. package/dist/backend/services/seller-settings.d.ts.map +0 -1
  155. package/dist/backend/services/seller-settings.js.map +0 -1
  156. package/dist/backend/services/vendor-number-hold.d.ts.map +0 -1
  157. package/dist/backend/services/vendor-number-hold.js.map +0 -1
  158. package/dist/manifest.d.ts.map +0 -1
  159. package/dist/manifest.js.map +0 -1
  160. package/dist/migrations/20260629T125121_invoices_module.d.ts.map +0 -1
  161. package/dist/migrations/20260629T125121_invoices_module.js.map +0 -1
  162. package/dist/migrations/20260801T111000_invoices_generic_template_reseed.d.ts.map +0 -1
  163. package/dist/migrations/20260801T111000_invoices_generic_template_reseed.js.map +0 -1
  164. package/dist/migrations/20260817T201110_invoices_correction_idempotency_key.d.ts.map +0 -1
  165. package/dist/migrations/20260817T201110_invoices_correction_idempotency_key.js.map +0 -1
  166. package/dist/migrations/20260903T101756_invoices_namespace_block_names.d.ts.map +0 -1
  167. package/dist/migrations/20260903T101756_invoices_namespace_block_names.js.map +0 -1
  168. package/dist/migrations/20260914T133603_invoices_erp_imported_sale_documents.d.ts.map +0 -1
  169. package/dist/migrations/20260914T133603_invoices_erp_imported_sale_documents.js.map +0 -1
  170. package/dist/migrations/20260926T230239_invoices_import_identity.d.ts.map +0 -1
  171. package/dist/migrations/20260926T230239_invoices_import_identity.js.map +0 -1
  172. package/dist/migrations/20261017T075839_invoices_drop_invoice_templates.d.ts.map +0 -1
  173. package/dist/migrations/20261017T075839_invoices_drop_invoice_templates.js.map +0 -1
  174. package/dist/migrations/20261024T145631_invoices_vat_summary.d.ts.map +0 -1
  175. package/dist/migrations/20261024T145631_invoices_vat_summary.js.map +0 -1
  176. package/dist/migrations/index.d.ts.map +0 -1
  177. package/dist/migrations/index.js.map +0 -1
  178. package/dist/ports/index.d.ts.map +0 -1
  179. package/dist/ports/index.js.map +0 -1
@@ -29,6 +29,7 @@ import { Migration20260914T133603InvoicesErpImportedSaleDocuments } from './2026
29
29
  import { Migration20260926T230239InvoicesImportIdentity } from './20260926T230239_invoices_import_identity.js';
30
30
  import { Migration20261017T075839InvoicesDropInvoiceTemplates } from './20261017T075839_invoices_drop_invoice_templates.js';
31
31
  import { Migration20261024T145631InvoicesVatSummary } from './20261024T145631_invoices_vat_summary.js';
32
+ import { Migration20261108T073244InvoicesInvoiceLineKind } from './20261108T073244_invoices_invoice_line_kind.js';
32
33
  export declare const migrations: (typeof Migration20260629T125121InvoicesModule)[];
33
- export { Migration20260629T125121InvoicesModule, Migration20260801T111000InvoicesGenericTemplateReseed, Migration20260817T201110InvoicesCorrectionIdempotencyKey, Migration20260903T101756InvoicesNamespaceBlockNames, Migration20260914T133603InvoicesErpImportedSaleDocuments, Migration20260926T230239InvoicesImportIdentity, Migration20261017T075839InvoicesDropInvoiceTemplates, Migration20261024T145631InvoicesVatSummary, };
34
+ export { Migration20260629T125121InvoicesModule, Migration20260801T111000InvoicesGenericTemplateReseed, Migration20260817T201110InvoicesCorrectionIdempotencyKey, Migration20260903T101756InvoicesNamespaceBlockNames, Migration20260914T133603InvoicesErpImportedSaleDocuments, Migration20260926T230239InvoicesImportIdentity, Migration20261017T075839InvoicesDropInvoiceTemplates, Migration20261024T145631InvoicesVatSummary, Migration20261108T073244InvoicesInvoiceLineKind, };
34
35
  //# sourceMappingURL=index.d.ts.map
@@ -29,6 +29,7 @@ import { Migration20260914T133603InvoicesErpImportedSaleDocuments } from './2026
29
29
  import { Migration20260926T230239InvoicesImportIdentity } from './20260926T230239_invoices_import_identity.js';
30
30
  import { Migration20261017T075839InvoicesDropInvoiceTemplates } from './20261017T075839_invoices_drop_invoice_templates.js';
31
31
  import { Migration20261024T145631InvoicesVatSummary } from './20261024T145631_invoices_vat_summary.js';
32
+ import { Migration20261108T073244InvoicesInvoiceLineKind } from './20261108T073244_invoices_invoice_line_kind.js';
32
33
  export const migrations = [
33
34
  Migration20260629T125121InvoicesModule,
34
35
  Migration20260801T111000InvoicesGenericTemplateReseed,
@@ -38,6 +39,7 @@ export const migrations = [
38
39
  Migration20260926T230239InvoicesImportIdentity,
39
40
  Migration20261017T075839InvoicesDropInvoiceTemplates,
40
41
  Migration20261024T145631InvoicesVatSummary,
42
+ Migration20261108T073244InvoicesInvoiceLineKind,
41
43
  ];
42
- export { Migration20260629T125121InvoicesModule, Migration20260801T111000InvoicesGenericTemplateReseed, Migration20260817T201110InvoicesCorrectionIdempotencyKey, Migration20260903T101756InvoicesNamespaceBlockNames, Migration20260914T133603InvoicesErpImportedSaleDocuments, Migration20260926T230239InvoicesImportIdentity, Migration20261017T075839InvoicesDropInvoiceTemplates, Migration20261024T145631InvoicesVatSummary, };
44
+ export { Migration20260629T125121InvoicesModule, Migration20260801T111000InvoicesGenericTemplateReseed, Migration20260817T201110InvoicesCorrectionIdempotencyKey, Migration20260903T101756InvoicesNamespaceBlockNames, Migration20260914T133603InvoicesErpImportedSaleDocuments, Migration20260926T230239InvoicesImportIdentity, Migration20261017T075839InvoicesDropInvoiceTemplates, Migration20261024T145631InvoicesVatSummary, Migration20261108T073244InvoicesInvoiceLineKind, };
43
45
  //# sourceMappingURL=index.js.map
package/docs/invoices.md CHANGED
@@ -1,29 +1,47 @@
1
1
  ---
2
- title: invoices
3
- description: PDF invoice / proforma generation + asset linkage
2
+ title: Invoices
3
+ description: VAT invoices, proformas and corrective invoices issued against orders, with PDFs rendered from document templates
4
4
  ---
5
5
 
6
- # `invoices`
6
+ # Invoices (`invoices`)
7
7
 
8
- Generates proforma and final invoice PDFs, registers them under the
9
- `assets` module, and links them from the originating Order.
8
+ Issues VAT invoices, proformas and corrective invoices against an Order, and
9
+ renders their PDFs on demand from the invoice document template. ERP-imported
10
+ sale documents (`origin: erp_import`, including `wz` dispatch notes) are listed
11
+ beside them.
10
12
 
11
13
  ## Public surface
12
14
 
13
- Admin list is gated by `orders:read`.
15
+ Admin routes are gated by the module's own codes: `invoices:read` for reading
16
+ and downloading, `invoices:write` for issuing, regenerating and e-mailing.
14
17
 
15
18
  | Verb + Path | Audience | Purpose |
16
19
  | --- | --- | --- |
17
- | `GET /api/v1/orders/:id/invoice` | customer | Download invoice PDF (404 `INVOICE_NOT_READY` until status='ready'; binary Content-Type once ready). Admin uses the same endpoint via the storefront origin to re-download. |
18
- | `GET /api/v1/admin/invoices` | admin | List all invoices with `filter[status]` / `filter[orderId]`; default limit 50, capped at 200 |
20
+ | `GET /api/v1/admin/invoices` | admin (`invoices:read`) | List with `filter[status]`, `filter[kind]`, `filter[orderId]`, `filter[orderNumber]`, `filter[salesChannelId]`, `filter[issuedFrom]` / `filter[issuedTo]`, `filter[totalMin]` / `filter[totalMax]`; default limit 50, capped at 200; newest first, paged by the opaque `pagination.cursor` passed back as `?cursor=` |
21
+ | `GET /api/v1/admin/invoices/:id` | admin (`invoices:read`) | Invoice detail |
22
+ | `GET /api/v1/admin/invoices/:id/pdf` | admin (`invoices:read`) | Download the PDF, rendered on demand |
23
+ | `POST /api/v1/admin/orders/:orderId/invoices` | admin (`invoices:write`) | Issue a VAT invoice or a proforma (`kind`, optional `saleDate`, `paymentDueDate`); `201` with the invoice and the e-mail outcome |
24
+ | `POST /api/v1/admin/invoices/:id/regenerate-pdf` | admin (`invoices:write`) | Re-run the render to surface a template error; stores nothing |
25
+ | `POST /api/v1/admin/invoices/:id/send-email` | admin (`invoices:write`) | (Re)send the invoice e-mail, optionally choosing `mode` (`attachment` / `link`) |
26
+ | `GET /api/v1/orders/:id/invoices` | customer | The ready invoices of an order the customer may see |
27
+ | `GET /api/v1/orders/:id/invoices/:invoiceId/pdf` | customer | Download one of them; `404 NOT_FOUND` until it is `ready` |
28
+ | `GET /api/v1/account/organization/invoices` | customer | The Organization's ERP-imported sale documents, with their attachments |
29
+ | `GET /api/v1/orders/:id/invoice` | customer | Older single-invoice download, registered by `orders`: `404 INVOICE_NOT_READY` until the order's invoice is `ready`, then a minimal PDF (number and total), not the template layout. Use `…/invoices/:invoiceId/pdf` |
19
30
 
20
31
  ## Generation flow
21
32
 
22
- `invoice-service.ts#generate()` runs after `order.confirmed`: pulls the
23
- Order + items + buyer Address snapshot, renders a PDF via a small,
24
- dependency-light renderer, persists the bytes through the `assets` module,
25
- and writes the asset id back onto the Order. Failures emit
26
- `invoice.generation_failed.v1` for an admin retry queue.
33
+ An invoice is issued by an operator, or automatically: when an order reaches
34
+ the status named in `invoices.auto_issue.trigger_status` (empty by default,
35
+ which means manual issuance only), the subscriber on `order.status_changed.v1`
36
+ (`services/auto-issue-reactor.ts`) issues one VAT invoice per order. It is
37
+ idempotent and best-effort: a failed automatic attempt is logged and leaves
38
+ manual issuance available. Issuance snapshots the order's lines into
39
+ `invoice_lines`, draws the number and emits `invoice.issued.v1` (a correction
40
+ emits `invoice.corrected.v1`). With `invoices.email.send_on_issue` on (off by
41
+ default) the invoice e-mail goes out, carrying the PDF as an attachment or a
42
+ link to the customer panel (`invoices.email.delivery_mode`, default
43
+ `attachment`). The PDF is not stored: every download is rendered from the
44
+ document template (see *PDF templates*).
27
45
 
28
46
  ### Unit prices and line values
29
47
 
@@ -62,7 +80,93 @@ An order **refunded in full before it was invoiced** — the refunds equal what
62
80
  was received and cover the whole order total — is not invoiced: there is no
63
81
  sale left to document. Issuing answers `422 INVOICE_ORDER_REFUNDED` and draws
64
82
  no number; automatic issuance skips the order and logs the reason. An order
65
- refunded only in part is invoiced, with what was kept as paid.
83
+ refunded only in part is invoiced, with what was kept as paid. An order
84
+ **returned in full** before it was invoiced — every product line back through
85
+ settled returns, and no delivery or payment surcharge kept — counts the same,
86
+ whether or not the refund has been paid out yet (one still waiting for a person
87
+ to make it, or for the payment gateway to confirm it). When the delivery or the
88
+ surcharge is kept, the invoice is issued with only that line. A consumer's
89
+ withdrawal from the whole order refunds both (see *Returns*), so a B2C order
90
+ returned in full usually has nothing left and is refused. A delivery the
91
+ operator reduced to the standard price leaves the difference, which is invoiced
92
+ alone.
93
+
94
+ An invoice issued **after a return was settled** lists only what the buyer
95
+ kept: there is no invoice yet to correct, so the invoice itself documents the
96
+ sale that is left. Each order line is invoiced at its ordered quantity less the
97
+ quantity of the order's settled returns (kind *return*, settled with a refund or
98
+ a credit), whether or not the money has been paid out yet; a line returned in
99
+ full is left off. A replacement, a repair and a complaint change no line. The
100
+ delivery and payment-surcharge lines are the order's, less what a consumer's
101
+ withdrawal refunded of them; a line with nothing left is left off. The discount line carries
102
+ only the kept goods' share: the order discount less the part the settled returns
103
+ carried back with their refunds, and it is left off when nothing remains. VAT is
104
+ still calculated per rate on the sum of the nets, so the invoice equals what is
105
+ left paid to the cent. A proforma lists the same kept lines, and is not refused
106
+ for an order refunded in full. With the `returns` module switched off, every
107
+ line is invoiced at its ordered quantity.
108
+
109
+ A **complaint refunded before the order was invoiced** currently shows on the
110
+ invoice as amount due: the invoice lists the goods in full, and the complaint
111
+ refund is deducted from what was paid.
112
+
113
+ ### Corrective invoices
114
+
115
+ A return or a complaint settled with a refund or a credit **after** the order
116
+ was invoiced gets a corrective invoice (`kind: correction`), one per case. It
117
+ credits gross amounts, at the VAT rate of the invoice line it corrects, and never
118
+ more than is left of the invoice. A replacement or a repair moves no money and
119
+ issues no correction.
120
+
121
+ **A return** credits the goods that came back. On an invoice issued under the
122
+ per-rate VAT method, the correction is worked out from what the invoice keeps:
123
+
124
+ - When the case refunds its default amount, the invoice keeps, at each rate,
125
+ exactly the VAT on the sum of the nets of the kept quantities: the same
126
+ figures an invoice issued after the return would show. For example, returning
127
+ one unit of 3 × 10.01 net at 23 % (36.94 gross) refunds 12.32, and the
128
+ correction credits 10.01 net and 2.31 VAT, which leaves 20.02 net and 4.60 VAT.
129
+ - When the operator approved a lower amount, the invoice keeps the rest of the
130
+ gross at that rate, split into net and VAT by the same rule. For a few amounts
131
+ no net gives that gross exactly (6.00 of 12.32 at 23 %, for example). The
132
+ correction itself then follows the rule, and what the invoice keeps may differ
133
+ from it by 0.01 at that rate until the next correction. The money is always
134
+ exact.
135
+ - The share of the order discount that the returned goods carried is credited
136
+ back on a 0 % line.
137
+ - The delivery and the payment surcharge are credited only on a consumer's
138
+ withdrawal: the return that completes the withdrawal from a B2C order. Each is
139
+ credited on a line of its own (`lineKind` `delivery` or `payment_surcharge`),
140
+ named like the invoice's line and at its VAT rate (0 % today), for the amount
141
+ the settlement refunded. After a full withdrawal the invoice nets to zero. A
142
+ correction that would credit more of a charge than the invoice still charges
143
+ for it is refused with `422 INVOICE_CORRECTION_EXCEEDS_CHARGE_REMAINING`
144
+ (`details.code` is the charge, `delivery` or `payment_surcharge`, with
145
+ `remaining` and `currency`), before any money moves.
146
+ Business customers' returns never credit them.
147
+
148
+ **A complaint** settled with money is a **price reduction**: the buyer keeps the
149
+ goods, so their price is reduced and no quantity comes back. The correction's
150
+ line is named *Obniżka ceny (reklamacja RMA-…): product* and has quantity 0. Its
151
+ net value is the reduction, and its unit price is the reduction spread over the
152
+ units still on the invoice. It credits no discount, because the discount stays
153
+ with the kept goods, and it does not lower the quantity a later return of the
154
+ same line is credited from. For an integration that reads correction lines: a
155
+ goods line with quantity 0 is a price reduction.
156
+
157
+ A correction that would credit more goods at one VAT rate than the invoice still
158
+ charges at that rate is refused with
159
+ `422 INVOICE_CORRECTION_EXCEEDS_RATE_REMAINING` (`details`: `taxRate`,
160
+ `vatRatePercent`, `remaining`, `currency`), before any money moves.
161
+
162
+ The other refusals of issuance and correction (issue #633; each was
163
+ `VALIDATION_FAILED` before):
164
+
165
+ | Refusal | Code | `details` |
166
+ | --- | --- | --- |
167
+ | The seller's VAT number and company data are not configured | `422 INVOICE_SELLER_DATA_MISSING` | `setting` |
168
+ | A correction in another currency than the corrected invoice's | `422 INVOICE_CORRECTION_CURRENCY_MISMATCH` | `requestedCurrency`, `invoiceCurrency`, `originalInvoiceId` |
169
+ | A correction total above what its lines and charges credit, or (`details.code: below_charges`) below the charges alone | `400 INVOICE_CORRECTION_TOTAL_EXCEEDS_LINES` | `total`, `linesTotal`, `currency` |
66
170
 
67
171
  The **amount due** is the gross less what was paid, and never negative. When
68
172
  more was paid than the gross, the amount due is 0 and the invoice states the
@@ -72,8 +176,20 @@ setting of the totals block, and the row can be hidden there).
72
176
 
73
177
  ## Entities
74
178
 
75
- `Invoice` (number, issued/dated timestamps, asset reference,
76
- `type ∈ {proforma, final}`).
179
+ `Invoice` (number, `kind ∈ {invoice, proforma, correction, wz}`,
180
+ `status ∈ {pending, ready, cancelled}`, `origin ∈ {platform, erp_import}`,
181
+ issued/sale/due dates, currency and totals; immutable once `ready`, changed only
182
+ by a correction).
183
+
184
+ `InvoiceLine` (an immutable snapshot of one line at issuance). Its `lineKind`
185
+ says what the line is: `goods`, `delivery`, `payment_surcharge` or `discount`
186
+ on an invoice or a proforma, with `price_reduction` reserved for a
187
+ correction's line. Every line of a document issued from this release records
188
+ it, the 0 % delivery and surcharge lines included; it changes no amount. A line
189
+ issued before, and a correction's goods and discount lines, carry `null` and are
190
+ told apart as before, by whether they name an order line and by their sign. A
191
+ correction's credited delivery or surcharge carries `delivery` or
192
+ `payment_surcharge`.
77
193
 
78
194
  ## Numbering
79
195
 
@@ -132,6 +248,17 @@ A deployment that is already configured into a collision is reported at boot,
132
248
  once per colliding pair, and is **not** blocked: a fixable invoicing
133
249
  misconfiguration must not become a storefront outage.
134
250
 
251
+ ## In the audit log
252
+
253
+ Issuing an invoice and issuing a correction are each one entry in the
254
+ platform-wide audit log (`invoice.issued`, `invoice.corrected`). That log is read
255
+ by everybody holding `audit_log:read` whatever Organizations they may see, so an
256
+ entry names the document and holds no amount: its number, kind, order, sales
257
+ channel and — for a correction — the original invoice, how many lines reduced a
258
+ price and which kinds of charges were credited (`chargeKinds`). The totals are on
259
+ the invoice itself. Entries recorded before this change keep the amounts they
260
+ were written with.
261
+
135
262
  ## Extension points
136
263
 
137
264
  - **Numbering scheme** — `services/invoice-number-generator.ts` renders the
package/i18n/en.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "errors.INVOICE_NUMBER_PATTERN_COLLIDES": "This numbering pattern can produce the same document number as another sales channel. Invoice numbers must be unique across the whole platform.",
16
16
  "errors.INVOICE_NUMBER_PATTERN_COLLIDES.other_channel": "This numbering pattern can produce the same document number as sales channel \"{channel}\". Invoice numbers are unique across the whole platform, so give this channel a pattern the other one cannot repeat — adding the channel token is the usual way.",
17
17
  "errors.INVOICE_NUMBER_PATTERN_COLLIDES.no_sequence_token": "This numbering pattern has no sequence token, so every document in this channel would be given the same number. The field description lists the tokens you can use.",
18
- "errors.INVOICE_ORDER_REFUNDED": "This order's payments were refunded in full before it was invoiced, so there is no sale left to invoice. Nothing was issued.",
18
+ "errors.INVOICE_ORDER_REFUNDED": "This order was refunded or returned in full before it was invoiced, so there is no sale left to invoice. Nothing was issued.",
19
19
  "errors.INVOICE_NUMBER_ALREADY_ISSUED": "This document number is already in use. Invoice numbers are unique across the whole platform.",
20
20
  "errors.INVOICE_NUMBER_ALREADY_ISSUED.other_channel": "Invoice number {number} is already used by sales channel \"{channel}\". Give this channel its own numbering pattern before issuing again — nothing was issued.",
21
21
  "errors.INVOICE_NUMBER_ALREADY_ISSUED.same_channel": "Invoice number {number} has already been issued in this sales channel, so its numbering pattern is producing repeats — nothing was issued.",
@@ -78,5 +78,16 @@
78
78
  "lines.delivery": "Delivery",
79
79
  "lines.paymentSurcharge": "Payment method surcharge",
80
80
  "lines.discount": "Discount",
81
- "actions.openInvoices.keywords": "invoices"
81
+ "lines.priceReduction": "Price reduction (complaint {rma}): {product}",
82
+ "lines.priceReductionUnreferenced": "Price reduction (complaint): {product}",
83
+ "actions.openInvoices.keywords": "invoices",
84
+ "settingGroups.invoices.name": "Invoices",
85
+ "errors.INVOICE_SELLER_DATA_MISSING": "Configure the seller's VAT number (NIP) and company data in the invoice settings before issuing invoices.",
86
+ "errors.INVOICE_CORRECTION_CURRENCY_MISMATCH": "A correction must be issued in the corrected invoice's currency ({invoiceCurrency}), not {requestedCurrency}.",
87
+ "errors.INVOICE_CORRECTION_TOTAL_EXCEEDS_LINES": "The correction total ({total} {currency}) is more than its lines add up to ({linesTotal} {currency}).",
88
+ "errors.INVOICE_CORRECTION_TOTAL_EXCEEDS_LINES.below_charges": "The correction total ({total} {currency}) is less than the charges it credits ({linesTotal} {currency}).",
89
+ "errors.INVOICE_CORRECTION_EXCEEDS_RATE_REMAINING": "This refund is more than the invoice still charges at {vatRatePercent}% VAT ({remaining} {currency}). Lower the amount.",
90
+ "errors.INVOICE_CORRECTION_EXCEEDS_CHARGE_REMAINING": "This refund of a charge is more than the invoice still charges for it ({remaining} {currency}). Lower the amount.",
91
+ "errors.INVOICE_CORRECTION_EXCEEDS_CHARGE_REMAINING.delivery": "This refund of the delivery is more than the invoice still charges for it ({remaining} {currency}). Lower the amount.",
92
+ "errors.INVOICE_CORRECTION_EXCEEDS_CHARGE_REMAINING.payment_surcharge": "This refund of the payment surcharge is more than the invoice still charges for it ({remaining} {currency}). Lower the amount."
82
93
  }
package/i18n/pl.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "errors.INVOICE_NUMBER_PATTERN_COLLIDES": "Ten wzorzec numeracji może wygenerować taki sam numer dokumentu jak inny kanał sprzedaży. Numery faktur muszą być unikalne w całej platformie.",
16
16
  "errors.INVOICE_NUMBER_PATTERN_COLLIDES.other_channel": "Ten wzorzec numeracji może wygenerować taki sam numer dokumentu jak kanał sprzedaży \"{channel}\". Numery faktur są unikalne w całej platformie, więc nadaj temu kanałowi wzorzec, którego tamten nie może powtórzyć — zwykle wystarczy dodać token kanału.",
17
17
  "errors.INVOICE_NUMBER_PATTERN_COLLIDES.no_sequence_token": "Ten wzorzec numeracji nie zawiera tokenu sekwencji, więc każdy dokument w tym kanale otrzymałby ten sam numer. Dostępne tokeny są wymienione w opisie pola.",
18
- "errors.INVOICE_ORDER_REFUNDED": "Płatności za to zamówienie zostały w całości zwrócone przed wystawieniem faktury, więc nie ma sprzedaży do zafakturowania. Niczego nie wystawiono.",
18
+ "errors.INVOICE_ORDER_REFUNDED": "Za to zamówienie w całości zwrócono pieniądze lub towary przed wystawieniem faktury, więc nie ma sprzedaży do zafakturowania. Niczego nie wystawiono.",
19
19
  "errors.INVOICE_NUMBER_ALREADY_ISSUED": "Ten numer dokumentu jest już zajęty. Numery faktur są unikalne w całej platformie.",
20
20
  "errors.INVOICE_NUMBER_ALREADY_ISSUED.other_channel": "Numer faktury {number} jest już używany przez kanał sprzedaży \"{channel}\". Nadaj temu kanałowi własny wzorzec numeracji przed ponowną próbą — nic nie zostało wystawione.",
21
21
  "errors.INVOICE_NUMBER_ALREADY_ISSUED.same_channel": "Numer faktury {number} został już wystawiony w tym kanale sprzedaży, więc jego wzorzec numeracji generuje powtórzenia — nic nie zostało wystawione.",
@@ -78,5 +78,16 @@
78
78
  "lines.delivery": "Dostawa",
79
79
  "lines.paymentSurcharge": "Dopłata za metodę płatności",
80
80
  "lines.discount": "Rabat",
81
- "actions.openInvoices.keywords": "faktury"
81
+ "lines.priceReduction": "Obniżka ceny (reklamacja {rma}): {product}",
82
+ "lines.priceReductionUnreferenced": "Obniżka ceny (reklamacja): {product}",
83
+ "actions.openInvoices.keywords": "faktury",
84
+ "settingGroups.invoices.name": "Faktury",
85
+ "errors.INVOICE_SELLER_DATA_MISSING": "Przed wystawieniem faktur skonfiguruj NIP sprzedawcy i dane firmy w ustawieniach faktur.",
86
+ "errors.INVOICE_CORRECTION_CURRENCY_MISMATCH": "Korektę należy wystawić w walucie korygowanej faktury ({invoiceCurrency}), a nie w {requestedCurrency}.",
87
+ "errors.INVOICE_CORRECTION_TOTAL_EXCEEDS_LINES": "Suma korekty ({total} {currency}) jest wyższa niż suma jej pozycji ({linesTotal} {currency}).",
88
+ "errors.INVOICE_CORRECTION_TOTAL_EXCEEDS_LINES.below_charges": "Suma korekty ({total} {currency}) jest niższa niż zwracane w niej opłaty ({linesTotal} {currency}).",
89
+ "errors.INVOICE_CORRECTION_EXCEEDS_RATE_REMAINING": "Ten zwrot przekracza kwotę, którą faktura nadal nalicza w stawce VAT {vatRatePercent}% ({remaining} {currency}). Zmniejsz kwotę.",
90
+ "errors.INVOICE_CORRECTION_EXCEEDS_CHARGE_REMAINING": "Zwrot opłaty przekracza kwotę, którą faktura nadal za nią nalicza ({remaining} {currency}). Zmniejsz kwotę.",
91
+ "errors.INVOICE_CORRECTION_EXCEEDS_CHARGE_REMAINING.delivery": "Zwrot kosztów dostawy przekracza kwotę, którą faktura nadal za nią nalicza ({remaining} {currency}). Zmniejsz kwotę.",
92
+ "errors.INVOICE_CORRECTION_EXCEEDS_CHARGE_REMAINING.payment_surcharge": "Zwrot dopłaty za płatność przekracza kwotę, którą faktura nadal za nią nalicza ({remaining} {currency}). Zmniejsz kwotę."
82
93
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@endora-commerce/mod-invoices",
3
- "version": "0.109.0",
3
+ "version": "0.111.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "Invoice generation, numbering, PDF templates, corrections, and email delivery.",
@@ -45,7 +45,8 @@
45
45
  "dist",
46
46
  "i18n",
47
47
  "docs",
48
- "tailwind.css"
48
+ "tailwind.css",
49
+ "!dist/**/*.map"
49
50
  ],
50
51
  "engines": {
51
52
  "node": ">=22.18.0"
@@ -62,12 +63,12 @@
62
63
  "react": "^19",
63
64
  "react-router-dom": "^7",
64
65
  "zod": "^4",
65
- "@endora-commerce/admin-kit": "0.109.0",
66
- "@endora-commerce/contracts": "0.109.0",
67
- "@endora-commerce/email-components": "0.109.0",
68
- "@endora-commerce/page-builder-admin": "0.109.0",
69
- "@endora-commerce/page-builder-core": "0.109.0",
70
- "@endora-commerce/platform": "0.109.0"
66
+ "@endora-commerce/admin-kit": "0.111.0",
67
+ "@endora-commerce/contracts": "0.111.0",
68
+ "@endora-commerce/email-components": "0.111.0",
69
+ "@endora-commerce/page-builder-admin": "0.111.0",
70
+ "@endora-commerce/page-builder-core": "0.111.0",
71
+ "@endora-commerce/platform": "0.111.0"
71
72
  },
72
73
  "peerDependenciesMeta": {
73
74
  "@endora-commerce/admin-kit": {
@@ -98,20 +99,20 @@
98
99
  "@types/node": "^22.9.0",
99
100
  "@types/pdfmake": "^0.3.2",
100
101
  "@types/react": "^19.2.14",
101
- "fastify": "^5.12.5",
102
+ "fastify": "^5.12.8",
102
103
  "lucide-react": "^1.11.0",
103
104
  "pdfmake": "^0.3.7",
104
105
  "react": "^19.2.5",
105
106
  "react-router-dom": "^7.18.2",
106
107
  "typescript": "^5.9.3",
107
- "vitest": "^4.1.11",
108
+ "vitest": "^4.1.12",
108
109
  "zod": "^4.2.0",
109
- "@endora-commerce/admin-kit": "0.109.0",
110
- "@endora-commerce/contracts": "0.109.0",
111
- "@endora-commerce/email-components": "0.109.0",
112
- "@endora-commerce/page-builder-admin": "0.109.0",
113
- "@endora-commerce/page-builder-core": "0.109.0",
114
- "@endora-commerce/platform": "0.109.0"
110
+ "@endora-commerce/admin-kit": "0.111.0",
111
+ "@endora-commerce/contracts": "0.111.0",
112
+ "@endora-commerce/email-components": "0.111.0",
113
+ "@endora-commerce/page-builder-admin": "0.111.0",
114
+ "@endora-commerce/page-builder-core": "0.111.0",
115
+ "@endora-commerce/platform": "0.111.0"
115
116
  },
116
117
  "scripts": {
117
118
  "build": "node ../../../scripts/clean-package-dist.mjs --src src --out dist && tsc -p tsconfig.build.json && tsc -p tsconfig.ui.build.json",
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceSectionTabs.d.ts","sourceRoot":"","sources":["../../../src/admin/components/InvoiceSectionTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,gDAAgD;AAChD,eAAO,MAAM,wBAAwB,8CAA8C,CAAC;AAEpF,wBAAgB,kBAAkB,IAAI,SAAS,CAgB9C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceSectionTabs.js","sourceRoot":"","sources":["../../../src/admin/components/InvoiceSectionTabs.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,gDAAgD;AAChD,MAAM,CAAC,MAAM,wBAAwB,GAAG,2CAA2C,CAAC;AAEpF,MAAM,UAAU,kBAAkB;IAChC,MAAM,CAAC,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;IACjC,MAAM,EAAE,SAAS,EAAE,GAAG,iBAAiB,EAAE,CAAC;IAC1C,MAAM,EAAE,aAAa,EAAE,GAAG,OAAO,EAAE,CAAC;IACpC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC;QAAE,OAAO,IAAI,CAAC;IACxC,OAAO,CACL,KAAC,SAAS,IACR,SAAS,EAAC,MAAM,EAChB,IAAI,EAAE;YACJ,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,CAAC,sBAAsB,CAAC,EAAE;YACrD,GAAG,CAAC,SAAS,CAAC,oBAAoB,CAAC,IAAI,aAAa,CAAC,yBAAyB,CAAC;gBAC7E,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,wBAAwB,EAAE,KAAK,EAAE,CAAC,CAAC,uBAAuB,CAAC,EAAE,CAAC;gBACvE,CAAC,CAAC,EAAE,CAAC;SACR,GACD,CACH,CAAC;AACJ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceDivider.d.ts","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceDivider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAGlG,uHAAuH;AACvH,QAAA,MAAM,MAAM,EAA2E,yBAAyB,CAAC;AACjH,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceDivider.js","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceDivider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,uHAAuH;AACvH,MAAM,MAAM,GAAG,iBAAiB,CAAC,UAAU,EAAE,CAAC,yBAAyB,CAAyC,CAAC;AACjH,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceFooter.d.ts","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceFooter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAGlG,sHAAsH;AACtH,QAAA,MAAM,MAAM,EAA0E,yBAAyB,CAAC;AAChH,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceFooter.js","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceFooter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,sHAAsH;AACtH,MAAM,MAAM,GAAG,iBAAiB,CAAC,UAAU,EAAE,CAAC,wBAAwB,CAAyC,CAAC;AAChH,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceHeader.d.ts","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceHeader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAGlG,sHAAsH;AACtH,QAAA,MAAM,MAAM,EAA0E,yBAAyB,CAAC;AAChH,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceHeader.js","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceHeader.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,sHAAsH;AACtH,MAAM,MAAM,GAAG,iBAAiB,CAAC,UAAU,EAAE,CAAC,wBAAwB,CAAyC,CAAC;AAChH,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceLineItems.d.ts","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceLineItems.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAGlG,yHAAyH;AACzH,QAAA,MAAM,MAAM,EAA6E,yBAAyB,CAAC;AACnH,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceLineItems.js","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceLineItems.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,yHAAyH;AACzH,MAAM,MAAM,GAAG,iBAAiB,CAAC,UAAU,EAAE,CAAC,2BAA2B,CAAyC,CAAC;AACnH,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceLogo.d.ts","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceLogo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAGlG,oHAAoH;AACpH,QAAA,MAAM,MAAM,EAAwE,yBAAyB,CAAC;AAC9G,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceLogo.js","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceLogo.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,oHAAoH;AACpH,MAAM,MAAM,GAAG,iBAAiB,CAAC,UAAU,EAAE,CAAC,sBAAsB,CAAyC,CAAC;AAC9G,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceNotes.d.ts","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceNotes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAGlG,qHAAqH;AACrH,QAAA,MAAM,MAAM,EAAyE,yBAAyB,CAAC;AAC/G,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceNotes.js","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceNotes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,qHAAqH;AACrH,MAAM,MAAM,GAAG,iBAAiB,CAAC,UAAU,EAAE,CAAC,uBAAuB,CAAyC,CAAC;AAC/G,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceParties.d.ts","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceParties.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAGlG,uHAAuH;AACvH,QAAA,MAAM,MAAM,EAA2E,yBAAyB,CAAC;AACjH,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceParties.js","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceParties.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,uHAAuH;AACvH,MAAM,MAAM,GAAG,iBAAiB,CAAC,UAAU,EAAE,CAAC,yBAAyB,CAAyC,CAAC;AACjH,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceSpacer.d.ts","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceSpacer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAGlG,sHAAsH;AACtH,QAAA,MAAM,MAAM,EAA0E,yBAAyB,CAAC;AAChH,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceSpacer.js","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceSpacer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,sHAAsH;AACtH,MAAM,MAAM,GAAG,iBAAiB,CAAC,UAAU,EAAE,CAAC,wBAAwB,CAAyC,CAAC;AAChH,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceTotals.d.ts","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceTotals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAGlG,sHAAsH;AACtH,QAAA,MAAM,MAAM,EAA0E,yBAAyB,CAAC;AAChH,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceTotals.js","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceTotals.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,sHAAsH;AACtH,MAAM,MAAM,GAAG,iBAAiB,CAAC,UAAU,EAAE,CAAC,wBAAwB,CAAyC,CAAC;AAChH,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceVatSummary.d.ts","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceVatSummary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAGlG,0HAA0H;AAC1H,QAAA,MAAM,MAAM,EAA8E,yBAAyB,CAAC;AACpH,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceVatSummary.js","sourceRoot":"","sources":["../../../src/admin/document-blocks/InvoiceVatSummary.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,0HAA0H;AAC1H,MAAM,MAAM,GAAG,iBAAiB,CAAC,UAAU,EAAE,CAAC,4BAA4B,CAAyC,CAAC;AACpH,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/admin/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;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AAC,MAAM,CAAC,kCAAkC,CAAC;SAC5D;QACD;YACE,IAAI,EAAE,wBAAwB;YAC9B,OAAO,EAAE,UAAU;YACnB,SAAS,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,oCAAoC,CAAC;SAC9D;KACF;CACF,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceDetail.d.ts","sourceRoot":"","sources":["../../../src/admin/pages/InvoiceDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAkBzE,+EAA+E;AAC/E,wBAAgB,aAAa,IAAI,SAAS,CAsWzC;AAWD;;;;GAIG;AACH,eAAe,aAAa,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceDetail.js","sourceRoot":"","sources":["../../../src/admin/pages/InvoiceDetail.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAkB,MAAM,OAAO,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAKzD,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,cAAc,EAAE,WAAW,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAChJ,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC5M,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE7D,MAAM,cAAc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AC,kCAAkC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,GAAI,CACzF,CAAC,CAAC,CAAC,IAAI,IACI,IACT,EAgBP,KAAC,SAAS,IACR,IAAI,EAAC,sBAAsB,EAC3B,KAAK,EAAE;oCACL,SAAS,EAAE,OAAO,CAAC,EAAE;oCACrB,IAAI,EAAE,OAAO,CAAC,IAAI;oCAClB,mBAAmB,EAAE,OAAO,CAAC,mBAAmB;iCACjD,GACD,IACE,IACF,IACL,CACJ,CAAC;AACJ,CAAC;AAED,SAAS,GAAG,CAAC,EAAE,KAAK,EAAE,KAAK,EAAuC;IAChE,OAAO,CACL,eAAK,SAAS,EAAC,yCAAyC,aACtD,eAAM,SAAS,EAAC,uBAAuB,YAAE,KAAK,GAAQ,EACtD,eAAM,SAAS,EAAC,YAAY,YAAE,KAAK,GAAQ,IACvC,CACP,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,eAAe,aAAa,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceTemplatesRedirect.d.ts","sourceRoot":"","sources":["../../../src/admin/pages/InvoiceTemplatesRedirect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC;;;;;GAKG;AACH,wBAAgB,wBAAwB,IAAI,SAAS,CAGpD;AAED,eAAe,wBAAwB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoiceTemplatesRedirect.js","sourceRoot":"","sources":["../../../src/admin/pages/InvoiceTemplatesRedirect.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAEvD;;;;;GAKG;AACH,MAAM,UAAU,wBAAwB;IACtC,MAAM,EAAE,EAAE,EAAE,GAAG,SAAS,EAAE,CAAC;IAC3B,OAAO,KAAC,QAAQ,IAAC,OAAO,QAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,uBAAuB,EAAE,EAAE,CAAC,CAAC,CAAC,2CAA2C,GAAI,CAAC;AAClH,CAAC;AAED,eAAe,wBAAwB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoicesList.d.ts","sourceRoot":"","sources":["../../../src/admin/pages/InvoicesList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AA8BzE,wBAAgB,YAAY,IAAI,SAAS,CA0RxC;AAED;;;;GAIG;AACH,eAAe,YAAY,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvoicesList.js","sourceRoot":"","sources":["../../../src/admin/pages/InvoicesList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAkB,MAAM,OAAO,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,cAAc,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACvI,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC3M,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAejE,MAAM,QAAQ,GAAG,CAAC,SAAS,EAAE,OAAO,EAAE,WAAW,CAAU,CAAC;AAC5D,MAAM,KAAK,GAAG,CAAC,UAAU,EAAE,SAAS,EAAE,YAAY,CAAU,CAA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ACL,OAAO,EAAC,OAAO,EACf,IAAI,EAAC,IAAI,EACT,OAAO,EAAE,GAAS,EAAE,CAAC,KAAK,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,EAC3C,KAAK,EAAE,CAAC,CAAC,sBAAsB,CAAC,YAEhC,KAAC,IAAI,KAAG,GACD,IACL,GACI,KA/CC,CAAC,CAAC,EAAE,CAgDR,CACZ,CAAC,GACQ,IACN,CACT,GACW,GACT,IACN,CACJ,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,eAAe,YAAY,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"invoice-puck-config.d.ts","sourceRoot":"","sources":["../../../src/admin/templates/invoice-puck-config.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAmB,MAAM,kBAAkB,CAAC;AA0kChE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAa/B,CAAC"}