@endevops/peppol-schema 0.1.0-beta.5 → 0.1.0-beta.7
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/dist/constants.js.map +1 -1
- package/dist/{index-CfjMSrpQ.d.ts → index-CiW698HY.d.ts} +2 -3
- package/dist/{index-CfjMSrpQ.d.ts.map → index-CiW698HY.d.ts.map} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +83 -82
- package/dist/index.js.map +1 -1
- package/dist/is-valid-abn-160i38PG.js.map +1 -1
- package/dist/is-valid-mod97-0208-CzMOXMO-.js.map +1 -1
- package/dist/parser-options-mbqEQPSY.js.map +1 -1
- package/dist/peppol-iso-date-string-BXLxzxdz.js.map +1 -1
- package/dist/schematron.d.ts +1 -1
- package/dist/schematron.d.ts.map +1 -1
- package/dist/schematron.js +74 -55
- package/dist/schematron.js.map +1 -1
- package/dist/validations.js.map +1 -1
- package/package.json +6 -1
- package/src/constants/credit-note-doctype-id.ts +1 -1
- package/src/constants/credit-note-process-id.ts +1 -1
- package/src/constants/index.ts +14 -14
- package/src/constants/invoice-doctype-id.ts +1 -1
- package/src/constants/invoice-process-id.ts +1 -1
- package/src/constants/invoice-response-doctype-id.ts +1 -1
- package/src/constants/invoice-response-process-id.ts +2 -2
- package/src/constants/message-level-response-doctype-id.ts +1 -1
- package/src/constants/message-level-response-process-id.ts +2 -2
- package/src/decoders/decode-billing.ts +16 -16
- package/src/decoders/decode-credit-note.ts +5 -5
- package/src/decoders/decode-invoice-response.ts +7 -7
- package/src/decoders/decode-invoice.ts +6 -6
- package/src/decoders/decode-message-level-response.ts +6 -6
- package/src/decoders/encode-credit-note.ts +16 -16
- package/src/decoders/encode-invoice-response.ts +2 -2
- package/src/decoders/encode-invoice.ts +16 -16
- package/src/decoders/encode-message-level-response.ts +3 -3
- package/src/decoders/fields/decode-additional-document-references.ts +7 -7
- package/src/decoders/fields/decode-address.ts +5 -5
- package/src/decoders/fields/decode-allowance-charges.ts +6 -6
- package/src/decoders/fields/decode-amount.ts +5 -5
- package/src/decoders/fields/decode-application-response.ts +3 -3
- package/src/decoders/fields/decode-base-allowance-charge.ts +5 -5
- package/src/decoders/fields/decode-billing-references.ts +5 -5
- package/src/decoders/fields/decode-contact.ts +5 -5
- package/src/decoders/fields/decode-credit-note-lines.ts +4 -4
- package/src/decoders/fields/decode-delivery.ts +8 -8
- package/src/decoders/fields/decode-electronic-address.ts +3 -3
- package/src/decoders/fields/decode-identifier.ts +5 -5
- package/src/decoders/fields/decode-invoice-line-period.ts +5 -5
- package/src/decoders/fields/decode-invoice-lines.ts +4 -4
- package/src/decoders/fields/decode-invoice-message-document-party.ts +6 -6
- package/src/decoders/fields/decode-invoice-message-party.ts +6 -6
- package/src/decoders/fields/decode-invoice-period.ts +3 -3
- package/src/decoders/fields/decode-legal-monetary-total.ts +5 -5
- package/src/decoders/fields/decode-line-allowance-charges.ts +5 -5
- package/src/decoders/fields/decode-line-price.ts +5 -5
- package/src/decoders/fields/decode-line-shared.ts +13 -13
- package/src/decoders/fields/decode-message-level-party.ts +5 -5
- package/src/decoders/fields/decode-node-list.ts +2 -2
- package/src/decoders/fields/decode-order-reference.ts +5 -5
- package/src/decoders/fields/decode-parties-tax-scheme.ts +5 -5
- package/src/decoders/fields/decode-party-legal-entity.ts +6 -6
- package/src/decoders/fields/decode-party-tax-scheme.ts +6 -6
- package/src/decoders/fields/decode-party.ts +9 -9
- package/src/decoders/fields/decode-payee-party.ts +6 -6
- package/src/decoders/fields/decode-payment-means.ts +8 -8
- package/src/decoders/fields/decode-payment-terms.ts +5 -5
- package/src/decoders/fields/decode-price-allowance-charge.ts +4 -4
- package/src/decoders/fields/decode-quantity.ts +3 -3
- package/src/decoders/fields/decode-simple-identifier.ts +4 -4
- package/src/decoders/fields/decode-tax-category.ts +7 -7
- package/src/decoders/fields/decode-tax-representative-party.ts +7 -7
- package/src/decoders/fields/decode-tax-totals.ts +10 -10
- package/src/decoders/fields/encode-additional-document-references.ts +2 -2
- package/src/decoders/fields/encode-address.ts +2 -2
- package/src/decoders/fields/encode-allowance-charges.ts +3 -3
- package/src/decoders/fields/encode-amount.ts +1 -1
- package/src/decoders/fields/encode-billing-references.ts +1 -1
- package/src/decoders/fields/encode-contact.ts +1 -1
- package/src/decoders/fields/encode-credit-note-lines.ts +2 -2
- package/src/decoders/fields/encode-delivery.ts +3 -3
- package/src/decoders/fields/encode-identifier.ts +1 -1
- package/src/decoders/fields/encode-invoice-line-period.ts +1 -1
- package/src/decoders/fields/encode-invoice-lines.ts +2 -2
- package/src/decoders/fields/encode-invoice-period.ts +1 -1
- package/src/decoders/fields/encode-legal-monetary-total.ts +2 -2
- package/src/decoders/fields/encode-line-allowance-charges.ts +2 -2
- package/src/decoders/fields/encode-line-price.ts +4 -4
- package/src/decoders/fields/encode-line-shared.ts +9 -9
- package/src/decoders/fields/encode-message-party.ts +29 -16
- package/src/decoders/fields/encode-order-reference.ts +1 -1
- package/src/decoders/fields/encode-parties-tax-scheme.ts +3 -3
- package/src/decoders/fields/encode-party-legal-entity.ts +1 -1
- package/src/decoders/fields/encode-party-tax-scheme.ts +3 -3
- package/src/decoders/fields/encode-party.ts +6 -6
- package/src/decoders/fields/encode-payee-party.ts +2 -2
- package/src/decoders/fields/encode-payment-means.ts +2 -2
- package/src/decoders/fields/encode-payment-terms.ts +1 -1
- package/src/decoders/fields/encode-price-allowance-charges.ts +2 -2
- package/src/decoders/fields/encode-quantity.ts +1 -1
- package/src/decoders/fields/encode-tax-category.ts +2 -2
- package/src/decoders/fields/encode-tax-representative-party.ts +4 -4
- package/src/decoders/fields/encode-tax-totals.ts +4 -4
- package/src/helpers/bool.ts +2 -2
- package/src/helpers/get-array.ts +2 -2
- package/src/helpers/num-or-und.ts +2 -2
- package/src/helpers/str-or-array.ts +3 -3
- package/src/helpers/str-or-und.ts +2 -2
- package/src/helpers/str.ts +2 -2
- package/src/index.ts +54 -54
- package/src/invoice-response-codes/index.ts +3 -3
- package/src/peppol-validations/check-cf.ts +2 -2
- package/src/peppol-validations/check-cf16.ts +1 -1
- package/src/peppol-validations/check-piva-se-it.ts +1 -1
- package/src/peppol-validations/check-piva.ts +1 -1
- package/src/peppol-validations/check-se-orgnr.ts +1 -1
- package/src/peppol-validations/index.ts +13 -13
- package/src/peppol-validations/is-valid-abn.ts +1 -1
- package/src/peppol-validations/is-valid-iban.ts +1 -1
- package/src/peppol-validations/is-valid-mod11.ts +1 -1
- package/src/peppol-validations/is-valid-mod97-0208.ts +1 -1
- package/src/peppol-validations/luhn-check.ts +1 -1
- package/src/schemas/fields/peppol-additional-document-reference-schema.ts +4 -4
- package/src/schemas/fields/peppol-address-schema.ts +2 -2
- package/src/schemas/fields/peppol-allowance-charge-schema.ts +6 -6
- package/src/schemas/fields/peppol-amount-schema.ts +2 -2
- package/src/schemas/fields/peppol-base-line-schema.ts +7 -7
- package/src/schemas/fields/peppol-billing-reference-schema.ts +2 -2
- package/src/schemas/fields/peppol-binary-object-schema.ts +3 -3
- package/src/schemas/fields/peppol-contact-schema.ts +1 -1
- package/src/schemas/fields/peppol-credit-note-line-schema.ts +4 -4
- package/src/schemas/fields/peppol-delivery-schema.ts +5 -5
- package/src/schemas/fields/peppol-identifier-schema.ts +1 -1
- package/src/schemas/fields/peppol-invoice-line-period-schema.ts +2 -2
- package/src/schemas/fields/peppol-invoice-line-schema.ts +4 -4
- package/src/schemas/fields/peppol-invoice-period-schema.ts +3 -3
- package/src/schemas/fields/peppol-item-classification-schema.ts +2 -2
- package/src/schemas/fields/peppol-legal-monetary-total-schema.ts +2 -2
- package/src/schemas/fields/peppol-line-allowance-charge-schema.ts +4 -4
- package/src/schemas/fields/peppol-line-item-schema.ts +6 -6
- package/src/schemas/fields/peppol-line-price-allowance-charge-schema.ts +2 -2
- package/src/schemas/fields/peppol-line-price-schema.ts +4 -4
- package/src/schemas/fields/peppol-order-reference-schema.ts +1 -1
- package/src/schemas/fields/peppol-party-base-schema.ts +8 -8
- package/src/schemas/fields/peppol-party-legal-entity-schema.ts +2 -2
- package/src/schemas/fields/peppol-party-tax-scheme-schema.ts +1 -1
- package/src/schemas/fields/peppol-payee-party-schema.ts +3 -3
- package/src/schemas/fields/peppol-payment-means-schema.ts +3 -3
- package/src/schemas/fields/peppol-payment-terms-schema.ts +1 -1
- package/src/schemas/fields/peppol-quantity-schema.ts +2 -2
- package/src/schemas/fields/peppol-reference-schema.ts +1 -1
- package/src/schemas/fields/peppol-tax-category-schema.ts +2 -2
- package/src/schemas/fields/peppol-tax-representative-schema.ts +3 -3
- package/src/schemas/fields/peppol-tax-subtotal-category-schema.ts +2 -2
- package/src/schemas/fields/peppol-tax-subtotal-schema.ts +3 -3
- package/src/schemas/fields/peppol-tax-totals-base-schema.ts +3 -3
- package/src/schemas/peppol-billing-base-schema.ts +18 -18
- package/src/schemas/peppol-credit-note-schema.ts +4 -4
- package/src/schemas/peppol-document-response-document-reference-schema.ts +2 -2
- package/src/schemas/peppol-document-response-document-schema.ts +2 -2
- package/src/schemas/peppol-document-response-line-response-content-schema.ts +2 -2
- package/src/schemas/peppol-document-response-line-response-schema.ts +2 -2
- package/src/schemas/peppol-document-schema.ts +21 -21
- package/src/schemas/peppol-invoice-response-document-actual-response-schema.ts +5 -5
- package/src/schemas/peppol-invoice-response-document-actual-response-status-schema.ts +2 -2
- package/src/schemas/peppol-invoice-response-schema.ts +10 -10
- package/src/schemas/peppol-invoice-response-status-reason-code-schema.ts +3 -3
- package/src/schemas/peppol-invoice-schema.ts +5 -5
- package/src/schemas/peppol-iso-date-string.ts +1 -1
- package/src/schemas/peppol-message-level-response-document-response-schema.ts +4 -4
- package/src/schemas/peppol-message-level-response-party-schema.ts +2 -2
- package/src/schemas/peppol-message-level-response-schema.ts +6 -6
- package/src/schemas/utils/format-quantity-with-unit.ts +1 -1
- package/src/schemas/utils/get-credit-note-type-code-description.ts +1 -1
- package/src/schemas/utils/get-invoice-type-code-description.ts +1 -1
- package/src/schemas/utils/index.ts +10 -10
- package/src/schemas/utils/is-valid-credit-note-type-code.ts +1 -1
- package/src/schemas/utils/is-valid-invoice-type-code.ts +1 -1
- package/src/schemas/utils/is-valid-process.ts +1 -1
- package/src/schemas/utils/peppol-vat-regex-schema.ts +1 -3
- package/src/schemas/utils/peppol-xsd-time-schema.ts +2 -2
- package/src/schemas/utils/quantity-unit-code-to-intl-unit.ts +1 -1
- package/src/schemas/values/index.ts +27 -27
- package/src/schemas/values/process-from-document-type-schema.ts +2 -2
- package/src/schematron/cen/ae/cen-en16931-br-ae-01.ts +3 -3
- package/src/schematron/cen/ae/cen-en16931-br-ae-02.ts +3 -3
- package/src/schematron/cen/ae/cen-en16931-br-ae-03.ts +3 -3
- package/src/schematron/cen/ae/cen-en16931-br-ae-04.ts +3 -3
- package/src/schematron/cen/ae/cen-en16931-br-ae-05.ts +3 -3
- package/src/schematron/cen/ae/cen-en16931-br-ae-06.ts +3 -3
- package/src/schematron/cen/ae/cen-en16931-br-ae-07.ts +3 -3
- package/src/schematron/cen/ae/cen-en16931-br-ae-08.ts +3 -3
- package/src/schematron/cen/ae/cen-en16931-br-ae-09.ts +3 -3
- package/src/schematron/cen/ae/cen-en16931-br-ae-10.ts +3 -3
- package/src/schematron/cen/af/cen-en16931-br-af-01.ts +3 -3
- package/src/schematron/cen/af/cen-en16931-br-af-02.ts +3 -3
- package/src/schematron/cen/af/cen-en16931-br-af-03.ts +8 -3
- package/src/schematron/cen/af/cen-en16931-br-af-04.ts +3 -3
- package/src/schematron/cen/af/cen-en16931-br-af-05.ts +3 -3
- package/src/schematron/cen/af/cen-en16931-br-af-06.ts +3 -3
- package/src/schematron/cen/af/cen-en16931-br-af-07.ts +3 -3
- package/src/schematron/cen/af/cen-en16931-br-af-08.ts +3 -3
- package/src/schematron/cen/af/cen-en16931-br-af-09.ts +3 -3
- package/src/schematron/cen/af/cen-en16931-br-af-10.ts +3 -3
- package/src/schematron/cen/ag/cen-en16931-br-ag-01.ts +3 -3
- package/src/schematron/cen/ag/cen-en16931-br-ag-02.ts +3 -3
- package/src/schematron/cen/ag/cen-en16931-br-ag-03.ts +8 -3
- package/src/schematron/cen/ag/cen-en16931-br-ag-04.ts +3 -3
- package/src/schematron/cen/ag/cen-en16931-br-ag-05.ts +3 -3
- package/src/schematron/cen/ag/cen-en16931-br-ag-06.ts +3 -3
- package/src/schematron/cen/ag/cen-en16931-br-ag-07.ts +3 -3
- package/src/schematron/cen/ag/cen-en16931-br-ag-08.ts +3 -3
- package/src/schematron/cen/ag/cen-en16931-br-ag-09.ts +3 -3
- package/src/schematron/cen/ag/cen-en16931-br-ag-10.ts +3 -3
- package/src/schematron/cen/b/cen-en16931-br-b-01.ts +3 -3
- package/src/schematron/cen/b/cen-en16931-br-b-02.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-01.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-02.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-03.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-04.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-05.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-06.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-07.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-08.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-09.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-10.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-11.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-12.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-13.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-14.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-15.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-16.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-17.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-18.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-19.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-20.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-21.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-22.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-23.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-24.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-25.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-26.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-27.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-28.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-29.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-30.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-31.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-32.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-33.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-36.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-37.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-38.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-41.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-42.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-43.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-44.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-45.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-46.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-47.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-48.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-49.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-50.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-51.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-52.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-53.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-54.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-55.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-56.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-57.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-61.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-62.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-63.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-64.ts +3 -3
- package/src/schematron/cen/cen-en16931-br-65.ts +3 -3
- package/src/schematron/cen/cl/cen-en16931-br-cl-08.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-03.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-04.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-05.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-06.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-07.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-08.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-09.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-10.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-11.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-12.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-13.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-14.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-15.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-16.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-17.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-18.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-19.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-20.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-21.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-22.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-23.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-24.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-25.ts +3 -3
- package/src/schematron/cen/co/cen-en16931-br-co-26.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-01.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-02.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-05.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-06.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-09.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-10.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-11.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-12.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-13.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-14.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-15.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-16.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-17.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-18.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-19.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-20.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-23.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-24.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-25.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-27.ts +3 -3
- package/src/schematron/cen/dec/cen-en16931-br-dec-28.ts +3 -3
- package/src/schematron/cen/e/cen-en16931-br-e-01.ts +3 -3
- package/src/schematron/cen/e/cen-en16931-br-e-02.ts +3 -3
- package/src/schematron/cen/e/cen-en16931-br-e-03.ts +8 -3
- package/src/schematron/cen/e/cen-en16931-br-e-04.ts +3 -3
- package/src/schematron/cen/e/cen-en16931-br-e-05.ts +3 -3
- package/src/schematron/cen/e/cen-en16931-br-e-06.ts +3 -3
- package/src/schematron/cen/e/cen-en16931-br-e-07.ts +3 -3
- package/src/schematron/cen/e/cen-en16931-br-e-08.ts +3 -3
- package/src/schematron/cen/e/cen-en16931-br-e-09.ts +3 -3
- package/src/schematron/cen/e/cen-en16931-br-e-10.ts +3 -3
- package/src/schematron/cen/g/cen-en16931-br-g-01.ts +3 -3
- package/src/schematron/cen/g/cen-en16931-br-g-02.ts +3 -3
- package/src/schematron/cen/g/cen-en16931-br-g-03.ts +8 -3
- package/src/schematron/cen/g/cen-en16931-br-g-04.ts +3 -3
- package/src/schematron/cen/g/cen-en16931-br-g-05.ts +3 -3
- package/src/schematron/cen/g/cen-en16931-br-g-06.ts +3 -3
- package/src/schematron/cen/g/cen-en16931-br-g-07.ts +3 -3
- package/src/schematron/cen/g/cen-en16931-br-g-08.ts +3 -3
- package/src/schematron/cen/g/cen-en16931-br-g-09.ts +3 -3
- package/src/schematron/cen/g/cen-en16931-br-g-10.ts +3 -3
- package/src/schematron/cen/ic/cen-en16931-br-ic-01.ts +3 -3
- package/src/schematron/cen/ic/cen-en16931-br-ic-02.ts +3 -3
- package/src/schematron/cen/ic/cen-en16931-br-ic-03.ts +3 -3
- package/src/schematron/cen/ic/cen-en16931-br-ic-04.ts +3 -3
- package/src/schematron/cen/ic/cen-en16931-br-ic-05.ts +3 -3
- package/src/schematron/cen/ic/cen-en16931-br-ic-06.ts +3 -3
- package/src/schematron/cen/ic/cen-en16931-br-ic-07.ts +3 -3
- package/src/schematron/cen/ic/cen-en16931-br-ic-08.ts +3 -3
- package/src/schematron/cen/ic/cen-en16931-br-ic-09.ts +3 -3
- package/src/schematron/cen/ic/cen-en16931-br-ic-10.ts +3 -3
- package/src/schematron/cen/ic/cen-en16931-br-ic-11.ts +3 -3
- package/src/schematron/cen/ic/cen-en16931-br-ic-12.ts +3 -3
- package/src/schematron/cen/o/cen-en16931-br-o-01.ts +3 -3
- package/src/schematron/cen/o/cen-en16931-br-o-02.ts +3 -3
- package/src/schematron/cen/o/cen-en16931-br-o-03.ts +3 -3
- package/src/schematron/cen/o/cen-en16931-br-o-04.ts +3 -3
- package/src/schematron/cen/o/cen-en16931-br-o-05.ts +3 -3
- package/src/schematron/cen/o/cen-en16931-br-o-06.ts +3 -3
- package/src/schematron/cen/o/cen-en16931-br-o-07.ts +3 -3
- package/src/schematron/cen/o/cen-en16931-br-o-08.ts +3 -3
- package/src/schematron/cen/o/cen-en16931-br-o-09.ts +3 -3
- package/src/schematron/cen/o/cen-en16931-br-o-10.ts +3 -3
- package/src/schematron/cen/o/cen-en16931-br-o-11.ts +3 -3
- package/src/schematron/cen/o/cen-en16931-br-o-12.ts +3 -3
- package/src/schematron/cen/o/cen-en16931-br-o-13.ts +3 -3
- package/src/schematron/cen/o/cen-en16931-br-o-14.ts +3 -3
- package/src/schematron/cen/s/cen-en16931-br-s-01.ts +3 -3
- package/src/schematron/cen/s/cen-en16931-br-s-02.ts +3 -3
- package/src/schematron/cen/s/cen-en16931-br-s-03.ts +8 -3
- package/src/schematron/cen/s/cen-en16931-br-s-04.ts +3 -3
- package/src/schematron/cen/s/cen-en16931-br-s-05.ts +3 -3
- package/src/schematron/cen/s/cen-en16931-br-s-06.ts +3 -3
- package/src/schematron/cen/s/cen-en16931-br-s-07.ts +3 -3
- package/src/schematron/cen/s/cen-en16931-br-s-08.ts +3 -3
- package/src/schematron/cen/s/cen-en16931-br-s-09.ts +3 -3
- package/src/schematron/cen/s/cen-en16931-br-s-10.ts +3 -3
- package/src/schematron/cen/z/cen-en16931-br-z-01.ts +3 -3
- package/src/schematron/cen/z/cen-en16931-br-z-02.ts +3 -3
- package/src/schematron/cen/z/cen-en16931-br-z-03.ts +8 -3
- package/src/schematron/cen/z/cen-en16931-br-z-04.ts +3 -3
- package/src/schematron/cen/z/cen-en16931-br-z-05.ts +3 -3
- package/src/schematron/cen/z/cen-en16931-br-z-06.ts +3 -3
- package/src/schematron/cen/z/cen-en16931-br-z-07.ts +3 -3
- package/src/schematron/cen/z/cen-en16931-br-z-08.ts +3 -3
- package/src/schematron/cen/z/cen-en16931-br-z-09.ts +3 -3
- package/src/schematron/cen/z/cen-en16931-br-z-10.ts +3 -3
- package/src/schematron/de/de-r-001.ts +3 -3
- package/src/schematron/de/de-r-002.ts +3 -3
- package/src/schematron/de/de-r-003.ts +3 -3
- package/src/schematron/de/de-r-004.ts +3 -3
- package/src/schematron/de/de-r-005.ts +3 -3
- package/src/schematron/de/de-r-006.ts +3 -3
- package/src/schematron/de/de-r-007.ts +3 -3
- package/src/schematron/de/de-r-008.ts +3 -3
- package/src/schematron/de/de-r-009.ts +3 -3
- package/src/schematron/de/de-r-010.ts +3 -3
- package/src/schematron/de/de-r-011.ts +3 -3
- package/src/schematron/de/de-r-014.ts +3 -3
- package/src/schematron/de/de-r-015.ts +3 -3
- package/src/schematron/de/de-r-016.ts +3 -3
- package/src/schematron/de/de-r-017.ts +3 -3
- package/src/schematron/de/de-r-018.ts +3 -3
- package/src/schematron/de/de-r-019.ts +4 -4
- package/src/schematron/de/de-r-020.ts +4 -4
- package/src/schematron/de/de-r-022.ts +3 -3
- package/src/schematron/de/de-r-023-1.ts +3 -3
- package/src/schematron/de/de-r-023-2.ts +3 -3
- package/src/schematron/de/de-r-024-1.ts +3 -3
- package/src/schematron/de/de-r-024-2.ts +3 -3
- package/src/schematron/de/de-r-025-1.ts +3 -3
- package/src/schematron/de/de-r-025-2.ts +3 -3
- package/src/schematron/de/de-r-026.ts +3 -3
- package/src/schematron/de/de-r-027.ts +3 -3
- package/src/schematron/de/de-r-028.ts +3 -3
- package/src/schematron/de/de-r-030.ts +3 -3
- package/src/schematron/de/de-r-031.ts +3 -3
- package/src/schematron/dk/dk-r-002.ts +3 -3
- package/src/schematron/dk/dk-r-003.ts +3 -3
- package/src/schematron/dk/dk-r-004.ts +3 -3
- package/src/schematron/dk/dk-r-005.ts +3 -3
- package/src/schematron/dk/dk-r-006.ts +3 -3
- package/src/schematron/dk/dk-r-007.ts +3 -3
- package/src/schematron/dk/dk-r-008.ts +3 -3
- package/src/schematron/dk/dk-r-009.ts +3 -3
- package/src/schematron/dk/dk-r-010.ts +3 -3
- package/src/schematron/dk/dk-r-011.ts +3 -3
- package/src/schematron/dk/dk-r-013.ts +3 -3
- package/src/schematron/dk/dk-r-014.ts +3 -3
- package/src/schematron/dk/dk-r-016.ts +3 -3
- package/src/schematron/dk/dk-r-017.ts +3 -3
- package/src/schematron/gr/gr-r-001-1.ts +3 -3
- package/src/schematron/gr/gr-r-001-2.ts +4 -4
- package/src/schematron/gr/gr-r-001-3.ts +4 -4
- package/src/schematron/gr/gr-r-001-4.ts +3 -3
- package/src/schematron/gr/gr-r-001-5.ts +3 -3
- package/src/schematron/gr/gr-r-001-6.ts +3 -3
- package/src/schematron/gr/gr-r-001-7.ts +3 -3
- package/src/schematron/gr/gr-r-002.ts +3 -3
- package/src/schematron/gr/gr-r-003.ts +4 -4
- package/src/schematron/gr/gr-r-004-1.ts +3 -3
- package/src/schematron/gr/gr-r-004-2.ts +3 -3
- package/src/schematron/gr/gr-r-005.ts +3 -3
- package/src/schematron/gr/gr-r-006.ts +8 -8
- package/src/schematron/gr/gr-r-008-2.ts +3 -3
- package/src/schematron/gr/gr-r-008-3.ts +3 -3
- package/src/schematron/gr/gr-r-009.ts +4 -4
- package/src/schematron/gr/gr-r-010.ts +4 -4
- package/src/schematron/gr/gr-s-008-1.ts +3 -3
- package/src/schematron/gr/gr-s-011.ts +3 -3
- package/src/schematron/helpers.ts +15 -17
- package/src/schematron/index.ts +366 -366
- package/src/schematron/is/is-r-001.ts +3 -3
- package/src/schematron/is/is-r-002.ts +3 -3
- package/src/schematron/is/is-r-003.ts +3 -3
- package/src/schematron/is/is-r-004.ts +3 -3
- package/src/schematron/is/is-r-005.ts +3 -3
- package/src/schematron/is/is-r-006.ts +3 -3
- package/src/schematron/is/is-r-007.ts +3 -3
- package/src/schematron/is/is-r-008.ts +3 -3
- package/src/schematron/is/is-r-009.ts +3 -3
- package/src/schematron/is/is-r-010.ts +3 -3
- package/src/schematron/it/it-r-001.ts +3 -3
- package/src/schematron/it/it-r-002.ts +3 -3
- package/src/schematron/it/it-r-003.ts +3 -3
- package/src/schematron/it/it-r-004.ts +3 -3
- package/src/schematron/nl/nl-r-001.ts +3 -3
- package/src/schematron/nl/nl-r-002.ts +3 -3
- package/src/schematron/nl/nl-r-003.ts +3 -3
- package/src/schematron/nl/nl-r-004.ts +3 -3
- package/src/schematron/nl/nl-r-005.ts +3 -3
- package/src/schematron/nl/nl-r-006.ts +3 -3
- package/src/schematron/nl/nl-r-007.ts +3 -3
- package/src/schematron/nl/nl-r-008.ts +3 -3
- package/src/schematron/nl/nl-r-009.ts +3 -3
- package/src/schematron/no/no-r-001.ts +4 -4
- package/src/schematron/no/no-r-002.ts +3 -3
- package/src/schematron/peppol/cl/peppol-en16931-cl001.ts +3 -3
- package/src/schematron/peppol/cl/peppol-en16931-cl002.ts +3 -3
- package/src/schematron/peppol/cl/peppol-en16931-cl003.ts +3 -3
- package/src/schematron/peppol/cl/peppol-en16931-cl006.ts +3 -3
- package/src/schematron/peppol/cl/peppol-en16931-cl007.ts +26 -26
- package/src/schematron/peppol/cl/peppol-en16931-cl008.ts +3 -3
- package/src/schematron/peppol/common/peppol-common-r040.ts +5 -5
- package/src/schematron/peppol/common/peppol-common-r041.ts +5 -5
- package/src/schematron/peppol/common/peppol-common-r042.ts +3 -3
- package/src/schematron/peppol/common/peppol-common-r043.ts +5 -5
- package/src/schematron/peppol/common/peppol-common-r044.ts +3 -3
- package/src/schematron/peppol/common/peppol-common-r045.ts +4 -4
- package/src/schematron/peppol/common/peppol-common-r046.ts +4 -4
- package/src/schematron/peppol/common/peppol-common-r047.ts +4 -4
- package/src/schematron/peppol/common/peppol-common-r049.ts +4 -4
- package/src/schematron/peppol/common/peppol-common-r050.ts +5 -5
- package/src/schematron/peppol/common/peppol-common-r052.ts +3 -3
- package/src/schematron/peppol/common/peppol-common-r053.ts +3 -3
- package/src/schematron/peppol/f/peppol-en16931-f001.ts +21 -15
- package/src/schematron/peppol/p/peppol-en16931-p0100.ts +3 -3
- package/src/schematron/peppol/p/peppol-en16931-p0101.ts +3 -3
- package/src/schematron/peppol/p/peppol-en16931-p0104.ts +3 -3
- package/src/schematron/peppol/p/peppol-en16931-p0105.ts +3 -3
- package/src/schematron/peppol/p/peppol-en16931-p0106.ts +3 -3
- package/src/schematron/peppol/p/peppol-en16931-p0107.ts +3 -3
- package/src/schematron/peppol/p/peppol-en16931-p0108.ts +3 -3
- package/src/schematron/peppol/p/peppol-en16931-p0109.ts +3 -3
- package/src/schematron/peppol/p/peppol-en16931-p0110.ts +3 -3
- package/src/schematron/peppol/p/peppol-en16931-p0111.ts +3 -3
- package/src/schematron/peppol/p/peppol-en16931-p0112.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r001.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r002.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r003.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r004.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r005.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r007.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r008.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r010.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r020.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r040.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r041.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r042.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r043.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r044.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r046.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r051.ts +44 -24
- package/src/schematron/peppol/r/peppol-en16931-r053.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r054.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r055.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r061.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r100.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r101.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r110.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r111.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r120.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r121.ts +3 -3
- package/src/schematron/peppol/r/peppol-en16931-r130.ts +3 -3
- package/src/schematron/run-all-rules.ts +361 -361
- package/src/schematron/schematron.ts +3 -3
- package/src/schematron/se/se-r-001.ts +3 -3
- package/src/schematron/se/se-r-002.ts +3 -3
- package/src/schematron/se/se-r-003.ts +3 -3
- package/src/schematron/se/se-r-004.ts +3 -3
- package/src/schematron/se/se-r-005.ts +3 -3
- package/src/schematron/se/se-r-006.ts +3 -3
- package/src/schematron/se/se-r-007.ts +3 -3
- package/src/schematron/se/se-r-008.ts +3 -3
- package/src/schematron/se/se-r-009.ts +3 -3
- package/src/schematron/se/se-r-010.ts +3 -3
- package/src/schematron/se/se-r-011.ts +3 -3
- package/src/schematron/se/se-r-012.ts +3 -3
- package/src/schematron/se/se-r-013.ts +4 -4
- package/src/xml/builder-options.ts +1 -1
- package/src/xml/parser-options.ts +1 -1
- package/src/xml.ts +2 -2
package/dist/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","names":[],"sources":["../src/constants/document-scheme.ts","../src/constants/credit-note-doctype-id.ts","../src/constants/process-scheme.ts","../src/constants/credit-note-process-id.ts","../src/constants/invoice-doctype-id.ts","../src/constants/invoice-process-id.ts","../src/constants/invoice-response-doctype-id.ts","../src/constants/invoice-response-process-id.ts","../src/constants/message-level-response-doctype-id.ts","../src/constants/message-level-response-process-id.ts","../src/constants/participant-scheme.ts","../src/constants/transport-profile.ts"],"sourcesContent":["export const documentScheme = 'busdox-docid-qns' as const;\n","import { documentScheme } from '#/constants/document-scheme';\n\nexport const CREDIT_NOTE_DOCTYPE_ID =\n `${documentScheme}::urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2::CreditNote##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1` as const;\n","export const processScheme = 'cenbii-procid-ubl' as const;\n","import { processScheme } from '#/constants/process-scheme';\n\nexport const CREDIT_NOTE_PROCESS_ID = `${processScheme}::urn:fdc:peppol.eu:2017:poacc:billing:01:1.0` as const;\n","import { documentScheme } from '#/constants/document-scheme';\n\nexport const INVOICE_DOCTYPE_ID =\n `${documentScheme}::urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1` as const;\n","import { processScheme } from '#/constants/process-scheme';\n\nexport const INVOICE_PROCESS_ID = `${processScheme}::urn:fdc:peppol.eu:2017:poacc:billing:01:1.0` as const;\n","import { documentScheme } from '#/constants/document-scheme';\n\nexport const INVOICE_RESPONSE_DOCTYPE_ID =\n `${documentScheme}::urn:oasis:names:specification:ubl:schema:xsd:ApplicationResponse-2::ApplicationResponse##urn:fdc:peppol.eu:poacc:trns:invoice_response:3::2.1` as const;\n","import { INVOICE_RESPONSE_PROFILE_ID } from '#/constants/invoice-response-profile-id';\nimport { processScheme } from '#/constants/process-scheme';\n\nexport const INVOICE_RESPONSE_PROCESS_ID = `${processScheme}::${INVOICE_RESPONSE_PROFILE_ID}` as const;\n","import { documentScheme } from '#/constants/document-scheme';\n\nexport const MESSAGE_LEVEL_RESPONSE_DOCTYPE_ID =\n `${documentScheme}::urn:oasis:names:specification:ubl:schema:xsd:ApplicationResponse-2::ApplicationResponse##urn:fdc:peppol.eu:poacc:trns:mlr:3::2.1` as const;\n","import { MESSAGE_LEVEL_RESPONSE_PROFILE_ID } from '#/constants/message-level-response-profile-id';\nimport { processScheme } from '#/constants/process-scheme';\n\nexport const MESSAGE_LEVEL_RESPONSE_PROCESS_ID = `${processScheme}::${MESSAGE_LEVEL_RESPONSE_PROFILE_ID}` as const;\n","export const PARTICIPANT_SCHEME = 'iso6523-actorid-upis' as const;\n/**\n * @deprecated use `PARTICIPANT_SCHEME` instead.\n */\nexport const participantScheme = PARTICIPANT_SCHEME;\n","export const TRANSPORT_PROFILE = 'peppol-transport-as4-v2_0' as const;\n/**\n * @deprecated\n */\nexport const transportProfile = TRANSPORT_PROFILE;\n"],"mappings":";;AAAA,MAAa,iBAAiB;;;ACE9B,MAAa,yBACX,GAAG,eAAe;;;ACHpB,MAAa,gBAAgB;;;ACE7B,MAAa,yBAAyB,GAAG,cAAc;;;ACAvD,MAAa,qBACX,GAAG,eAAe;;;ACDpB,MAAa,qBAAqB,GAAG,cAAc;;;ACAnD,MAAa,8BACX,GAAG,eAAe;;;ACApB,MAAa,8BAA8B,GAAG,cAAc,IAAI;;;ACDhE,MAAa,oCACX,GAAG,eAAe;;;ACApB,MAAa,oCAAoC,GAAG,cAAc,IAAI;;;ACHtE,MAAa,qBAAqB;;;;AAIlC,MAAa,oBAAoB;;;ACJjC,MAAa,oBAAoB;;;;AAIjC,MAAa,mBAAmB"}
|
|
1
|
+
{"version":3,"file":"constants.js","names":[],"sources":["../src/constants/document-scheme.ts","../src/constants/credit-note-doctype-id.ts","../src/constants/process-scheme.ts","../src/constants/credit-note-process-id.ts","../src/constants/invoice-doctype-id.ts","../src/constants/invoice-process-id.ts","../src/constants/invoice-response-doctype-id.ts","../src/constants/invoice-response-process-id.ts","../src/constants/message-level-response-doctype-id.ts","../src/constants/message-level-response-process-id.ts","../src/constants/participant-scheme.ts","../src/constants/transport-profile.ts"],"sourcesContent":["export const documentScheme = 'busdox-docid-qns' as const;\n","import { documentScheme } from '#/constants/document-scheme.ts';\n\nexport const CREDIT_NOTE_DOCTYPE_ID =\n `${documentScheme}::urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2::CreditNote##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1` as const;\n","export const processScheme = 'cenbii-procid-ubl' as const;\n","import { processScheme } from '#/constants/process-scheme.ts';\n\nexport const CREDIT_NOTE_PROCESS_ID = `${processScheme}::urn:fdc:peppol.eu:2017:poacc:billing:01:1.0` as const;\n","import { documentScheme } from '#/constants/document-scheme.ts';\n\nexport const INVOICE_DOCTYPE_ID =\n `${documentScheme}::urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1` as const;\n","import { processScheme } from '#/constants/process-scheme.ts';\n\nexport const INVOICE_PROCESS_ID = `${processScheme}::urn:fdc:peppol.eu:2017:poacc:billing:01:1.0` as const;\n","import { documentScheme } from '#/constants/document-scheme.ts';\n\nexport const INVOICE_RESPONSE_DOCTYPE_ID =\n `${documentScheme}::urn:oasis:names:specification:ubl:schema:xsd:ApplicationResponse-2::ApplicationResponse##urn:fdc:peppol.eu:poacc:trns:invoice_response:3::2.1` as const;\n","import { INVOICE_RESPONSE_PROFILE_ID } from '#/constants/invoice-response-profile-id.ts';\nimport { processScheme } from '#/constants/process-scheme.ts';\n\nexport const INVOICE_RESPONSE_PROCESS_ID = `${processScheme}::${INVOICE_RESPONSE_PROFILE_ID}` as const;\n","import { documentScheme } from '#/constants/document-scheme.ts';\n\nexport const MESSAGE_LEVEL_RESPONSE_DOCTYPE_ID =\n `${documentScheme}::urn:oasis:names:specification:ubl:schema:xsd:ApplicationResponse-2::ApplicationResponse##urn:fdc:peppol.eu:poacc:trns:mlr:3::2.1` as const;\n","import { MESSAGE_LEVEL_RESPONSE_PROFILE_ID } from '#/constants/message-level-response-profile-id.ts';\nimport { processScheme } from '#/constants/process-scheme.ts';\n\nexport const MESSAGE_LEVEL_RESPONSE_PROCESS_ID = `${processScheme}::${MESSAGE_LEVEL_RESPONSE_PROFILE_ID}` as const;\n","export const PARTICIPANT_SCHEME = 'iso6523-actorid-upis' as const;\n/**\n * @deprecated use `PARTICIPANT_SCHEME` instead.\n */\nexport const participantScheme = PARTICIPANT_SCHEME;\n","export const TRANSPORT_PROFILE = 'peppol-transport-as4-v2_0' as const;\n/**\n * @deprecated\n */\nexport const transportProfile = TRANSPORT_PROFILE;\n"],"mappings":";;AAAA,MAAa,iBAAiB;;;ACE9B,MAAa,yBACX,GAAG,eAAe;;;ACHpB,MAAa,gBAAgB;;;ACE7B,MAAa,yBAAyB,GAAG,cAAc;;;ACAvD,MAAa,qBACX,GAAG,eAAe;;;ACDpB,MAAa,qBAAqB,GAAG,cAAc;;;ACAnD,MAAa,8BACX,GAAG,eAAe;;;ACApB,MAAa,8BAA8B,GAAG,cAAc,IAAI;;;ACDhE,MAAa,oCACX,GAAG,eAAe;;;ACApB,MAAa,oCAAoC,GAAG,cAAc,IAAI;;;ACHtE,MAAa,qBAAqB;;;;AAIlC,MAAa,oBAAoB;;;ACJjC,MAAa,oBAAoB;;;;AAIjC,MAAa,mBAAmB"}
|
|
@@ -2889,7 +2889,6 @@ declare function quantityUnitCodeToIntlUnit(code: PeppolQuantityUnitCode | (stri
|
|
|
2889
2889
|
* `z.string().check(...)` members): each member keeps its original prefix + pattern checks as `Schema.String.check` filters.
|
|
2890
2890
|
*/
|
|
2891
2891
|
declare const peppolVatRegexSchema: Schema.Union<readonly [Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String]>;
|
|
2892
|
-
type VatRegex = typeof peppolVatRegexSchema.Type;
|
|
2893
2892
|
//#endregion
|
|
2894
2893
|
//#region src/schemas/peppol-invoice-response-schema.d.ts
|
|
2895
2894
|
declare const PeppolInvoiceResponseDocumentResponsePartyName_base: OpaqueSchema<PeppolInvoiceResponseDocumentResponsePartyName, Schema.Struct<{
|
|
@@ -3504,5 +3503,5 @@ type PeppolVatDateCode = VatDateCodesKeys;
|
|
|
3504
3503
|
*/
|
|
3505
3504
|
declare const vatDateCodeSchema: Schema.Literals<readonly ["3", "35", "432"]>;
|
|
3506
3505
|
//#endregion
|
|
3507
|
-
export { PeppolDocumentEncoded as $,
|
|
3508
|
-
//# sourceMappingURL=index-
|
|
3506
|
+
export { PeppolDocumentEncoded as $, PeppolPartyLegalEntitySchema as $n, PeppolDocumentResponseLineResponse as $t, peppolDocumentTypeSchema as A, PeppolContractDocumentReference as An, invoiceTypeCodeSchema as At, PeppolApplicationResponseTypeCode as B, PeppolTaxSchemeId as Bn, peppolInvoiceResponseDocumentActualResponseSchema as Bt, electronicCodesSchema as C, BaseLineAllowanceCharge as Cn, isValidProcess as Ct, documentTypeValuesSchema as D, PeppolLineCharge as Dn, isValidCreditNoteTypeCode as Dt, peppolDutyTaxFeeCategorySchema as E, PeppolLineAllowanceChargeEncoded as En, isValidInvoiceTypeCode as Et, currencyCodeSchema as F, PeppolTaxTotalsBase as Fn, Base64 as Ft, additionalDocumentReferenceCodeSchema as G, PeppolPayeeParty as Gn, PeppolInvoiceResponseDocumentActualResponseStatus as Gt, PeppolAllowanceChargeReasonCode as H, PeppolTaxRepresentativeParty as Hn, withoutStatusCodes as Ht, PeppolCountryCode as I, PeppolTaxSubTotal as In, peppolBase64Schema as It, DEFAULT_PROFILE_ID as J, PeppolPartyName$1 as Jn, PeppolInvoiceResponseStatusReasonCodeReason as Jt, PeppolReferenceSchema as K, PeppolPartyEndpointId as Kn, PeppolInvoiceResponseStatusReasonCode as Kt, peppolCountryCodeSchema as L, PeppolTaxSubTotalCategory as Ln, InvoiceResponseDocumentActualResponse as Lt, peppolDocumentTypeCodeSchema as M, PeppolOriginatorDocumentReference as Mn, PeppolCreditNoteTypeCode as Mt, PeppolCurrencyCode as N, PeppolReceiptDocumentReference as Nn, creditNoteTypeCodeSchema as Nt, documentTypeSchemesSchema as O, peppolLineAllowanceChargeSchema as On, getInvoiceTypeCodeDescription as Ot, PeppolCurrencyCodeEncoded as P, PeppolTaxTotal as Pn, formatQuantityWithUnit as Pt, PeppolDocumentDecoded as Q, PeppolPartyLegalEntity$1 as Qn, PeppolMessageLevelResponseDocumentResponse as Qt, PeppolChargeReasonCode as R, PeppolTaxSubTotalCategoryEncoded as Rn, PeppolInvoiceResponseDocumentActualResponseWithStatus as Rt, PeppolElectronicAddressCode as S, PeppolInvoiceLinePeriod as Sn, quantityUnitCodesSchema as St, PeppolDutyTaxFeeCategoryCodeEncoded as T, PeppolLineAllowanceCharge as Tn, peppolProcessSchema as Tt, allowanceChargeReasonCodeSchema as U, PeppolPaymentTerms as Un, InvoiceResponseDocumentActualResponseStatus as Ut, applicationResponseTypeCodeSchema as V, PeppolTaxRepresentative as Vn, withStatusCodes as Vt, PeppolAdditionalDocumentReferenceCode as W, PeppolPaymentMeans as Wn, PeppolInvoiceResponseCondition as Wt, PeppolAllDocuments as X, PeppolPartyTaxSchema as Xn, PeppolMessageLevelResponse as Xt, DEFAULT_CUSTOMIZATION_ID as Y, PeppolPartySchema as Yn, peppolInvoiceResponseStatusReasonCodeSchema as Yt, PeppolDocument as Z, PeppolPartyTaxScheme as Zn, PeppolXsdTime as Zt, itemClassificationCodesSchema as _, PeppolLinePriceAllowanceCharge as _n, PeppolAmount as _r, IntlUnit as _t, processFromDocumentTypeSchema as a, PeppolMessageLevelDocumentResponseDocumentReference as an, PeppolDelivery as ar, isPeppolMessageLevelResponse as at, PeppolIcdCode as b, PeppolLineItem as bn, quantityUnitCodeToIntlUnit as bt, PeppolParticipantIdentifierCode as c, PeppolCreditNoteLine as cn, PeppolAdditionalDocumentReference as cr, PeppolInvoiceResponse as ct, opStatusReasonSchema as d, PeppolInvoiceLine as dn, PeppolAllowance as dr, PeppolInvoiceResponseDocumentResponseParty as dt, PeppolMessageLevelDocumentResponseLineResponse as en, PeppolIdentifier as er, PeppolDocumentLine as et, PeppolOpStatusAction as f, PeppolInvoiceLineEncoded as fn, PeppolAllowanceCharge as fr, PeppolInvoiceResponseDocumentResponsePartyName as ft, PeppolItemClassificationCode as g, PeppolQuantity as gn, peppolAllowanceChargeSchema as gr, BaseIntlUnit as gt, mimeCodesSchema as h, PeppolLinePrice as hn, PeppolTaxCategoryTaxSchemeId as hr, peppolVatRegexSchema as ht, vatexCodeSchema as i, PeppolDocumentResponseDocumentReference as in, PeppolInvoicePeriod as ir, isPeppolInvoiceResponse as it, PeppolDocumentTypeCode as j, PeppolDespatchDocumentReference as jn, getCreditNoteTypeCodeDescription as jt, PeppolDocumentType as k, PeppolBillingBase as kn, PeppolInvoiceTypeCode as kt, participantIdentifierCodeSchema as l, PeppolCreditNoteLineEncoded as ln, PeppolBinaryObject as lr, PeppolInvoiceResponseDocumentReference as lt, PeppolMimeCode as m, PeppolOrderLineReference as mn, PeppolCharge as mr, PeppolInvoiceResponseSenderParty as mt, vatDateCodeSchema as n, PeppolDocumentResponseDocument as nn, PeppolOrderReference as nr, isPeppolCreditNote as nt, PeppolPaymentMeansCode as o, PeppolMessageLevelResponseParty as on, PeppolAddress as or, peppolDocumentSchema as ot, opStatusActionSchema as p, PeppolBaseLine as pn, PeppolAllowanceChargeEncoded as pr, PeppolInvoiceResponseParty as pt, peppolReferenceSchema as q, PeppolPartyIdentification$1 as qn, PeppolInvoiceResponseStatusReasonCodeAction as qt, PeppolVatexCode as r, PeppolMessageLevelResponseDocumentResponseDocument as rn, PeppolLegalMonetaryTotal as rr, isPeppolInvoice as rt, paymentMeansCodeSchema as s, PeppolCreditNote as sn, PeppolBillingReference as sr, PeppolInvoiceDocumentResponseParty as st, PeppolVatDateCode as t, PeppolDocumentResponseLineResponseContent as tn, PeppolContact as tr, PeppolMessage as tt, PeppolOpStatusReason as u, PeppolInvoice as un, BaseAllowanceCharge as ur, PeppolInvoiceResponseDocumentResponse as ut, PeppolInvoiceStatusCodes as v, PriceAllowanceCharge as vn, PeppolAmountEncoded as vr, TimeIntlUnit as vt, PeppolDutyTaxFeeCategoryCode as w, PeppolLineAllowance as wn, PeppolProcesses as wt, icdCodesSchema as x, PeppolItemClassification as xn, PeppolQuantityUnitCode as xt, invoiceStatusCodeSchema as y, PeppolItem as yn, PeppolIsoDateString as yr, quantityToIntlUnitMap as yt, chargeReasonCodeSchema as z, PeppolTaxCategory as zn, PeppolInvoiceResponseDocumentActualResponseWithoutStatus as zt };
|
|
3507
|
+
//# sourceMappingURL=index-CiW698HY.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-CfjMSrpQ.d.ts","names":[],"sources":["../src/schemas/utils/opaque.ts","../src/schemas/peppol-iso-date-string.ts","../src/schemas/fields/peppol-amount-schema.ts","../src/schemas/fields/peppol-allowance-charge-schema.ts","../src/schemas/fields/peppol-binary-object-schema.ts","../src/schemas/fields/peppol-additional-document-reference-schema.ts","../src/schemas/fields/peppol-billing-reference-schema.ts","../src/schemas/fields/peppol-address-schema.ts","../src/schemas/fields/peppol-delivery-schema.ts","../src/schemas/fields/peppol-invoice-period-schema.ts","../src/schemas/fields/peppol-legal-monetary-total-schema.ts","../src/schemas/fields/peppol-order-reference-schema.ts","../src/schemas/fields/peppol-contact-schema.ts","../src/schemas/fields/peppol-identifier-schema.ts","../src/schemas/fields/peppol-party-legal-entity-schema.ts","../src/schemas/fields/peppol-party-tax-scheme-schema.ts","../src/schemas/fields/peppol-party-base-schema.ts","../src/schemas/fields/peppol-payee-party-schema.ts","../src/schemas/fields/peppol-payment-means-schema.ts","../src/schemas/fields/peppol-payment-terms-schema.ts","../src/schemas/fields/peppol-tax-representative-schema.ts","../src/schemas/fields/peppol-tax-category-schema.ts","../src/schemas/fields/peppol-tax-subtotal-category-schema.ts","../src/schemas/fields/peppol-tax-subtotal-schema.ts","../src/schemas/fields/peppol-tax-totals-base-schema.ts","../src/schemas/peppol-billing-base-schema.ts","../src/schemas/fields/peppol-line-allowance-charge-schema.ts","../src/schemas/fields/peppol-invoice-line-period-schema.ts","../src/schemas/fields/peppol-item-classification-schema.ts","../src/schemas/fields/peppol-line-item-schema.ts","../src/schemas/fields/peppol-line-price-allowance-charge-schema.ts","../src/schemas/fields/peppol-quantity-schema.ts","../src/schemas/fields/peppol-line-price-schema.ts","../src/schemas/fields/peppol-base-line-schema.ts","../src/schemas/fields/peppol-invoice-line-schema.ts","../src/schemas/peppol-invoice-schema.ts","../src/schemas/fields/peppol-credit-note-line-schema.ts","../src/schemas/peppol-credit-note-schema.ts","../src/schemas/peppol-message-level-response-party-schema.ts","../src/schemas/peppol-document-response-document-reference-schema.ts","../src/schemas/peppol-document-response-document-schema.ts","../src/schemas/peppol-document-response-line-response-content-schema.ts","../src/schemas/peppol-document-response-line-response-schema.ts","../src/schemas/peppol-message-level-response-document-response-schema.ts","../src/schemas/utils/peppol-xsd-time-schema.ts","../src/schemas/peppol-message-level-response-schema.ts","../src/schemas/peppol-invoice-response-status-reason-code-schema.ts","../src/schemas/peppol-invoice-response-document-actual-response-status-schema.ts","../src/schemas/peppol-invoice-response-document-actual-response-schema.ts","../src/schemas/utils/peppol-base-64-schema.ts","../src/schemas/utils/format-quantity-with-unit.ts","../src/schemas/values/credit-note-type-code-schema.ts","../src/schemas/utils/get-credit-note-type-code-description.ts","../src/schemas/values/invoice-type-code-schema.ts","../src/schemas/utils/get-invoice-type-code-description.ts","../src/schemas/utils/is-valid-credit-note-type-code.ts","../src/schemas/utils/is-valid-invoice-type-code.ts","../src/schemas/values/peppol-process-schema.ts","../src/schemas/utils/is-valid-process.ts","../src/schemas/values/quantity-unit-codes-schema.ts","../src/schemas/utils/quantity-unit-code-to-intl-unit.ts","../src/schemas/utils/peppol-vat-regex-schema.ts","../src/schemas/peppol-invoice-response-schema.ts","../src/schemas/peppol-document-schema.ts","../src/schemas/fields/default-customization-id.ts","../src/schemas/fields/default-profile-id.ts","../src/schemas/fields/peppol-reference-schema.ts","../src/schemas/values/additional-document-reference-code-schema.ts","../src/schemas/values/allowance-charge-reason-code-schema.ts","../src/schemas/values/application-response-type-code-schema.ts","../src/schemas/values/charge-reason-code-schema.ts","../src/schemas/values/peppol-country-code-schema.ts","../src/schemas/values/currency-code-schema.ts","../src/schemas/values/peppol-document-type-code-schema.ts","../src/schemas/values/peppol-document-type-schema.ts","../src/schemas/values/document-type-schemes-schema.ts","../src/schemas/values/document-type-values-schema.ts","../src/schemas/values/duty-tax-fee-category-schema.ts","../src/schemas/values/electronic-codes-schema.ts","../src/schemas/values/icd-codes-schema.ts","../src/schemas/values/invoice-status-code-schema.ts","../src/schemas/values/item-classification-codes-schema.ts","../src/schemas/values/mime-codes-schema.ts","../src/schemas/values/op-status-action-schema.ts","../src/schemas/values/op-status-reason-schema.ts","../src/schemas/values/participant-identifier-code-schema.ts","../src/schemas/values/payment-means-code-schema.ts","../src/schemas/values/process-from-document-type-schema.ts","../src/schemas/values/vatex-code-schema.ts","../src/schemas/values/vat-date-code-schema.ts"],"mappings":";;;;;;;;KAOY,aAAa,MAAM,UAAU,OAAO,OAAO,OAAO,OAAO,MAAM,SAAS,KAAK,SAAS,OAAO;;;;;;;;;;;;cCK5F,4BAA4B;;;;;;;;;;;;;;;;;;cCF5B,qBAAqB;UAYjB,4BAA4B,OAAO,MAAM,eAAe;;;;;;;;;;;cCb5D,qCAAqC;;;;;;;;;;;;;;;;;;cAWrC,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuC5B,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBxB,qBAAqB;;;;;;cAuBrB,6BAA2B,OAAA,uBAAA,wBAAA;KAE5B,wBAAwB,OAAO,OAAO,YAAY;KAClD,+BAA+B,OAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cCxF1D,2BAA2B;;;;;;;;;;;;;;;;;cCRlC,0CAA0C;;;;;;;;;;;;;;;;;;;;;;cAiB1C,yBAAyB;;;;;;;;;;;;;;;;;;;;cAwBzB,iBAAiB;;;;;;;;;;;;;;;;;cA+BV,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cC1EjD,uCAAuC;;;;;;;;;;;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B;;;;;;;;;;;;;cAc3E,gCAA8B,OAAA,MAAA,OAAA;;;;;;;;KCR/B,qCAAqC,sBAAsB;;;;;;;;;;;;;cAc1D,uBAAqB,OAAA,MAAA,OAAA;;;;;;;;KCrBtB,uBAAuB,eAAe;;;;;;;;;;;;;cAcrC,gBAAc,OAAA,MAAA,OAAA;;;;;;;;KCdf,kCAAkC,wBAAwB;;;;;;;;;;cAWzD,yBAAuB,OAAA,MAAA,OAAA;;;;;;;;KCXxB,sCAAsC,8BAA8B;;;;;;;;;;;;;cAcnE,+BAA6B,OAAA,MAAA,OAAA;;;;;;;;KCd9B,wBAAwB,gBAAgB;;;;;;;;;;;;;cAcvC,iBAAe,OAAA,MAAA,OAAA;;;;;;;;KCdhB,8BAA8B,qBAAqB;;;;;;;;;;cAWlD,sBAAoB,OAAA,MAAA,OAAA;;;;;;;;KCXrB,8BAA8B,qBAAqB;;;;;;;;;;cAWlD,sBAAoB,OAAA,MAAA,OAAA;;;;;;;;KCXrB,yCAAyC,gCAAgC;;;;;;;;cASxE,iCAA+B,OAAA,MAAA,OAAA;;;;;;;;KCDhC,gCAAgC,uBAAuB;;;;;;;;;;;;;cActD,wBAAsB,OAAA,MAAA,OAAA;;;;;;;;;;;;;;iBCbnB,8BAA8B,cAAc,oBAAoB,iBAAgD,OAAA,SAAA,OAAA,0BAAA,OAAA,+DAAA,OAAA,eAAA,OAAA;;;;;;;;KCTpH,yBAAyB,gBAAgB;;;;;;;;;;;;;cAcxC,iBAAe,OAAA,MAAA,OAAA;;;KCjBhB,oBAAoB;;;;;cAMnB,mBAAiB,OAAA"}
|
|
1
|
+
{"version":3,"file":"index-CiW698HY.d.ts","names":[],"sources":["../src/schemas/utils/opaque.ts","../src/schemas/peppol-iso-date-string.ts","../src/schemas/fields/peppol-amount-schema.ts","../src/schemas/fields/peppol-allowance-charge-schema.ts","../src/schemas/fields/peppol-binary-object-schema.ts","../src/schemas/fields/peppol-additional-document-reference-schema.ts","../src/schemas/fields/peppol-billing-reference-schema.ts","../src/schemas/fields/peppol-address-schema.ts","../src/schemas/fields/peppol-delivery-schema.ts","../src/schemas/fields/peppol-invoice-period-schema.ts","../src/schemas/fields/peppol-legal-monetary-total-schema.ts","../src/schemas/fields/peppol-order-reference-schema.ts","../src/schemas/fields/peppol-contact-schema.ts","../src/schemas/fields/peppol-identifier-schema.ts","../src/schemas/fields/peppol-party-legal-entity-schema.ts","../src/schemas/fields/peppol-party-tax-scheme-schema.ts","../src/schemas/fields/peppol-party-base-schema.ts","../src/schemas/fields/peppol-payee-party-schema.ts","../src/schemas/fields/peppol-payment-means-schema.ts","../src/schemas/fields/peppol-payment-terms-schema.ts","../src/schemas/fields/peppol-tax-representative-schema.ts","../src/schemas/fields/peppol-tax-category-schema.ts","../src/schemas/fields/peppol-tax-subtotal-category-schema.ts","../src/schemas/fields/peppol-tax-subtotal-schema.ts","../src/schemas/fields/peppol-tax-totals-base-schema.ts","../src/schemas/peppol-billing-base-schema.ts","../src/schemas/fields/peppol-line-allowance-charge-schema.ts","../src/schemas/fields/peppol-invoice-line-period-schema.ts","../src/schemas/fields/peppol-item-classification-schema.ts","../src/schemas/fields/peppol-line-item-schema.ts","../src/schemas/fields/peppol-line-price-allowance-charge-schema.ts","../src/schemas/fields/peppol-quantity-schema.ts","../src/schemas/fields/peppol-line-price-schema.ts","../src/schemas/fields/peppol-base-line-schema.ts","../src/schemas/fields/peppol-invoice-line-schema.ts","../src/schemas/peppol-invoice-schema.ts","../src/schemas/fields/peppol-credit-note-line-schema.ts","../src/schemas/peppol-credit-note-schema.ts","../src/schemas/peppol-message-level-response-party-schema.ts","../src/schemas/peppol-document-response-document-reference-schema.ts","../src/schemas/peppol-document-response-document-schema.ts","../src/schemas/peppol-document-response-line-response-content-schema.ts","../src/schemas/peppol-document-response-line-response-schema.ts","../src/schemas/peppol-message-level-response-document-response-schema.ts","../src/schemas/utils/peppol-xsd-time-schema.ts","../src/schemas/peppol-message-level-response-schema.ts","../src/schemas/peppol-invoice-response-status-reason-code-schema.ts","../src/schemas/peppol-invoice-response-document-actual-response-status-schema.ts","../src/schemas/peppol-invoice-response-document-actual-response-schema.ts","../src/schemas/utils/peppol-base-64-schema.ts","../src/schemas/utils/format-quantity-with-unit.ts","../src/schemas/values/credit-note-type-code-schema.ts","../src/schemas/utils/get-credit-note-type-code-description.ts","../src/schemas/values/invoice-type-code-schema.ts","../src/schemas/utils/get-invoice-type-code-description.ts","../src/schemas/utils/is-valid-credit-note-type-code.ts","../src/schemas/utils/is-valid-invoice-type-code.ts","../src/schemas/values/peppol-process-schema.ts","../src/schemas/utils/is-valid-process.ts","../src/schemas/values/quantity-unit-codes-schema.ts","../src/schemas/utils/quantity-unit-code-to-intl-unit.ts","../src/schemas/utils/peppol-vat-regex-schema.ts","../src/schemas/peppol-invoice-response-schema.ts","../src/schemas/peppol-document-schema.ts","../src/schemas/fields/default-customization-id.ts","../src/schemas/fields/default-profile-id.ts","../src/schemas/fields/peppol-reference-schema.ts","../src/schemas/values/additional-document-reference-code-schema.ts","../src/schemas/values/allowance-charge-reason-code-schema.ts","../src/schemas/values/application-response-type-code-schema.ts","../src/schemas/values/charge-reason-code-schema.ts","../src/schemas/values/peppol-country-code-schema.ts","../src/schemas/values/currency-code-schema.ts","../src/schemas/values/peppol-document-type-code-schema.ts","../src/schemas/values/peppol-document-type-schema.ts","../src/schemas/values/document-type-schemes-schema.ts","../src/schemas/values/document-type-values-schema.ts","../src/schemas/values/duty-tax-fee-category-schema.ts","../src/schemas/values/electronic-codes-schema.ts","../src/schemas/values/icd-codes-schema.ts","../src/schemas/values/invoice-status-code-schema.ts","../src/schemas/values/item-classification-codes-schema.ts","../src/schemas/values/mime-codes-schema.ts","../src/schemas/values/op-status-action-schema.ts","../src/schemas/values/op-status-reason-schema.ts","../src/schemas/values/participant-identifier-code-schema.ts","../src/schemas/values/payment-means-code-schema.ts","../src/schemas/values/process-from-document-type-schema.ts","../src/schemas/values/vatex-code-schema.ts","../src/schemas/values/vat-date-code-schema.ts"],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,OAAA;;;;;;;;KCXrB,8BAA8B,qBAAqB;;;;;;;;;;cAWlD,sBAAoB,OAAA,MAAA,OAAA;;;;;;;;KCXrB,yCAAyC,gCAAgC;;;;;;;;cASxE,iCAA+B,OAAA,MAAA,OAAA;;;;;;;;KCDhC,gCAAgC,uBAAuB;;;;;;;;;;;;;cActD,wBAAsB,OAAA,MAAA,OAAA;;;;;;;;;;;;;;iBCbnB,8BAA8B,cAAc,oBAAoB,iBAAgD,OAAA,SAAA,OAAA,0BAAA,OAAA,+DAAA,OAAA,eAAA,OAAA;;;;;;;;KCTpH,yBAAyB,gBAAgB;;;;;;;;;;;;;cAcxC,iBAAe,OAAA,MAAA,OAAA;;;KCjBhB,oBAAoB;;;;;cAMnB,mBAAiB,OAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as PeppolDocumentEncoded, $n as
|
|
2
|
-
export { Base64, BaseAllowanceCharge, BaseIntlUnit, BaseLineAllowanceCharge, DEFAULT_CUSTOMIZATION_ID, DEFAULT_PROFILE_ID, IntlUnit, InvoiceResponseDocumentActualResponse, InvoiceResponseDocumentActualResponseStatus, PeppolAdditionalDocumentReference, PeppolAdditionalDocumentReferenceCode, PeppolAddress, PeppolAllDocuments, PeppolAllowance, PeppolAllowanceCharge, PeppolAllowanceChargeEncoded, PeppolAllowanceChargeReasonCode, PeppolAmount, PeppolAmountEncoded, PeppolApplicationResponseTypeCode, PeppolBaseLine, PeppolBillingBase, PeppolBillingReference, PeppolBinaryObject, PeppolCharge, PeppolChargeReasonCode, PeppolContact, PeppolContractDocumentReference, PeppolCountryCode, PeppolCreditNote, PeppolCreditNoteLine, PeppolCreditNoteLineEncoded, PeppolCreditNoteTypeCode, PeppolCurrencyCode, PeppolCurrencyCodeEncoded, PeppolDelivery, PeppolDespatchDocumentReference, PeppolDocument, PeppolDocumentDecoded, PeppolDocumentEncoded, PeppolDocumentLine, PeppolDocumentResponseDocument, PeppolDocumentResponseDocumentReference, PeppolDocumentResponseLineResponse, PeppolDocumentResponseLineResponseContent, PeppolDocumentType, PeppolDocumentTypeCode, PeppolDutyTaxFeeCategoryCode, PeppolDutyTaxFeeCategoryCodeEncoded, PeppolElectronicAddressCode, PeppolIcdCode, PeppolIdentifier, PeppolInvoice, PeppolInvoiceDocumentResponseParty, PeppolInvoiceLine, PeppolInvoiceLineEncoded, PeppolInvoiceLinePeriod, PeppolInvoicePeriod, PeppolInvoiceResponse, PeppolInvoiceResponseCondition, PeppolInvoiceResponseDocumentActualResponseStatus, PeppolInvoiceResponseDocumentActualResponseWithStatus, PeppolInvoiceResponseDocumentActualResponseWithoutStatus, PeppolInvoiceResponseDocumentReference, PeppolInvoiceResponseDocumentResponse, PeppolInvoiceResponseDocumentResponseParty, PeppolInvoiceResponseDocumentResponsePartyName, PeppolInvoiceResponseParty, PeppolInvoiceResponseSenderParty, PeppolInvoiceResponseStatusReasonCode, PeppolInvoiceResponseStatusReasonCodeAction, PeppolInvoiceResponseStatusReasonCodeReason, PeppolInvoiceStatusCodes, PeppolInvoiceTypeCode, PeppolIsoDateString, PeppolItem, PeppolItemClassification, PeppolItemClassificationCode, PeppolLegalMonetaryTotal, PeppolLineAllowance, PeppolLineAllowanceCharge, PeppolLineAllowanceChargeEncoded, PeppolLineCharge, PeppolLineItem, PeppolLinePrice, PeppolLinePriceAllowanceCharge, PeppolMessage, PeppolMessageLevelDocumentResponseDocumentReference, PeppolMessageLevelDocumentResponseLineResponse, PeppolMessageLevelResponse, PeppolMessageLevelResponseDocumentResponse, PeppolMessageLevelResponseDocumentResponseDocument, PeppolMessageLevelResponseParty, PeppolMimeCode, PeppolOpStatusAction, PeppolOpStatusReason, PeppolOrderLineReference, PeppolOrderReference, PeppolOriginatorDocumentReference, PeppolParticipantIdentifierCode, PeppolPartyEndpointId, PeppolPartyIdentification, PeppolPartyLegalEntity, PeppolPartyLegalEntitySchema, PeppolPartyName, PeppolPartySchema, PeppolPartyTaxSchema, PeppolPartyTaxScheme, PeppolPayeeParty, PeppolPaymentMeans, PeppolPaymentMeansCode, PeppolPaymentTerms, PeppolProcesses, PeppolQuantity, PeppolQuantityUnitCode, PeppolReceiptDocumentReference, PeppolReferenceSchema, PeppolTaxCategory, PeppolTaxCategoryTaxSchemeId, PeppolTaxRepresentative, PeppolTaxRepresentativeParty, PeppolTaxSchemeId, PeppolTaxSubTotal, PeppolTaxSubTotalCategory, PeppolTaxSubTotalCategoryEncoded, PeppolTaxTotal, PeppolTaxTotalsBase, PeppolVatDateCode, PeppolVatexCode, PeppolXsdTime, PriceAllowanceCharge, TimeIntlUnit,
|
|
1
|
+
import { $ as PeppolDocumentEncoded, $n as PeppolPartyLegalEntitySchema, $t as PeppolDocumentResponseLineResponse, A as peppolDocumentTypeSchema, An as PeppolContractDocumentReference, At as invoiceTypeCodeSchema, B as PeppolApplicationResponseTypeCode, Bn as PeppolTaxSchemeId, Bt as peppolInvoiceResponseDocumentActualResponseSchema, C as electronicCodesSchema, Cn as BaseLineAllowanceCharge, Ct as isValidProcess, D as documentTypeValuesSchema, Dn as PeppolLineCharge, Dt as isValidCreditNoteTypeCode, E as peppolDutyTaxFeeCategorySchema, En as PeppolLineAllowanceChargeEncoded, Et as isValidInvoiceTypeCode, F as currencyCodeSchema, Fn as PeppolTaxTotalsBase, Ft as Base64, G as additionalDocumentReferenceCodeSchema, Gn as PeppolPayeeParty, Gt as PeppolInvoiceResponseDocumentActualResponseStatus, H as PeppolAllowanceChargeReasonCode, Hn as PeppolTaxRepresentativeParty, Ht as withoutStatusCodes, I as PeppolCountryCode, In as PeppolTaxSubTotal, It as peppolBase64Schema, J as DEFAULT_PROFILE_ID, Jn as PeppolPartyName, Jt as PeppolInvoiceResponseStatusReasonCodeReason, K as PeppolReferenceSchema, Kn as PeppolPartyEndpointId, Kt as PeppolInvoiceResponseStatusReasonCode, L as peppolCountryCodeSchema, Ln as PeppolTaxSubTotalCategory, Lt as InvoiceResponseDocumentActualResponse, M as peppolDocumentTypeCodeSchema, Mn as PeppolOriginatorDocumentReference, Mt as PeppolCreditNoteTypeCode, N as PeppolCurrencyCode, Nn as PeppolReceiptDocumentReference, Nt as creditNoteTypeCodeSchema, O as documentTypeSchemesSchema, On as peppolLineAllowanceChargeSchema, Ot as getInvoiceTypeCodeDescription, P as PeppolCurrencyCodeEncoded, Pn as PeppolTaxTotal, Pt as formatQuantityWithUnit, Q as PeppolDocumentDecoded, Qn as PeppolPartyLegalEntity, Qt as PeppolMessageLevelResponseDocumentResponse, R as PeppolChargeReasonCode, Rn as PeppolTaxSubTotalCategoryEncoded, Rt as PeppolInvoiceResponseDocumentActualResponseWithStatus, S as PeppolElectronicAddressCode, Sn as PeppolInvoiceLinePeriod, St as quantityUnitCodesSchema, T as PeppolDutyTaxFeeCategoryCodeEncoded, Tn as PeppolLineAllowanceCharge, Tt as peppolProcessSchema, U as allowanceChargeReasonCodeSchema, Un as PeppolPaymentTerms, Ut as InvoiceResponseDocumentActualResponseStatus, V as applicationResponseTypeCodeSchema, Vn as PeppolTaxRepresentative, Vt as withStatusCodes, W as PeppolAdditionalDocumentReferenceCode, Wn as PeppolPaymentMeans, Wt as PeppolInvoiceResponseCondition, X as PeppolAllDocuments, Xn as PeppolPartyTaxSchema, Xt as PeppolMessageLevelResponse, Y as DEFAULT_CUSTOMIZATION_ID, Yn as PeppolPartySchema, Yt as peppolInvoiceResponseStatusReasonCodeSchema, Z as PeppolDocument, Zn as PeppolPartyTaxScheme, Zt as PeppolXsdTime, _ as itemClassificationCodesSchema, _n as PeppolLinePriceAllowanceCharge, _r as PeppolAmount, _t as IntlUnit, a as processFromDocumentTypeSchema, an as PeppolMessageLevelDocumentResponseDocumentReference, ar as PeppolDelivery, at as isPeppolMessageLevelResponse, b as PeppolIcdCode, bn as PeppolLineItem, bt as quantityUnitCodeToIntlUnit, c as PeppolParticipantIdentifierCode, cn as PeppolCreditNoteLine, cr as PeppolAdditionalDocumentReference, ct as PeppolInvoiceResponse, d as opStatusReasonSchema, dn as PeppolInvoiceLine, dr as PeppolAllowance, dt as PeppolInvoiceResponseDocumentResponseParty, en as PeppolMessageLevelDocumentResponseLineResponse, er as PeppolIdentifier, et as PeppolDocumentLine, f as PeppolOpStatusAction, fn as PeppolInvoiceLineEncoded, fr as PeppolAllowanceCharge, ft as PeppolInvoiceResponseDocumentResponsePartyName, g as PeppolItemClassificationCode, gn as PeppolQuantity, gr as peppolAllowanceChargeSchema, gt as BaseIntlUnit, h as mimeCodesSchema, hn as PeppolLinePrice, hr as PeppolTaxCategoryTaxSchemeId, ht as peppolVatRegexSchema, i as vatexCodeSchema, in as PeppolDocumentResponseDocumentReference, ir as PeppolInvoicePeriod, it as isPeppolInvoiceResponse, j as PeppolDocumentTypeCode, jn as PeppolDespatchDocumentReference, jt as getCreditNoteTypeCodeDescription, k as PeppolDocumentType, kn as PeppolBillingBase, kt as PeppolInvoiceTypeCode, l as participantIdentifierCodeSchema, ln as PeppolCreditNoteLineEncoded, lr as PeppolBinaryObject, lt as PeppolInvoiceResponseDocumentReference, m as PeppolMimeCode, mn as PeppolOrderLineReference, mr as PeppolCharge, mt as PeppolInvoiceResponseSenderParty, n as vatDateCodeSchema, nn as PeppolDocumentResponseDocument, nr as PeppolOrderReference, nt as isPeppolCreditNote, o as PeppolPaymentMeansCode, on as PeppolMessageLevelResponseParty, or as PeppolAddress, ot as peppolDocumentSchema, p as opStatusActionSchema, pn as PeppolBaseLine, pr as PeppolAllowanceChargeEncoded, pt as PeppolInvoiceResponseParty, q as peppolReferenceSchema, qn as PeppolPartyIdentification, qt as PeppolInvoiceResponseStatusReasonCodeAction, r as PeppolVatexCode, rn as PeppolMessageLevelResponseDocumentResponseDocument, rr as PeppolLegalMonetaryTotal, rt as isPeppolInvoice, s as paymentMeansCodeSchema, sn as PeppolCreditNote, sr as PeppolBillingReference, st as PeppolInvoiceDocumentResponseParty, t as PeppolVatDateCode, tn as PeppolDocumentResponseLineResponseContent, tr as PeppolContact, tt as PeppolMessage, u as PeppolOpStatusReason, un as PeppolInvoice, ur as BaseAllowanceCharge, ut as PeppolInvoiceResponseDocumentResponse, v as PeppolInvoiceStatusCodes, vn as PriceAllowanceCharge, vr as PeppolAmountEncoded, vt as TimeIntlUnit, w as PeppolDutyTaxFeeCategoryCode, wn as PeppolLineAllowance, wt as PeppolProcesses, x as icdCodesSchema, xn as PeppolItemClassification, xt as PeppolQuantityUnitCode, y as invoiceStatusCodeSchema, yn as PeppolItem, yr as PeppolIsoDateString, yt as quantityToIntlUnitMap, z as chargeReasonCodeSchema, zn as PeppolTaxCategory, zt as PeppolInvoiceResponseDocumentActualResponseWithoutStatus } from "./index-CiW698HY.js";
|
|
2
|
+
export { Base64, BaseAllowanceCharge, BaseIntlUnit, BaseLineAllowanceCharge, DEFAULT_CUSTOMIZATION_ID, DEFAULT_PROFILE_ID, IntlUnit, InvoiceResponseDocumentActualResponse, InvoiceResponseDocumentActualResponseStatus, PeppolAdditionalDocumentReference, PeppolAdditionalDocumentReferenceCode, PeppolAddress, PeppolAllDocuments, PeppolAllowance, PeppolAllowanceCharge, PeppolAllowanceChargeEncoded, PeppolAllowanceChargeReasonCode, PeppolAmount, PeppolAmountEncoded, PeppolApplicationResponseTypeCode, PeppolBaseLine, PeppolBillingBase, PeppolBillingReference, PeppolBinaryObject, PeppolCharge, PeppolChargeReasonCode, PeppolContact, PeppolContractDocumentReference, PeppolCountryCode, PeppolCreditNote, PeppolCreditNoteLine, PeppolCreditNoteLineEncoded, PeppolCreditNoteTypeCode, PeppolCurrencyCode, PeppolCurrencyCodeEncoded, PeppolDelivery, PeppolDespatchDocumentReference, PeppolDocument, PeppolDocumentDecoded, PeppolDocumentEncoded, PeppolDocumentLine, PeppolDocumentResponseDocument, PeppolDocumentResponseDocumentReference, PeppolDocumentResponseLineResponse, PeppolDocumentResponseLineResponseContent, PeppolDocumentType, PeppolDocumentTypeCode, PeppolDutyTaxFeeCategoryCode, PeppolDutyTaxFeeCategoryCodeEncoded, PeppolElectronicAddressCode, PeppolIcdCode, PeppolIdentifier, PeppolInvoice, PeppolInvoiceDocumentResponseParty, PeppolInvoiceLine, PeppolInvoiceLineEncoded, PeppolInvoiceLinePeriod, PeppolInvoicePeriod, PeppolInvoiceResponse, PeppolInvoiceResponseCondition, PeppolInvoiceResponseDocumentActualResponseStatus, PeppolInvoiceResponseDocumentActualResponseWithStatus, PeppolInvoiceResponseDocumentActualResponseWithoutStatus, PeppolInvoiceResponseDocumentReference, PeppolInvoiceResponseDocumentResponse, PeppolInvoiceResponseDocumentResponseParty, PeppolInvoiceResponseDocumentResponsePartyName, PeppolInvoiceResponseParty, PeppolInvoiceResponseSenderParty, PeppolInvoiceResponseStatusReasonCode, PeppolInvoiceResponseStatusReasonCodeAction, PeppolInvoiceResponseStatusReasonCodeReason, PeppolInvoiceStatusCodes, PeppolInvoiceTypeCode, PeppolIsoDateString, PeppolItem, PeppolItemClassification, PeppolItemClassificationCode, PeppolLegalMonetaryTotal, PeppolLineAllowance, PeppolLineAllowanceCharge, PeppolLineAllowanceChargeEncoded, PeppolLineCharge, PeppolLineItem, PeppolLinePrice, PeppolLinePriceAllowanceCharge, PeppolMessage, PeppolMessageLevelDocumentResponseDocumentReference, PeppolMessageLevelDocumentResponseLineResponse, PeppolMessageLevelResponse, PeppolMessageLevelResponseDocumentResponse, PeppolMessageLevelResponseDocumentResponseDocument, PeppolMessageLevelResponseParty, PeppolMimeCode, PeppolOpStatusAction, PeppolOpStatusReason, PeppolOrderLineReference, PeppolOrderReference, PeppolOriginatorDocumentReference, PeppolParticipantIdentifierCode, PeppolPartyEndpointId, PeppolPartyIdentification, PeppolPartyLegalEntity, PeppolPartyLegalEntitySchema, PeppolPartyName, PeppolPartySchema, PeppolPartyTaxSchema, PeppolPartyTaxScheme, PeppolPayeeParty, PeppolPaymentMeans, PeppolPaymentMeansCode, PeppolPaymentTerms, PeppolProcesses, PeppolQuantity, PeppolQuantityUnitCode, PeppolReceiptDocumentReference, PeppolReferenceSchema, PeppolTaxCategory, PeppolTaxCategoryTaxSchemeId, PeppolTaxRepresentative, PeppolTaxRepresentativeParty, PeppolTaxSchemeId, PeppolTaxSubTotal, PeppolTaxSubTotalCategory, PeppolTaxSubTotalCategoryEncoded, PeppolTaxTotal, PeppolTaxTotalsBase, PeppolVatDateCode, PeppolVatexCode, PeppolXsdTime, PriceAllowanceCharge, TimeIntlUnit, additionalDocumentReferenceCodeSchema, allowanceChargeReasonCodeSchema, applicationResponseTypeCodeSchema, chargeReasonCodeSchema, creditNoteTypeCodeSchema, currencyCodeSchema, documentTypeSchemesSchema, documentTypeValuesSchema, electronicCodesSchema, formatQuantityWithUnit, getCreditNoteTypeCodeDescription, getInvoiceTypeCodeDescription, icdCodesSchema, invoiceStatusCodeSchema, invoiceTypeCodeSchema, isPeppolCreditNote, isPeppolInvoice, isPeppolInvoiceResponse, isPeppolMessageLevelResponse, isValidCreditNoteTypeCode, isValidInvoiceTypeCode, isValidProcess, itemClassificationCodesSchema, mimeCodesSchema, opStatusActionSchema, opStatusReasonSchema, participantIdentifierCodeSchema, paymentMeansCodeSchema, peppolAllowanceChargeSchema, peppolBase64Schema, peppolCountryCodeSchema, peppolDocumentSchema, peppolDocumentTypeCodeSchema, peppolDocumentTypeSchema, peppolDutyTaxFeeCategorySchema, peppolInvoiceResponseDocumentActualResponseSchema, peppolInvoiceResponseStatusReasonCodeSchema, peppolLineAllowanceChargeSchema, peppolProcessSchema, peppolReferenceSchema, peppolVatRegexSchema, processFromDocumentTypeSchema, quantityToIntlUnitMap, quantityUnitCodeToIntlUnit, quantityUnitCodesSchema, vatDateCodeSchema, vatexCodeSchema, withStatusCodes, withoutStatusCodes };
|
package/dist/index.js
CHANGED
|
@@ -3769,29 +3769,6 @@ const decodeCreditNote = Effect.fn("decode-credit-note")(function* (value) {
|
|
|
3769
3769
|
};
|
|
3770
3770
|
});
|
|
3771
3771
|
//#endregion
|
|
3772
|
-
//#region src/decoders/fields/decode-invoice-lines.ts
|
|
3773
|
-
const decodeInvoiceLines = Effect.fn("decode-invoice-lines")(function* (doc, ...path) {
|
|
3774
|
-
return yield* decodeNodeList(doc, Effect.fn(function* (lineNode) {
|
|
3775
|
-
return {
|
|
3776
|
-
...yield* decodeLineShared(lineNode),
|
|
3777
|
-
invoicedQuantity: yield* decodeQuantity(lineNode, "cbc:InvoicedQuantity")
|
|
3778
|
-
};
|
|
3779
|
-
}), ...path);
|
|
3780
|
-
});
|
|
3781
|
-
//#endregion
|
|
3782
|
-
//#region src/decoders/decode-invoice.ts
|
|
3783
|
-
const decodeInvoice = Effect.fn("decode-invoice")(function* (value) {
|
|
3784
|
-
const root = value || {};
|
|
3785
|
-
const doc = (yield* getProp(root, "ubl:Invoice")) ?? root;
|
|
3786
|
-
return {
|
|
3787
|
-
...yield* decodeBilling(doc),
|
|
3788
|
-
dueDate: yield* strOrUnd(doc, "cbc:DueDate"),
|
|
3789
|
-
invoiceLines: yield* decodeInvoiceLines(doc, "cac:InvoiceLine"),
|
|
3790
|
-
invoiceTypeCode: yield* strOrUnd(doc, "cbc:InvoiceTypeCode"),
|
|
3791
|
-
projectReference: yield* decodeSimpleIdentifer(doc, "cac:ProjectReference")
|
|
3792
|
-
};
|
|
3793
|
-
});
|
|
3794
|
-
//#endregion
|
|
3795
3772
|
//#region src/decoders/fields/decode-application-response.ts
|
|
3796
3773
|
const decodeApplicationResponseBase = Effect.fn(function* (value) {
|
|
3797
3774
|
const doc = yield* getProp(value || {}, "ubl:ApplicationResponse");
|
|
@@ -3904,6 +3881,29 @@ const decodeInvoiceResponse = Effect.fn(function* (value) {
|
|
|
3904
3881
|
};
|
|
3905
3882
|
});
|
|
3906
3883
|
//#endregion
|
|
3884
|
+
//#region src/decoders/fields/decode-invoice-lines.ts
|
|
3885
|
+
const decodeInvoiceLines = Effect.fn("decode-invoice-lines")(function* (doc, ...path) {
|
|
3886
|
+
return yield* decodeNodeList(doc, Effect.fn(function* (lineNode) {
|
|
3887
|
+
return {
|
|
3888
|
+
...yield* decodeLineShared(lineNode),
|
|
3889
|
+
invoicedQuantity: yield* decodeQuantity(lineNode, "cbc:InvoicedQuantity")
|
|
3890
|
+
};
|
|
3891
|
+
}), ...path);
|
|
3892
|
+
});
|
|
3893
|
+
//#endregion
|
|
3894
|
+
//#region src/decoders/decode-invoice.ts
|
|
3895
|
+
const decodeInvoice = Effect.fn("decode-invoice")(function* (value) {
|
|
3896
|
+
const root = value || {};
|
|
3897
|
+
const doc = (yield* getProp(root, "ubl:Invoice")) ?? root;
|
|
3898
|
+
return {
|
|
3899
|
+
...yield* decodeBilling(doc),
|
|
3900
|
+
dueDate: yield* strOrUnd(doc, "cbc:DueDate"),
|
|
3901
|
+
invoiceLines: yield* decodeInvoiceLines(doc, "cac:InvoiceLine"),
|
|
3902
|
+
invoiceTypeCode: yield* strOrUnd(doc, "cbc:InvoiceTypeCode"),
|
|
3903
|
+
projectReference: yield* decodeSimpleIdentifer(doc, "cac:ProjectReference")
|
|
3904
|
+
};
|
|
3905
|
+
});
|
|
3906
|
+
//#endregion
|
|
3907
3907
|
//#region src/decoders/fields/decode-message-level-party.ts
|
|
3908
3908
|
const decodeMessageLevelParty = Effect.fn(function* (party, ...path) {
|
|
3909
3909
|
const val = yield* getProp(party, ...path);
|
|
@@ -4422,69 +4422,16 @@ const encodeCreditNote = Effect.fn(function* (creditNote) {
|
|
|
4422
4422
|
};
|
|
4423
4423
|
});
|
|
4424
4424
|
//#endregion
|
|
4425
|
-
//#region src/decoders/fields/encode-invoice-lines.ts
|
|
4426
|
-
const encodeInvoiceLines = Effect.fn(function* (invoiceLines) {
|
|
4427
|
-
if (invoiceLines.length === 0) return void 0;
|
|
4428
|
-
return yield* Effect.forEach(invoiceLines, encodeLineShared);
|
|
4429
|
-
});
|
|
4430
|
-
//#endregion
|
|
4431
|
-
//#region src/decoders/encode-invoice.ts
|
|
4432
|
-
const encodeInvoice = Effect.fn(function* (invoice) {
|
|
4433
|
-
return {
|
|
4434
|
-
"?xml": {
|
|
4435
|
-
"@version": "1.0",
|
|
4436
|
-
"@encoding": "UTF-8"
|
|
4437
|
-
},
|
|
4438
|
-
Invoice: {
|
|
4439
|
-
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
|
|
4440
|
-
"@xmlns:cac": "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2",
|
|
4441
|
-
"@xmlns:cbc": "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2",
|
|
4442
|
-
"@xmlns": "urn:oasis:names:specification:ubl:schema:xsd:Invoice-2",
|
|
4443
|
-
"cbc:CustomizationID": invoice.customizationId,
|
|
4444
|
-
"cbc:ProfileID": invoice.profileId,
|
|
4445
|
-
"cbc:ID": invoice.id,
|
|
4446
|
-
"cbc:IssueDate": invoice.issueDate,
|
|
4447
|
-
"cbc:DueDate": invoice.dueDate,
|
|
4448
|
-
"cbc:InvoiceTypeCode": invoice.invoiceTypeCode,
|
|
4449
|
-
"cbc:Note": invoice.note,
|
|
4450
|
-
"cbc:TaxPointDate": invoice.taxPointDate,
|
|
4451
|
-
"cbc:DocumentCurrencyCode": invoice.documentCurrencyCode,
|
|
4452
|
-
"cbc:TaxCurrencyCode": invoice.taxCurrencyCode,
|
|
4453
|
-
"cbc:AccountingCost": invoice.accountingCost,
|
|
4454
|
-
"cbc:BuyerReference": invoice.buyerReference,
|
|
4455
|
-
"cac:InvoicePeriod": yield* encodeInvoicePeriod(invoice.invoicePeriod),
|
|
4456
|
-
"cac:OrderReference": yield* encodeOrderReference(invoice.orderReference),
|
|
4457
|
-
"cac:BillingReference": yield* encodeBillingReferences(invoice.billingReferences),
|
|
4458
|
-
"cac:DespatchDocumentReference": yield* encodeSimpleIdentifier(invoice.despatchDocumentReference),
|
|
4459
|
-
"cac:ReceiptDocumentReference": yield* encodeSimpleIdentifier(invoice.receiptDocumentReference),
|
|
4460
|
-
"cac:OriginatorDocumentReference": yield* encodeSimpleIdentifier(invoice.originatorDocumentReference),
|
|
4461
|
-
"cac:ContractDocumentReference": yield* encodeSimpleIdentifier(invoice.contractDocumentReference),
|
|
4462
|
-
"cac:AdditionalDocumentReference": yield* encodeAdditionalDocumentReferences(invoice.additionalDocumentReferences),
|
|
4463
|
-
"cac:ProjectReference": yield* encodeSimpleIdentifier(invoice.projectReference),
|
|
4464
|
-
"cac:AccountingSupplierParty": yield* encodeParty(invoice.accountingSupplierParty),
|
|
4465
|
-
"cac:AccountingCustomerParty": yield* encodeParty(invoice.accountingCustomerParty),
|
|
4466
|
-
"cac:PayeeParty": yield* encodePayeeParty(invoice.payeeParty),
|
|
4467
|
-
"cac:TaxRepresentativeParty": yield* encodeTaxRepresentativeParty(invoice.taxRepresentativeParty),
|
|
4468
|
-
"cac:Delivery": yield* encodeDelivery(invoice.delivery),
|
|
4469
|
-
"cac:PaymentMeans": yield* encodePaymentMeans(invoice.paymentMeans),
|
|
4470
|
-
"cac:PaymentTerms": yield* encodePaymentTerms(invoice.paymentTerms),
|
|
4471
|
-
"cac:AllowanceCharge": yield* encodeAllowanceCharges(invoice.allowanceCharges),
|
|
4472
|
-
"cac:TaxTotal": yield* encodeTaxTotals(invoice.taxTotals),
|
|
4473
|
-
"cac:LegalMonetaryTotal": yield* encodeLegalMonetaryTotal(invoice.legalMonetaryTotal),
|
|
4474
|
-
"cac:InvoiceLine": yield* encodeInvoiceLines(invoice.invoiceLines)
|
|
4475
|
-
}
|
|
4476
|
-
};
|
|
4477
|
-
});
|
|
4478
|
-
//#endregion
|
|
4479
4425
|
//#region src/decoders/fields/encode-message-party.ts
|
|
4480
4426
|
const encodeMessageParty = Effect.fn(function* (party) {
|
|
4481
4427
|
if (Predicate.isNullish(party)) return void 0;
|
|
4428
|
+
const fields = party;
|
|
4482
4429
|
return {
|
|
4483
|
-
"cbc:EndpointID":
|
|
4484
|
-
"cac:PartyIdentification":
|
|
4485
|
-
"cac:PartyName":
|
|
4486
|
-
"cac:PartyLegalEntity":
|
|
4487
|
-
"cac:Contact":
|
|
4430
|
+
"cbc:EndpointID": yield* encodeIdentifier(fields.endpointId),
|
|
4431
|
+
"cac:PartyIdentification": fields.partyIdentification ? { "cbc:ID": yield* encodeIdentifier(fields.partyIdentification) } : void 0,
|
|
4432
|
+
"cac:PartyName": fields.partyName ? { "cbc:Name": fields.partyName.name } : void 0,
|
|
4433
|
+
"cac:PartyLegalEntity": fields.partyLegalEntity ? yield* encodePartyLegalEntity$1(fields.partyLegalEntity) : void 0,
|
|
4434
|
+
"cac:Contact": yield* encodeContact(fields.contact)
|
|
4488
4435
|
};
|
|
4489
4436
|
});
|
|
4490
4437
|
//#endregion
|
|
@@ -4545,6 +4492,60 @@ const encodeDocumentReference = Effect.fn(function* (documentReference) {
|
|
|
4545
4492
|
};
|
|
4546
4493
|
});
|
|
4547
4494
|
//#endregion
|
|
4495
|
+
//#region src/decoders/fields/encode-invoice-lines.ts
|
|
4496
|
+
const encodeInvoiceLines = Effect.fn(function* (invoiceLines) {
|
|
4497
|
+
if (invoiceLines.length === 0) return void 0;
|
|
4498
|
+
return yield* Effect.forEach(invoiceLines, encodeLineShared);
|
|
4499
|
+
});
|
|
4500
|
+
//#endregion
|
|
4501
|
+
//#region src/decoders/encode-invoice.ts
|
|
4502
|
+
const encodeInvoice = Effect.fn(function* (invoice) {
|
|
4503
|
+
return {
|
|
4504
|
+
"?xml": {
|
|
4505
|
+
"@version": "1.0",
|
|
4506
|
+
"@encoding": "UTF-8"
|
|
4507
|
+
},
|
|
4508
|
+
Invoice: {
|
|
4509
|
+
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
|
|
4510
|
+
"@xmlns:cac": "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2",
|
|
4511
|
+
"@xmlns:cbc": "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2",
|
|
4512
|
+
"@xmlns": "urn:oasis:names:specification:ubl:schema:xsd:Invoice-2",
|
|
4513
|
+
"cbc:CustomizationID": invoice.customizationId,
|
|
4514
|
+
"cbc:ProfileID": invoice.profileId,
|
|
4515
|
+
"cbc:ID": invoice.id,
|
|
4516
|
+
"cbc:IssueDate": invoice.issueDate,
|
|
4517
|
+
"cbc:DueDate": invoice.dueDate,
|
|
4518
|
+
"cbc:InvoiceTypeCode": invoice.invoiceTypeCode,
|
|
4519
|
+
"cbc:Note": invoice.note,
|
|
4520
|
+
"cbc:TaxPointDate": invoice.taxPointDate,
|
|
4521
|
+
"cbc:DocumentCurrencyCode": invoice.documentCurrencyCode,
|
|
4522
|
+
"cbc:TaxCurrencyCode": invoice.taxCurrencyCode,
|
|
4523
|
+
"cbc:AccountingCost": invoice.accountingCost,
|
|
4524
|
+
"cbc:BuyerReference": invoice.buyerReference,
|
|
4525
|
+
"cac:InvoicePeriod": yield* encodeInvoicePeriod(invoice.invoicePeriod),
|
|
4526
|
+
"cac:OrderReference": yield* encodeOrderReference(invoice.orderReference),
|
|
4527
|
+
"cac:BillingReference": yield* encodeBillingReferences(invoice.billingReferences),
|
|
4528
|
+
"cac:DespatchDocumentReference": yield* encodeSimpleIdentifier(invoice.despatchDocumentReference),
|
|
4529
|
+
"cac:ReceiptDocumentReference": yield* encodeSimpleIdentifier(invoice.receiptDocumentReference),
|
|
4530
|
+
"cac:OriginatorDocumentReference": yield* encodeSimpleIdentifier(invoice.originatorDocumentReference),
|
|
4531
|
+
"cac:ContractDocumentReference": yield* encodeSimpleIdentifier(invoice.contractDocumentReference),
|
|
4532
|
+
"cac:AdditionalDocumentReference": yield* encodeAdditionalDocumentReferences(invoice.additionalDocumentReferences),
|
|
4533
|
+
"cac:ProjectReference": yield* encodeSimpleIdentifier(invoice.projectReference),
|
|
4534
|
+
"cac:AccountingSupplierParty": yield* encodeParty(invoice.accountingSupplierParty),
|
|
4535
|
+
"cac:AccountingCustomerParty": yield* encodeParty(invoice.accountingCustomerParty),
|
|
4536
|
+
"cac:PayeeParty": yield* encodePayeeParty(invoice.payeeParty),
|
|
4537
|
+
"cac:TaxRepresentativeParty": yield* encodeTaxRepresentativeParty(invoice.taxRepresentativeParty),
|
|
4538
|
+
"cac:Delivery": yield* encodeDelivery(invoice.delivery),
|
|
4539
|
+
"cac:PaymentMeans": yield* encodePaymentMeans(invoice.paymentMeans),
|
|
4540
|
+
"cac:PaymentTerms": yield* encodePaymentTerms(invoice.paymentTerms),
|
|
4541
|
+
"cac:AllowanceCharge": yield* encodeAllowanceCharges(invoice.allowanceCharges),
|
|
4542
|
+
"cac:TaxTotal": yield* encodeTaxTotals(invoice.taxTotals),
|
|
4543
|
+
"cac:LegalMonetaryTotal": yield* encodeLegalMonetaryTotal(invoice.legalMonetaryTotal),
|
|
4544
|
+
"cac:InvoiceLine": yield* encodeInvoiceLines(invoice.invoiceLines)
|
|
4545
|
+
}
|
|
4546
|
+
};
|
|
4547
|
+
});
|
|
4548
|
+
//#endregion
|
|
4548
4549
|
//#region src/decoders/encode-message-level-response.ts
|
|
4549
4550
|
const encodeMessageLevelResponse = Effect.fn(function* (messageResponse) {
|
|
4550
4551
|
return {
|