@financica/ubl 0.17.0 → 0.18.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.18.0
4
+
5
+ ### Added
6
+
7
+ - **The serializer writes the whole of EN 16931.** Every business term the model holds now goes out at its place in the UBL 2.1 sequence: the tax point date (BT-7) and its code (BT-8), the VAT accounting currency (BT-6) with the second `cac:TaxTotal` carrying BT-111, the buyer accounting reference (BT-19), the reference set (order BT-13/BT-14, contract BT-12, project BT-11, receiving advice BT-15, despatch BT-16, tender BT-17 and invoiced object BT-18, the last two as typed `cac:AdditionalDocumentReference`s, and BT-26 on the billing reference), party identifications, legal form and contacts, the payee (BG-10), the tax representative (BG-11), delivery with its party, location id and address (BG-13), payment means with credit transfer, direct debit and card details (BG-16; on a credit note BT-9 rides in the first one as `cbc:PaymentDueDate`), document allowances and charges with their VAT category (BG-20/BG-21) and BT-107/BT-108 in the monetary total, line allowances and charges (BG-27/BG-28), the price discount (BT-147/BT-148), the exemption reason code (BT-121), attachment descriptions and text-only document references, and per line the note (BT-127), object identifier (BT-128), order line reference (BT-132), accounting reference (BT-133), buyer, seller and standard item identifiers, commodity classifications, origin country and attributes. Line-level tax totals stay unwritten: BIS Billing 3.0 forbids them.
8
+ - **The serializer checks the arithmetic.** Beyond the mandatory fields it now throws `UblBuildError`, naming the rule and the model path, for a document whose figures break BR-CO-3, BR-CO-10 to BR-CO-13, BR-CO-15, BR-CO-16, BR-53, the BR-S-08 family, or Peppol's R040 (allowance percentage) and R120 (line net against quantity, price and line allowances), and for a payment means without a code, a credit transfer without an account or a direct debit without a mandate. These all failed at the access point before, after the document had left.
9
+ - **`buildTaxTotals` takes `allowanceCharges`.** Each document-level item joins the VAT subtotal of its own category and feeds BT-107/BT-108, so BT-109 is BT-106 − BT-107 + BT-108. **`allocateAcrossTaxCategories(amount, lines, template)`** splits one amount across the categories the lines use, pro rata by line net with the cent remainders on the largest shares, for a shipping charge or an invoice-wide discount on a mixed-rate invoice.
10
+ - **The parser reads the same set**, so a document survives parse → serialize → parse unchanged: payee, tax representative, delivery party and location id, tax currency and BT-111, accounting references, despatch, receipt, tender and object references, line note, order line reference, standard item id, classifications, origin country, mandate debited account and card details, and a credit note's due date from its payment means. The model gains the matching fields (`UblSchemedId`, `UblPriceAllowance`, `UblCommodityClassification`; `payee`, `taxRepresentative`, `taxCurrency`, `accountingCost`, `receivingAdviceReference`, `despatchReference`, `tenderReference`, `invoicedObjectId`; `UblDelivery.locationId`/`partyName`; `UblPaymentMeans.debitedAccount`/`cardNumber`/`cardHolder`; `UblTaxTotal.taxAmountInTaxCurrency`; on a line `note`, `objectIdentifier`, `orderLineReference`, `accountingCost`, `standardItemId`, `commodityClassifications`, `originCountryCode`, `priceAllowance`).
11
+
12
+ ### Changed
13
+
14
+ - **BREAKING: a price discount is `UblLine.priceAllowance`, not an entry of `allowanceCharges`.** `cac:Price/cac:AllowanceCharge` (BT-147/BT-148) used to be merged into the line's allowance list, which lost where it came from and could not be written back. `allowanceCharges` now holds only BG-27/BG-28; `discountAmount` still counts both, and `normalizeUblResponse` still lists the price discount in `extra.allowance_charges`, so the DTO is unchanged.
15
+
3
16
  ## 0.17.0
4
17
 
5
18
  ### Changed
package/README.md CHANGED
@@ -150,6 +150,50 @@ const { taxTotal, monetaryTotal } = buildTaxTotals(doc.lines, { prepaidAmount: 1
150
150
  `taxInclusiveAmount - prepaidAmount + payableRoundingAmount` (BR-CO-16) and does
151
151
  not clamp it: an overpayment yields a negative `payableAmount`.
152
152
 
153
+ Document-level allowances and charges (BG-20/BG-21) go through the same
154
+ helper so each one lands in the VAT breakdown of its own category and feeds
155
+ BT-107/BT-108. `allocateAcrossTaxCategories` splits one amount (a shipping
156
+ charge, an invoice-wide discount) across the categories the lines use, pro
157
+ rata, so a mixed-rate invoice stays right:
158
+
159
+ ```ts
160
+ import { allocateAcrossTaxCategories, buildTaxTotals } from "@financica/ubl/build";
161
+
162
+ const allowanceCharges = allocateAcrossTaxCategories(20, lines, {
163
+ chargeIndicator: true,
164
+ reason: "Shipping",
165
+ reasonCode: "FC",
166
+ });
167
+ const { taxTotal, monetaryTotal } = buildTaxTotals(lines, { allowanceCharges });
168
+ const xml = serializeUblInvoice({
169
+ ...doc,
170
+ allowanceCharges,
171
+ lines,
172
+ taxTotal,
173
+ monetaryTotal,
174
+ });
175
+ ```
176
+
177
+ ### What the serializer writes
178
+
179
+ Every EN 16931 business term the model holds, at its place in the UBL 2.1
180
+ sequence: the header terms (BT-1 to BT-9, BT-19, BT-6 with BT-111), the
181
+ references (BT-10 to BT-18, BT-25/BT-26), the seller and buyer with
182
+ identifications, legal form and contacts, the payee (BG-10), the tax
183
+ representative (BG-11), delivery (BG-13), payment means (BG-16 with credit
184
+ transfer, direct debit and card details), payment terms, document and line
185
+ allowances and charges (BG-20/21, BG-27/28), the price discount (BT-147/148),
186
+ the VAT breakdown, the monetary totals, attachments and document references
187
+ (BG-24), and lines with their note, references, item identifiers,
188
+ classification, origin and attributes. Line-level tax totals are not written;
189
+ BIS Billing 3.0 forbids them.
190
+
191
+ Besides the mandatory fields, `serializeUblInvoice` checks the document's
192
+ arithmetic before anything leaves: BR-CO-10 to BR-CO-13, BR-CO-15, BR-CO-16,
193
+ the BR-S-08 family, BR-CO-3, BR-53 and Peppol's R040 and R120. A document
194
+ that would be rejected by an access point throws `UblBuildError` naming the
195
+ rule and the model path instead.
196
+
153
197
  The build subpath also exports
154
198
  helpers such as `buildSupplierParty`, `buildTaxTotals`, `buildCompanyId`,
155
199
  `buildPdfAttachment`, and Peppol identifier utilities (`resolveVatEndpoint`,
@@ -162,7 +206,9 @@ helpers such as `buildSupplierParty`, `buildTaxTotals`, `buildCompanyId`,
162
206
 
163
207
  ## Parsed fields
164
208
 
165
- Parties (seller/buyer), addresses, contacts, endpoint IDs, line items with quantities/prices/tax, allowance/charge at both header and line level, tax subtotals, monetary totals, payment means (including multiple), payment terms, invoice period, delivery information, order/contract/project references, notes, and embedded attachments.
209
+ Everything the serializer writes (above), read back into the same model, plus
210
+ what documents in the wild add: line-level tax totals (E-FFF), a second
211
+ `cac:TaxTotal` in the accounting currency, and a reason on the price discount.
166
212
 
167
213
  ## Development
168
214
 
@@ -1,4 +1,4 @@
1
- import { S as UblBuildError, a as UblBillingReference, b as UblTaxSubtotal, d as UblInvoice, f as UblInvoicePeriod, g as UblParty, h as UblMonetaryTotal, i as UblAttachment, m as UblLine, n as UblAddress, o as UblCompanyId, u as UblEndpoint, x as UblTaxTotal, y as UblTaxCategory } from "../types-DossV2at.js";
1
+ import { C as UblTaxSubtotal, S as UblTaxCategory, T as UblBuildError, _ as UblParty, a as UblBillingReference, b as UblPriceAllowance, c as UblContact, d as UblEndpoint, f as UblInvoice, g as UblMonetaryTotal, h as UblLine, i as UblAttachment, l as UblDelivery, m as UblItemProperty, n as UblAddress, o as UblCommodityClassification, p as UblInvoicePeriod, r as UblAllowanceCharge, s as UblCompanyId, u as UblDocumentReference, v as UblPartyIdentification, w as UblTaxTotal, x as UblSchemedId, y as UblPaymentMeans } from "../types-DpwX8-Ix.js";
2
2
  //#region src/build/ubl/constants.d.ts
3
3
  /** Peppol BIS Billing 3.0 / EN 16931 identifiers and fixed code values. */
4
4
  /** EN 16931 + Peppol BIS Billing 3.0 customization (BT-24). */
@@ -24,19 +24,21 @@ declare const NS_CBC = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasic
24
24
  /**
25
25
  * Serialize a {@link UblInvoice} into a Peppol BIS Billing 3.0 XML string.
26
26
  *
27
- * Emits the subset of the model a Peppol BIS Billing 3.0 document needs:
28
- * header (`customizationId`, `profileId` and `invoiceTypeCode` default to the
29
- * BIS values), note, buyer reference, invoice period, billing reference,
30
- * attachments, parties, payment terms, VAT breakdown, monetary totals and
31
- * lines with their price and classified VAT category. Payment means,
32
- * allowances/charges, delivery and the document references are not emitted.
27
+ * Writes every EN 16931 business term the model holds, at its position in the
28
+ * UBL 2.1 sequence: the header terms (`customizationId`, `profileId` and
29
+ * `invoiceTypeCode` default to the BIS values), the references (BT-10 to
30
+ * BT-19), the parties with identifications, legal form and contacts, the
31
+ * payee and tax representative, delivery, payment means, payment terms,
32
+ * document and line allowances and charges, the VAT breakdown (plus BT-111 in
33
+ * the accounting currency), the monetary totals, attachments and document
34
+ * references, and lines with their item identifiers, classifications,
35
+ * properties, price discount and classified VAT category. Line-level tax
36
+ * totals are not emitted: BIS Billing 3.0 forbids them.
33
37
  *
34
- * @throws {UblBuildError} when a field EN 16931 / Peppol BIS makes mandatory is
35
- * missing: document id, issue date, currency, seller and buyer name, an
36
- * endpoint without a scheme, at least one line, per line the quantity, unit
37
- * code, unit price, net amount and VAT category (id, plus the rate unless the
38
- * category is `O`), the total VAT amount, the four monetary totals, and for an
39
- * embedded attachment its filename, MIME code and content.
38
+ * @throws {UblBuildError} when a field EN 16931 / Peppol BIS makes mandatory
39
+ * is missing (naming the BT and the model path), or when the document's
40
+ * arithmetic breaks a business rule: BR-CO-3, BR-CO-10 to BR-CO-13, BR-CO-15,
41
+ * BR-CO-16, BR-53, the BR-S-08 family, PEPPOL-EN16931-R040 and R120.
40
42
  */
41
43
  declare const serializeUblInvoice: (doc: UblInvoice) => string;
42
44
  /** Alias of {@link serializeUblInvoice}, kept under the historical name. */
@@ -378,6 +380,13 @@ interface BuildTaxTotalsOptions {
378
380
  prepaidAmount?: number;
379
381
  /** BT-114 — rounding applied to the payable amount. */
380
382
  payableRoundingAmount?: number;
383
+ /**
384
+ * Document-level allowances and charges (BG-20/BG-21). Each one joins the
385
+ * VAT breakdown of its own category (BR-S-08: taxable = line nets −
386
+ * allowances + charges) and feeds BT-107/BT-108, so BT-109 is
387
+ * BT-106 − BT-107 + BT-108 (BR-CO-13). Put the same array on the document.
388
+ */
389
+ allowanceCharges?: UblAllowanceCharge[];
381
390
  }
382
391
  /**
383
392
  * Group lines by `(category, percent)` into a VAT breakdown and compute the
@@ -395,10 +404,22 @@ interface BuildTaxTotalsOptions {
395
404
  * exceeding the total yields a negative payable amount, surfacing the upstream
396
405
  * overpayment rather than hiding it.
397
406
  *
398
- * @throws {UblBuildError} for a line without a `taxCategory` — there is no
399
- * VAT breakdown to put it in.
407
+ * @throws {UblBuildError} for a line, allowance or charge without a
408
+ * `taxCategory` — there is no VAT breakdown to put it in.
400
409
  */
401
410
  declare const buildTaxTotals: (lines: UblLine[], options?: BuildTaxTotalsOptions) => BuildTaxTotalsResult;
411
+ /**
412
+ * Split one document-level amount into an allowance or charge per VAT
413
+ * category the lines use, pro rata by each category's line nets, so a
414
+ * shipping charge or an invoice-wide discount on a mixed-rate invoice lands in
415
+ * the right VAT subtotals (an ancillary cost follows the supply it belongs to).
416
+ * Cent remainders go to the largest shares so the parts sum to `amount`
417
+ * exactly; categories that receive nothing are omitted. With no positive
418
+ * line net at all the whole amount goes to the first line's category.
419
+ *
420
+ * @throws {UblBuildError} for a line without a `taxCategory`.
421
+ */
422
+ declare const allocateAcrossTaxCategories: (amount: number, lines: UblLine[], template: Pick<UblAllowanceCharge, "chargeIndicator" | "reason" | "reasonCode">) => UblAllowanceCharge[];
402
423
  //#endregion
403
424
  //#region src/build/xml.d.ts
404
425
  /**
@@ -437,5 +458,5 @@ type UblDocument = UblInvoice;
437
458
  /** @deprecated Use {@link UblInvoicePeriod}. */
438
459
  type UblPeriod = UblInvoicePeriod;
439
460
  //#endregion
440
- export { type AddressInput, type BuildTaxTotalsOptions, type BuildTaxTotalsResult, COUNTRY_CODE_LIST_ID, CREDIT_NOTE_TYPE_CODE, type CustomerTaxIdInput, type CustomerTaxIdentifiers, DEFAULT_UNIT_CODE, EXEMPT_TAXABILITY_REASONS, INVOICE_TYPE_CODE, NS_CAC, NS_CBC, NS_CREDIT_NOTE, NS_INVOICE, type SupplierVatStatus, type TaxAmountInfo, UBL_CUSTOMIZATION_ID, UBL_PROFILE_ID, type UblAddress, type UblAttachment, type UblBillingReference, UblBuildError, type UblCompanyId, type UblCustomer, UblDocument, type UblEndpoint, type UblInvoice, type UblInvoicePeriod, type UblLine, type UblMonetaryTotal, type UblParty, UblPeriod, type UblSupplier, type UblTaxCategory, type UblTaxSubtotal, type UblTaxTotal, type UnitPrice, VAT_TAX_SCHEME_ID, type XmlAttrs, type XmlElement, buildCompanyId, buildCustomerParty, buildPdfAttachment, buildSupplierParty, buildTaxTotals, centsToDecimal, coerceLinesForSupplierVatStatus, deriveUnitPrice, el, extractCustomerTaxIdentifiers, listPeppolReceiverIdentifierCandidates, normalizeAddress, normalizeCompanyNumberForCountry, parsePeppolEndpoint, reconcileLinesToExclTotal, resolveCompanyIdScheme, resolveTaxCategoryFromTaxAmounts, resolveVatEndpoint, roundCurrency, sanitizeUblDocumentForAudit, serializeDocument, serializeUblDocument, serializeUblInvoice, taxCategoryFromReasonOrRate };
461
+ export { type AddressInput, type BuildTaxTotalsOptions, type BuildTaxTotalsResult, COUNTRY_CODE_LIST_ID, CREDIT_NOTE_TYPE_CODE, type CustomerTaxIdInput, type CustomerTaxIdentifiers, DEFAULT_UNIT_CODE, EXEMPT_TAXABILITY_REASONS, INVOICE_TYPE_CODE, NS_CAC, NS_CBC, NS_CREDIT_NOTE, NS_INVOICE, type SupplierVatStatus, type TaxAmountInfo, UBL_CUSTOMIZATION_ID, UBL_PROFILE_ID, type UblAddress, type UblAllowanceCharge, type UblAttachment, type UblBillingReference, UblBuildError, type UblCommodityClassification, type UblCompanyId, type UblContact, type UblCustomer, type UblDelivery, UblDocument, type UblDocumentReference, type UblEndpoint, type UblInvoice, type UblInvoicePeriod, type UblItemProperty, type UblLine, type UblMonetaryTotal, type UblParty, type UblPartyIdentification, type UblPaymentMeans, UblPeriod, type UblPriceAllowance, type UblSchemedId, type UblSupplier, type UblTaxCategory, type UblTaxSubtotal, type UblTaxTotal, type UnitPrice, VAT_TAX_SCHEME_ID, type XmlAttrs, type XmlElement, allocateAcrossTaxCategories, buildCompanyId, buildCustomerParty, buildPdfAttachment, buildSupplierParty, buildTaxTotals, centsToDecimal, coerceLinesForSupplierVatStatus, deriveUnitPrice, el, extractCustomerTaxIdentifiers, listPeppolReceiverIdentifierCandidates, normalizeAddress, normalizeCompanyNumberForCountry, parsePeppolEndpoint, reconcileLinesToExclTotal, resolveCompanyIdScheme, resolveTaxCategoryFromTaxAmounts, resolveVatEndpoint, roundCurrency, sanitizeUblDocumentForAudit, serializeDocument, serializeUblDocument, serializeUblInvoice, taxCategoryFromReasonOrRate };
441
462
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/build/ubl/constants.ts","../../src/build/ubl/serialize.ts","../../src/build/address.ts","../../src/build/party.ts","../../src/build/attachment.ts","../../src/build/identifiers.ts","../../src/build/numeric.ts","../../src/build/tax-category.ts","../../src/build/tax-totals.ts","../../src/build/xml.ts","../../src/build/index.ts"],"mappings":";;;;cAGa;;cAIA;;cAGA;;cAEA;;cAGA;;cAGA;;cAGA;cAEA;cACA;cAEA;cAEA;;;;;;;;;;;;;;;;;;;;cCwVA,sBAAmB,KAAS;;cAgE5B,6BAAoB;;;;;;;;;;;UCnahB;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;;;;;;;;cAYY,mBAAgB,SACnB,iCAA+B,oCACN,iCAEhC;;;;;;;;;;;;;;;;;KCxBS;;;;;;;UAQK;;EAEhB;;EAEA;;;;;EAKA,SAAS;;EAET;;EAEA;;EAEA,WAAW;;EAEX;;;cAIY,qBAAkB,UAAc,gBAAc;;;;;;;;UAsB1C;;EAEhB;;EAEA,SAAS;;;;;;;EAOT;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;;;;;;cAcY,qBAAkB,UACpB,aAAW,mBACF,uBACjB;;;;;;;;cCnGU,qBAAkB;EAC9B;EACA,OAAO;;EAEP;MACG;;;;;cAWS,8BAA2B,KAAS,eAAa;;;;;;;cCLjD,mCAAgC,wCACN;;;;;;;;;;;cAmB1B,yBAAsB;EAClC;EACA;;;;;;;cAuBY,iBAAc;EAC1B;EACA;MACG;;;;;;;;;;;;;;;cA4BS,qBAAkB;EAC9B;EACA;MACG;;;;;;;;cAyBS,sBAAmB,wCAE7B;UAWc;EAChB;EACA;EACA;EACA;;;;;;;UAQgB;EAChB;EACA;;;;;;;;;cAaY,gCAA6B,iBACxB,4CACf;;;;;;;;;;;;;;;;;;;;cAkDU,yCAAsC,UACxC,QAAQ,yBAAuB;;;;cCtN7B,gBAAa;;cAIb,iBAAc;;UAGV;;EAEhB;;;;;;EAMA;;;;;;;;;;;;;;;;;;;;cAqBY,kBAAe,kBAAoB,qBAAqB;;;;;;;cC7BxD,2BAAyB;UAsBrB;EAChB;EACA;EACA;;;;;;;;;;;;;cAiBY,8BAA2B;EACvC;EACA;EACA;MACG;;;;;;;cA8CS,mCAAgC,YAChC,iBAAe,iBAEzB;;;;;;;cAiCU,kCAA+B,OACpC,WAAS,WACL,mBAAiB,wCAE1B;;;;;;;;;;;;;cCrHU,4BAAyB,OAC9B,WAAS,sCAEd;UAmCc;EAChB,UAAU;EACV,eAAe;;UAGC;;;;;;EAMhB;;EAEA;;;;;;;;;;;;;;;;;;;;;cAsBY,iBAAc,OACnB,WAAS,UACN,0BACR;;;;;;;;;;;KC1FS,WAAW;UAEN;EAChB;EACA,QAAQ;;EAER;;EAEA,WAAW;;;KAIP,YAAY;;;;;;;;cASJ,KAAE,cACF,QACJ,iBAAe,mCACY,gBACjC;;cAgDU,oBAAiB,MAAU;;;;KCpD5B,cAAc;;KAEd,YAAY"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/build/ubl/constants.ts","../../src/build/ubl/serialize.ts","../../src/build/address.ts","../../src/build/party.ts","../../src/build/attachment.ts","../../src/build/identifiers.ts","../../src/build/numeric.ts","../../src/build/tax-category.ts","../../src/build/tax-totals.ts","../../src/build/xml.ts","../../src/build/index.ts"],"mappings":";;;;cAGa;;cAIA;;cAGA;;cAEA;;cAGA;;cAGA;;cAGA;cAE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