@endevops/peppol-schema 0.1.0-beta.4 → 0.1.0-beta.6
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/README.md +9 -6
- package/dist/constants.d.ts +51 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +48 -0
- package/dist/constants.js.map +1 -0
- package/dist/eas-codes.generated-D8jjHFij.js.map +1 -1
- package/dist/index-CiW698HY.d.ts +3507 -0
- package/dist/index-CiW698HY.d.ts.map +1 -0
- package/dist/index.d.ts +2 -2613
- package/dist/index.js +3122 -1563
- package/dist/index.js.map +1 -1
- package/dist/invoice-response-code-not-needs-schema-p_RKKNLc.js +18 -0
- package/dist/invoice-response-code-not-needs-schema-p_RKKNLc.js.map +1 -0
- package/dist/invoice-response-codes.d.ts +11 -0
- package/dist/invoice-response-codes.d.ts.map +1 -0
- package/dist/invoice-response-codes.js +32 -0
- package/dist/invoice-response-codes.js.map +1 -0
- package/dist/invoice-status-codes.generated-DL-agLdx.d.ts +24 -0
- package/dist/invoice-status-codes.generated-DL-agLdx.d.ts.map +1 -0
- package/dist/message-level-response-profile-id-DBpOW91B.js +9 -0
- package/dist/message-level-response-profile-id-DBpOW91B.js.map +1 -0
- package/dist/peppol-iso-date-string-BXLxzxdz.js +30 -0
- package/dist/peppol-iso-date-string-BXLxzxdz.js.map +1 -0
- package/dist/schematron.d.ts +408 -365
- package/dist/schematron.d.ts.map +1 -1
- package/dist/schematron.js +2040 -1547
- package/dist/schematron.js.map +1 -1
- package/dist/values.d.ts +95 -13218
- package/dist/values.d.ts.map +1 -1
- package/dist/values.js +1 -1
- package/dist/vat-dates.generated-CxFvt7m3.d.ts +68 -0
- package/dist/vat-dates.generated-CxFvt7m3.d.ts.map +1 -0
- package/dist/{vatex-codes.generated-BSgP3n5t.js → vatex-codes.generated-N7wsUrLh.js} +8 -9
- package/dist/vatex-codes.generated-N7wsUrLh.js.map +1 -0
- package/package.json +16 -18
- package/src/constants/transport-profile.ts +5 -1
- package/src/decoders/decode-billing.ts +1 -1
- package/src/decoders/decode-credit-note.ts +2 -4
- package/src/decoders/decode-invoice-response.ts +15 -37
- package/src/decoders/decode-invoice.ts +2 -4
- package/src/decoders/decode-message-level-response.ts +21 -48
- package/src/decoders/encode-credit-note.ts +1 -1
- package/src/decoders/encode-invoice-response.ts +7 -4
- package/src/decoders/encode-invoice.ts +1 -1
- package/src/decoders/encode-message-level-response.ts +4 -10
- package/src/decoders/fields/decode-additional-document-references.ts +1 -1
- package/src/decoders/fields/decode-address.ts +1 -1
- package/src/decoders/fields/decode-allowance-charges.ts +7 -15
- package/src/decoders/fields/decode-amount.ts +2 -2
- package/src/decoders/fields/decode-application-response.ts +21 -0
- package/src/decoders/fields/decode-billing-references.ts +1 -1
- package/src/decoders/fields/decode-contact.ts +1 -1
- package/src/decoders/fields/decode-credit-note-lines.ts +7 -15
- package/src/decoders/fields/decode-delivery.ts +1 -1
- package/src/decoders/fields/decode-electronic-address.ts +1 -1
- package/src/decoders/fields/decode-identifier.ts +1 -1
- package/src/decoders/fields/decode-invoice-line-period.ts +1 -1
- package/src/decoders/fields/decode-invoice-lines.ts +6 -14
- package/src/decoders/fields/decode-invoice-message-document-party.ts +2 -2
- package/src/decoders/fields/decode-invoice-message-party.ts +1 -6
- package/src/decoders/fields/decode-invoice-period.ts +7 -13
- package/src/decoders/fields/decode-legal-monetary-total.ts +1 -1
- package/src/decoders/fields/decode-line-allowance-charges.ts +7 -14
- package/src/decoders/fields/decode-line-price.ts +1 -7
- package/src/decoders/fields/decode-line-shared.ts +2 -4
- package/src/decoders/fields/decode-message-level-party.ts +1 -1
- package/src/decoders/fields/decode-node-list.ts +15 -0
- package/src/decoders/fields/decode-order-reference.ts +1 -1
- package/src/decoders/fields/decode-parties-tax-scheme.ts +1 -1
- package/src/decoders/fields/decode-party-legal-entity.ts +1 -1
- package/src/decoders/fields/decode-party-tax-scheme.ts +1 -1
- package/src/decoders/fields/decode-party.ts +3 -14
- package/src/decoders/fields/decode-payee-party.ts +1 -1
- package/src/decoders/fields/decode-payment-means.ts +2 -2
- package/src/decoders/fields/decode-payment-terms.ts +1 -1
- package/src/decoders/fields/decode-price-allowance-charge.ts +1 -7
- package/src/decoders/fields/decode-quantity.ts +1 -6
- package/src/decoders/fields/decode-simple-identifier.ts +1 -1
- package/src/decoders/fields/decode-tax-category.ts +1 -1
- package/src/decoders/fields/decode-tax-representative-party.ts +1 -1
- package/src/decoders/fields/decode-tax-totals.ts +2 -2
- package/src/decoders/fields/encode-additional-document-references.ts +3 -2
- package/src/decoders/fields/encode-address.ts +1 -1
- package/src/decoders/fields/encode-allowance-charges.ts +3 -2
- package/src/decoders/fields/encode-amount.ts +1 -1
- package/src/decoders/fields/encode-billing-references.ts +2 -2
- 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 +1 -1
- 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 +1 -1
- package/src/decoders/fields/encode-line-allowance-charges.ts +2 -2
- package/src/decoders/fields/encode-line-price.ts +1 -1
- package/src/decoders/fields/encode-line-shared.ts +1 -1
- package/src/decoders/fields/encode-message-party.ts +26 -13
- package/src/decoders/fields/encode-order-reference.ts +1 -1
- package/src/decoders/fields/encode-parties-tax-scheme.ts +1 -1
- package/src/decoders/fields/encode-party-tax-scheme.ts +1 -1
- package/src/decoders/fields/encode-party.ts +1 -1
- package/src/decoders/fields/encode-payee-party.ts +1 -1
- 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 +1 -1
- package/src/decoders/fields/encode-quantity.ts +1 -1
- package/src/decoders/fields/encode-tax-category.ts +1 -1
- package/src/decoders/fields/encode-tax-representative-party.ts +1 -1
- package/src/decoders/fields/encode-tax-totals.ts +4 -4
- package/src/helpers/bool.ts +9 -12
- package/src/helpers/get-prop.ts +2 -4
- package/src/helpers/str-or-und.ts +3 -4
- package/src/helpers/str.ts +12 -8
- package/src/index.ts +56 -6
- package/src/schemas/fields/peppol-additional-document-reference-schema.ts +123 -0
- package/src/schemas/fields/peppol-address-schema.ts +112 -0
- package/src/schemas/fields/peppol-allowance-charge-schema.ts +104 -0
- package/src/schemas/fields/peppol-amount-schema.ts +23 -0
- package/src/schemas/fields/peppol-base-line-schema.ts +141 -0
- package/src/{effect → schemas}/fields/peppol-billing-reference-schema.ts +25 -20
- package/src/schemas/fields/peppol-binary-object-schema.ts +52 -0
- package/src/schemas/fields/peppol-contact-schema.ts +20 -0
- package/src/schemas/fields/peppol-credit-note-line-schema.ts +44 -0
- package/src/schemas/fields/peppol-delivery-schema.ts +109 -0
- package/src/schemas/fields/peppol-identifier-schema.ts +21 -0
- package/src/schemas/fields/peppol-invoice-line-period-schema.ts +35 -0
- package/src/{effect → schemas}/fields/peppol-invoice-line-schema.ts +10 -10
- package/src/schemas/fields/peppol-invoice-period-schema.ts +31 -0
- package/src/schemas/fields/peppol-item-classification-schema.ts +46 -0
- package/src/schemas/fields/peppol-legal-monetary-total-schema.ts +127 -0
- package/src/schemas/fields/peppol-line-allowance-charge-schema.ts +68 -0
- package/src/schemas/fields/peppol-line-item-schema.ts +196 -0
- package/src/schemas/fields/peppol-line-price-allowance-charge-schema.ts +41 -0
- package/src/schemas/fields/peppol-line-price-schema.ts +32 -0
- package/src/schemas/fields/peppol-order-reference-schema.ts +38 -0
- package/src/schemas/fields/peppol-party-base-schema.ts +145 -0
- package/src/schemas/fields/peppol-party-legal-entity-schema.ts +32 -0
- package/src/schemas/fields/peppol-party-tax-scheme-schema.ts +41 -0
- package/src/schemas/fields/peppol-payee-party-schema.ts +119 -0
- package/src/schemas/fields/peppol-payment-means-schema.ts +224 -0
- package/src/schemas/fields/peppol-payment-terms-schema.ts +25 -0
- package/src/schemas/fields/peppol-quantity-schema.ts +22 -0
- package/src/schemas/fields/peppol-reference-schema.ts +9 -0
- package/src/schemas/fields/peppol-tax-category-schema.ts +47 -0
- package/src/schemas/fields/peppol-tax-representative-schema.ts +26 -0
- package/src/{effect → schemas}/fields/peppol-tax-subtotal-category-schema.ts +7 -6
- package/src/schemas/fields/peppol-tax-subtotal-schema.ts +33 -0
- package/src/schemas/fields/peppol-tax-totals-base-schema.ts +28 -0
- package/src/schemas/peppol-billing-base-schema.ts +366 -0
- package/src/schemas/peppol-credit-note-schema.ts +31 -0
- package/src/schemas/peppol-document-response-document-reference-schema.ts +41 -0
- package/src/schemas/peppol-document-response-document-schema.ts +38 -0
- package/src/schemas/peppol-document-response-line-response-content-schema.ts +49 -0
- package/src/schemas/peppol-document-response-line-response-schema.ts +40 -0
- package/src/schemas/peppol-document-schema.ts +120 -0
- package/src/{effect → schemas}/peppol-invoice-response-document-actual-response-schema.ts +25 -16
- package/src/schemas/peppol-invoice-response-document-actual-response-status-schema.ts +63 -0
- package/src/schemas/peppol-invoice-response-schema.ts +176 -0
- package/src/schemas/peppol-invoice-response-status-reason-code-schema.ts +40 -0
- package/src/schemas/peppol-invoice-schema.ts +45 -0
- package/src/schemas/peppol-iso-date-string.ts +20 -0
- package/src/schemas/peppol-message-level-response-document-response-schema.ts +35 -0
- package/src/schemas/peppol-message-level-response-party-schema.ts +20 -0
- package/src/schemas/peppol-message-level-response-schema.ts +98 -0
- package/src/schemas/utils/format-xsd-time.ts +80 -0
- package/src/{effect → schemas}/utils/index.ts +1 -1
- package/src/schemas/utils/is-valid-process.ts +1 -1
- package/src/schemas/utils/opaque.ts +19 -0
- package/src/{effect → schemas}/utils/peppol-vat-regex-schema.ts +0 -2
- package/src/schemas/utils/peppol-xsd-time-schema.ts +79 -0
- package/src/schemas/utils/quantity-unit-code-to-intl-unit.ts +2 -2
- package/src/schemas/values/credit-note-type-code-schema.ts +3 -5
- package/src/schemas/values/document-type-schemes-schema.ts +3 -5
- package/src/schemas/values/document-type-values-schema.ts +4 -7
- package/src/{effect → schemas}/values/duty-tax-fee-category-schema.ts +3 -3
- package/src/schemas/values/invoice-type-code-schema.ts +4 -8
- package/src/schemas/values/process-from-document-type-schema.ts +10 -12
- package/src/schemas/values/quantity-unit-codes-schema.ts +4 -8
- package/src/schematron/cen/ae/cen-en16931-br-ae-01.ts +6 -5
- package/src/schematron/cen/ae/cen-en16931-br-ae-02.ts +6 -5
- package/src/schematron/cen/ae/cen-en16931-br-ae-03.ts +6 -5
- package/src/schematron/cen/ae/cen-en16931-br-ae-04.ts +6 -5
- package/src/schematron/cen/ae/cen-en16931-br-ae-05.ts +6 -5
- package/src/schematron/cen/ae/cen-en16931-br-ae-06.ts +6 -5
- package/src/schematron/cen/ae/cen-en16931-br-ae-07.ts +6 -5
- package/src/schematron/cen/ae/cen-en16931-br-ae-08.ts +6 -5
- package/src/schematron/cen/ae/cen-en16931-br-ae-09.ts +6 -5
- package/src/schematron/cen/ae/cen-en16931-br-ae-10.ts +6 -5
- package/src/schematron/cen/af/cen-en16931-br-af-01.ts +6 -5
- package/src/schematron/cen/af/cen-en16931-br-af-02.ts +6 -5
- package/src/schematron/cen/af/cen-en16931-br-af-03.ts +6 -10
- package/src/schematron/cen/af/cen-en16931-br-af-04.ts +6 -5
- package/src/schematron/cen/af/cen-en16931-br-af-05.ts +6 -5
- package/src/schematron/cen/af/cen-en16931-br-af-06.ts +6 -5
- package/src/schematron/cen/af/cen-en16931-br-af-07.ts +6 -5
- package/src/schematron/cen/af/cen-en16931-br-af-08.ts +6 -5
- package/src/schematron/cen/af/cen-en16931-br-af-09.ts +6 -5
- package/src/schematron/cen/af/cen-en16931-br-af-10.ts +6 -5
- package/src/schematron/cen/ag/cen-en16931-br-ag-01.ts +6 -5
- package/src/schematron/cen/ag/cen-en16931-br-ag-02.ts +6 -5
- package/src/schematron/cen/ag/cen-en16931-br-ag-03.ts +6 -10
- package/src/schematron/cen/ag/cen-en16931-br-ag-04.ts +6 -5
- package/src/schematron/cen/ag/cen-en16931-br-ag-05.ts +6 -5
- package/src/schematron/cen/ag/cen-en16931-br-ag-06.ts +6 -5
- package/src/schematron/cen/ag/cen-en16931-br-ag-07.ts +6 -5
- package/src/schematron/cen/ag/cen-en16931-br-ag-08.ts +6 -5
- package/src/schematron/cen/ag/cen-en16931-br-ag-09.ts +6 -5
- package/src/schematron/cen/ag/cen-en16931-br-ag-10.ts +6 -5
- package/src/schematron/cen/b/cen-en16931-br-b-01.ts +6 -5
- package/src/schematron/cen/b/cen-en16931-br-b-02.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-01.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-02.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-03.ts +9 -6
- package/src/schematron/cen/cen-en16931-br-04.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-05.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-06.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-07.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-08.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-09.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-10.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-11.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-12.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-13.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-14.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-15.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-16.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-17.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-18.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-19.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-20.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-21.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-22.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-23.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-24.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-25.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-26.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-27.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-28.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-29.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-30.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-31.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-32.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-33.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-36.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-37.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-38.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-41.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-42.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-43.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-44.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-45.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-46.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-47.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-48.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-49.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-50.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-51.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-52.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-53.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-54.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-55.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-56.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-57.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-61.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-62.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-63.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-64.ts +6 -5
- package/src/schematron/cen/cen-en16931-br-65.ts +6 -5
- package/src/schematron/cen/cl/cen-en16931-br-cl-08.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-03.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-04.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-05.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-06.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-07.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-08.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-09.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-10.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-11.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-12.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-13.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-14.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-15.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-16.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-17.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-18.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-19.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-20.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-21.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-22.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-23.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-24.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-25.ts +6 -5
- package/src/schematron/cen/co/cen-en16931-br-co-26.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-01.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-02.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-05.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-06.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-09.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-10.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-11.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-12.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-13.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-14.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-15.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-16.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-17.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-18.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-19.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-20.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-23.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-24.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-25.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-27.ts +6 -5
- package/src/schematron/cen/dec/cen-en16931-br-dec-28.ts +6 -5
- package/src/schematron/cen/e/cen-en16931-br-e-01.ts +6 -5
- package/src/schematron/cen/e/cen-en16931-br-e-02.ts +6 -5
- package/src/schematron/cen/e/cen-en16931-br-e-03.ts +6 -10
- package/src/schematron/cen/e/cen-en16931-br-e-04.ts +6 -5
- package/src/schematron/cen/e/cen-en16931-br-e-05.ts +6 -5
- package/src/schematron/cen/e/cen-en16931-br-e-06.ts +6 -5
- package/src/schematron/cen/e/cen-en16931-br-e-07.ts +6 -5
- package/src/schematron/cen/e/cen-en16931-br-e-08.ts +6 -5
- package/src/schematron/cen/e/cen-en16931-br-e-09.ts +6 -5
- package/src/schematron/cen/e/cen-en16931-br-e-10.ts +6 -5
- package/src/schematron/cen/g/cen-en16931-br-g-01.ts +6 -5
- package/src/schematron/cen/g/cen-en16931-br-g-02.ts +6 -5
- package/src/schematron/cen/g/cen-en16931-br-g-03.ts +6 -5
- package/src/schematron/cen/g/cen-en16931-br-g-04.ts +6 -5
- package/src/schematron/cen/g/cen-en16931-br-g-05.ts +6 -5
- package/src/schematron/cen/g/cen-en16931-br-g-06.ts +6 -5
- package/src/schematron/cen/g/cen-en16931-br-g-07.ts +6 -5
- package/src/schematron/cen/g/cen-en16931-br-g-08.ts +6 -5
- package/src/schematron/cen/g/cen-en16931-br-g-09.ts +6 -5
- package/src/schematron/cen/g/cen-en16931-br-g-10.ts +6 -5
- package/src/schematron/cen/ic/cen-en16931-br-ic-01.ts +6 -5
- package/src/schematron/cen/ic/cen-en16931-br-ic-02.ts +6 -5
- package/src/schematron/cen/ic/cen-en16931-br-ic-03.ts +6 -5
- package/src/schematron/cen/ic/cen-en16931-br-ic-04.ts +6 -5
- package/src/schematron/cen/ic/cen-en16931-br-ic-05.ts +6 -5
- package/src/schematron/cen/ic/cen-en16931-br-ic-06.ts +6 -5
- package/src/schematron/cen/ic/cen-en16931-br-ic-07.ts +6 -5
- package/src/schematron/cen/ic/cen-en16931-br-ic-08.ts +6 -5
- package/src/schematron/cen/ic/cen-en16931-br-ic-09.ts +6 -5
- package/src/schematron/cen/ic/cen-en16931-br-ic-10.ts +6 -5
- package/src/schematron/cen/ic/cen-en16931-br-ic-11.ts +6 -5
- package/src/schematron/cen/ic/cen-en16931-br-ic-12.ts +6 -5
- package/src/schematron/cen/o/cen-en16931-br-o-01.ts +6 -5
- package/src/schematron/cen/o/cen-en16931-br-o-02.ts +6 -5
- package/src/schematron/cen/o/cen-en16931-br-o-03.ts +6 -5
- package/src/schematron/cen/o/cen-en16931-br-o-04.ts +6 -5
- package/src/schematron/cen/o/cen-en16931-br-o-05.ts +6 -5
- package/src/schematron/cen/o/cen-en16931-br-o-06.ts +6 -5
- package/src/schematron/cen/o/cen-en16931-br-o-07.ts +6 -5
- package/src/schematron/cen/o/cen-en16931-br-o-08.ts +6 -5
- package/src/schematron/cen/o/cen-en16931-br-o-09.ts +6 -5
- package/src/schematron/cen/o/cen-en16931-br-o-10.ts +6 -5
- package/src/schematron/cen/o/cen-en16931-br-o-11.ts +6 -5
- package/src/schematron/cen/o/cen-en16931-br-o-12.ts +6 -5
- package/src/schematron/cen/o/cen-en16931-br-o-13.ts +6 -5
- package/src/schematron/cen/o/cen-en16931-br-o-14.ts +6 -5
- package/src/schematron/cen/s/cen-en16931-br-s-01.ts +6 -5
- package/src/schematron/cen/s/cen-en16931-br-s-02.ts +6 -5
- package/src/schematron/cen/s/cen-en16931-br-s-03.ts +6 -10
- package/src/schematron/cen/s/cen-en16931-br-s-04.ts +6 -5
- package/src/schematron/cen/s/cen-en16931-br-s-05.ts +6 -5
- package/src/schematron/cen/s/cen-en16931-br-s-06.ts +6 -5
- package/src/schematron/cen/s/cen-en16931-br-s-07.ts +6 -5
- package/src/schematron/cen/s/cen-en16931-br-s-08.ts +6 -5
- package/src/schematron/cen/s/cen-en16931-br-s-09.ts +6 -5
- package/src/schematron/cen/s/cen-en16931-br-s-10.ts +6 -5
- package/src/schematron/cen/z/cen-en16931-br-z-01.ts +6 -5
- package/src/schematron/cen/z/cen-en16931-br-z-02.ts +6 -5
- package/src/schematron/cen/z/cen-en16931-br-z-03.ts +6 -10
- package/src/schematron/cen/z/cen-en16931-br-z-04.ts +6 -5
- package/src/schematron/cen/z/cen-en16931-br-z-05.ts +6 -5
- package/src/schematron/cen/z/cen-en16931-br-z-06.ts +6 -5
- package/src/schematron/cen/z/cen-en16931-br-z-07.ts +6 -5
- package/src/schematron/cen/z/cen-en16931-br-z-08.ts +6 -5
- package/src/schematron/cen/z/cen-en16931-br-z-09.ts +6 -5
- package/src/schematron/cen/z/cen-en16931-br-z-10.ts +6 -5
- package/src/schematron/de/de-r-001.ts +8 -7
- package/src/schematron/de/de-r-002.ts +8 -7
- package/src/schematron/de/de-r-003.ts +8 -7
- package/src/schematron/de/de-r-004.ts +8 -7
- package/src/schematron/de/de-r-005.ts +8 -7
- package/src/schematron/de/de-r-006.ts +8 -7
- package/src/schematron/de/de-r-007.ts +8 -7
- package/src/schematron/de/de-r-008.ts +8 -7
- package/src/schematron/de/de-r-009.ts +8 -7
- package/src/schematron/de/de-r-010.ts +9 -8
- package/src/schematron/de/de-r-011.ts +9 -8
- package/src/schematron/de/de-r-014.ts +8 -7
- package/src/schematron/de/de-r-015.ts +8 -7
- package/src/schematron/de/de-r-016.ts +9 -8
- package/src/schematron/de/de-r-017.ts +8 -7
- package/src/schematron/de/de-r-018.ts +10 -9
- package/src/schematron/de/de-r-019.ts +8 -7
- package/src/schematron/de/de-r-020.ts +8 -7
- package/src/schematron/de/de-r-022.ts +8 -7
- package/src/schematron/de/de-r-023-1.ts +8 -7
- package/src/schematron/de/de-r-023-2.ts +8 -7
- package/src/schematron/de/de-r-024-1.ts +8 -7
- package/src/schematron/de/de-r-024-2.ts +8 -7
- package/src/schematron/de/de-r-025-1.ts +8 -7
- package/src/schematron/de/de-r-025-2.ts +8 -7
- package/src/schematron/de/de-r-026.ts +9 -8
- package/src/schematron/de/de-r-027.ts +8 -7
- package/src/schematron/de/de-r-028.ts +8 -7
- package/src/schematron/de/de-r-030.ts +9 -8
- package/src/schematron/de/de-r-031.ts +8 -7
- package/src/schematron/dk/dk-r-002.ts +7 -6
- package/src/schematron/dk/dk-r-003.ts +8 -7
- package/src/schematron/dk/dk-r-004.ts +8 -7
- package/src/schematron/dk/dk-r-005.ts +8 -7
- package/src/schematron/dk/dk-r-006.ts +8 -7
- package/src/schematron/dk/dk-r-007.ts +8 -7
- package/src/schematron/dk/dk-r-008.ts +8 -7
- package/src/schematron/dk/dk-r-009.ts +8 -7
- package/src/schematron/dk/dk-r-010.ts +8 -7
- package/src/schematron/dk/dk-r-011.ts +8 -7
- package/src/schematron/dk/dk-r-013.ts +8 -7
- package/src/schematron/dk/dk-r-014.ts +7 -6
- package/src/schematron/dk/dk-r-016.ts +8 -7
- package/src/schematron/dk/dk-r-017.ts +8 -7
- package/src/schematron/errors.ts +17 -0
- package/src/schematron/gr/gr-r-001-1.ts +7 -6
- package/src/schematron/gr/gr-r-001-2.ts +8 -7
- package/src/schematron/gr/gr-r-001-3.ts +14 -9
- package/src/schematron/gr/gr-r-001-4.ts +8 -7
- package/src/schematron/gr/gr-r-001-5.ts +8 -7
- package/src/schematron/gr/gr-r-001-6.ts +7 -6
- package/src/schematron/gr/gr-r-001-7.ts +7 -6
- package/src/schematron/gr/gr-r-002.ts +7 -6
- package/src/schematron/gr/gr-r-003.ts +8 -7
- package/src/schematron/gr/gr-r-004-1.ts +7 -6
- package/src/schematron/gr/gr-r-004-2.ts +7 -6
- package/src/schematron/gr/gr-r-005.ts +7 -6
- package/src/schematron/gr/gr-r-006.ts +12 -11
- package/src/schematron/gr/gr-r-008-2.ts +7 -6
- package/src/schematron/gr/gr-r-008-3.ts +7 -6
- package/src/schematron/gr/gr-r-009.ts +7 -6
- package/src/schematron/gr/gr-r-010.ts +7 -6
- package/src/schematron/gr/gr-s-008-1.ts +7 -6
- package/src/schematron/gr/gr-s-011.ts +8 -7
- package/src/schematron/helpers.ts +46 -23
- package/src/schematron/index.ts +6 -1
- package/src/schematron/is/is-r-001.ts +7 -6
- package/src/schematron/is/is-r-002.ts +7 -6
- package/src/schematron/is/is-r-003.ts +7 -6
- package/src/schematron/is/is-r-004.ts +7 -6
- package/src/schematron/is/is-r-005.ts +7 -6
- package/src/schematron/is/is-r-006.ts +8 -7
- package/src/schematron/is/is-r-007.ts +8 -7
- package/src/schematron/is/is-r-008.ts +8 -7
- package/src/schematron/is/is-r-009.ts +8 -7
- package/src/schematron/is/is-r-010.ts +9 -8
- package/src/schematron/it/it-r-001.ts +7 -6
- package/src/schematron/it/it-r-002.ts +7 -6
- package/src/schematron/it/it-r-003.ts +7 -6
- package/src/schematron/it/it-r-004.ts +7 -6
- package/src/schematron/nl/nl-r-001.ts +7 -6
- package/src/schematron/nl/nl-r-002.ts +7 -6
- package/src/schematron/nl/nl-r-003.ts +8 -7
- package/src/schematron/nl/nl-r-004.ts +7 -6
- package/src/schematron/nl/nl-r-005.ts +8 -7
- package/src/schematron/nl/nl-r-006.ts +8 -7
- package/src/schematron/nl/nl-r-007.ts +8 -7
- package/src/schematron/nl/nl-r-008.ts +7 -6
- package/src/schematron/nl/nl-r-009.ts +8 -7
- package/src/schematron/no/no-r-001.ts +8 -7
- package/src/schematron/no/no-r-002.ts +7 -6
- package/src/schematron/peppol/cl/peppol-en16931-cl001.ts +6 -5
- package/src/schematron/peppol/cl/peppol-en16931-cl002.ts +6 -5
- package/src/schematron/peppol/cl/peppol-en16931-cl003.ts +6 -5
- package/src/schematron/peppol/cl/peppol-en16931-cl006.ts +7 -6
- package/src/schematron/peppol/cl/peppol-en16931-cl007.ts +27 -26
- package/src/schematron/peppol/cl/peppol-en16931-cl008.ts +6 -5
- package/src/schematron/peppol/common/peppol-common-r040.ts +6 -5
- package/src/schematron/peppol/common/peppol-common-r041.ts +6 -5
- package/src/schematron/peppol/common/peppol-common-r042.ts +6 -5
- package/src/schematron/peppol/common/peppol-common-r043.ts +6 -5
- package/src/schematron/peppol/common/peppol-common-r044.ts +6 -5
- package/src/schematron/peppol/common/peppol-common-r045.ts +6 -5
- package/src/schematron/peppol/common/peppol-common-r046.ts +6 -5
- package/src/schematron/peppol/common/peppol-common-r047.ts +6 -5
- package/src/schematron/peppol/common/peppol-common-r049.ts +6 -5
- package/src/schematron/peppol/common/peppol-common-r050.ts +6 -5
- package/src/schematron/peppol/common/peppol-common-r052.ts +6 -5
- package/src/schematron/peppol/common/peppol-common-r053.ts +6 -5
- package/src/schematron/peppol/f/peppol-en16931-f001.ts +27 -14
- package/src/schematron/peppol/p/peppol-en16931-p0100.ts +8 -7
- package/src/schematron/peppol/p/peppol-en16931-p0101.ts +8 -7
- package/src/schematron/peppol/p/peppol-en16931-p0104.ts +6 -5
- package/src/schematron/peppol/p/peppol-en16931-p0105.ts +6 -5
- package/src/schematron/peppol/p/peppol-en16931-p0106.ts +6 -5
- package/src/schematron/peppol/p/peppol-en16931-p0107.ts +6 -5
- package/src/schematron/peppol/p/peppol-en16931-p0108.ts +6 -5
- package/src/schematron/peppol/p/peppol-en16931-p0109.ts +6 -5
- package/src/schematron/peppol/p/peppol-en16931-p0110.ts +6 -5
- package/src/schematron/peppol/p/peppol-en16931-p0111.ts +6 -5
- package/src/schematron/peppol/p/peppol-en16931-p0112.ts +7 -6
- package/src/schematron/peppol/r/peppol-en16931-r001.ts +11 -13
- package/src/schematron/peppol/r/peppol-en16931-r002.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r003.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r004.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r005.ts +7 -6
- package/src/schematron/peppol/r/peppol-en16931-r007.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r008.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r010.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r020.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r040.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r041.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r042.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r043.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r044.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r046.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r051.ts +48 -27
- package/src/schematron/peppol/r/peppol-en16931-r053.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r054.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r055.ts +8 -7
- package/src/schematron/peppol/r/peppol-en16931-r061.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r100.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r101.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r110.ts +7 -6
- package/src/schematron/peppol/r/peppol-en16931-r111.ts +7 -6
- package/src/schematron/peppol/r/peppol-en16931-r120.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r121.ts +6 -5
- package/src/schematron/peppol/r/peppol-en16931-r130.ts +6 -5
- package/src/schematron/run-all-rules.ts +2 -7
- package/src/schematron/schematron.ts +36 -0
- package/src/schematron/se/se-r-001.ts +7 -6
- package/src/schematron/se/se-r-002.ts +7 -6
- package/src/schematron/se/se-r-003.ts +7 -6
- package/src/schematron/se/se-r-004.ts +7 -6
- package/src/schematron/se/se-r-005.ts +8 -7
- package/src/schematron/se/se-r-006.ts +7 -6
- package/src/schematron/se/se-r-007.ts +7 -6
- package/src/schematron/se/se-r-008.ts +7 -6
- package/src/schematron/se/se-r-009.ts +7 -6
- package/src/schematron/se/se-r-010.ts +7 -6
- package/src/schematron/se/se-r-011.ts +7 -6
- package/src/schematron/se/se-r-012.ts +7 -6
- package/src/schematron/se/se-r-013.ts +7 -6
- package/src/values/additional-document-reference-codes.generated.ts +2 -3
- package/src/values/allowance-charge-reason-codes.generated.ts +1 -1
- package/src/values/application-response-type-codes.generated.ts +1 -1
- package/src/values/charge-reason-codes.generated.ts +1 -1
- package/src/values/country-code.generated.ts +1 -1
- package/src/values/credit-notes-type-codes.generated.ts +1 -1
- package/src/values/currency-code.generated.ts +1 -1
- package/src/values/document-type-codes.generated.ts +1 -1
- package/src/values/document-type.generated.ts +2 -2
- package/src/values/duty-tax-fee-categories.generated.ts +1 -1
- package/src/values/eas-codes.generated.ts +1 -1
- package/src/values/icd-codes.generated.ts +7 -7
- package/src/values/invoice-status-codes.generated.ts +1 -1
- package/src/values/invoice-type-codes.generated.ts +1 -1
- package/src/values/item-classification-code.generated.ts +1 -1
- package/src/values/mime-codes.generated.ts +1 -1
- package/src/values/op-status-action.generated.ts +1 -1
- package/src/values/op-status-reason.generated.ts +1 -1
- package/src/values/participant-identifier-schemes.generated.ts +2 -2
- package/src/values/payment-means-codes.generated.ts +1 -1
- package/src/values/processes.generated.ts +1 -1
- package/src/values/quantity-unit-codes.generated.ts +1 -1
- package/src/values/vat-dates.generated.ts +1 -1
- package/src/values/vatex-codes.generated.ts +1 -1
- package/dist/all-union-fields-CxoyKBpI.d.ts +0 -445
- package/dist/all-union-fields-CxoyKBpI.d.ts.map +0 -1
- package/dist/document-DCcObB-a.d.ts +0 -1466
- package/dist/document-DCcObB-a.d.ts.map +0 -1
- package/dist/effect.d.ts +0 -6291
- package/dist/effect.d.ts.map +0 -1
- package/dist/effect.js +0 -3240
- package/dist/effect.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/is-valid-process-CSWL-q9f.js +0 -1590
- package/dist/is-valid-process-CSWL-q9f.js.map +0 -1
- package/dist/quantity-unit-code-to-intl-unit-15EykjMe.d.ts +0 -168
- package/dist/quantity-unit-code-to-intl-unit-15EykjMe.d.ts.map +0 -1
- package/dist/vat-dates.generated-DTVWQAdn.d.ts +0 -4812
- package/dist/vat-dates.generated-DTVWQAdn.d.ts.map +0 -1
- package/dist/vatex-codes.generated-BSgP3n5t.js.map +0 -1
- package/src/decoders/errors.ts +0 -11
- package/src/document-parser.ts +0 -70
- package/src/document.ts +0 -19
- package/src/effect/fields/default-customization-id.ts +0 -1
- package/src/effect/fields/default-profile-id.ts +0 -1
- package/src/effect/fields/peppol-additional-document-reference-schema.ts +0 -114
- package/src/effect/fields/peppol-address-schema.ts +0 -105
- package/src/effect/fields/peppol-allowance-charge-schema.ts +0 -95
- package/src/effect/fields/peppol-amount-schema.ts +0 -22
- package/src/effect/fields/peppol-base-line-schema.ts +0 -138
- package/src/effect/fields/peppol-binary-object-schema.ts +0 -51
- package/src/effect/fields/peppol-contact-schema.ts +0 -18
- package/src/effect/fields/peppol-credit-note-line-schema.ts +0 -42
- package/src/effect/fields/peppol-delivery-schema.ts +0 -100
- package/src/effect/fields/peppol-identifier-schema.ts +0 -19
- package/src/effect/fields/peppol-invoice-line-period-schema.ts +0 -34
- package/src/effect/fields/peppol-invoice-period-schema.ts +0 -30
- package/src/effect/fields/peppol-item-classification-schema.ts +0 -45
- package/src/effect/fields/peppol-legal-monetary-total-schema.ts +0 -126
- package/src/effect/fields/peppol-line-allowance-charge-schema.ts +0 -64
- package/src/effect/fields/peppol-line-item-schema.ts +0 -185
- package/src/effect/fields/peppol-line-price-allowance-charge-schema.ts +0 -38
- package/src/effect/fields/peppol-line-price-schema.ts +0 -31
- package/src/effect/fields/peppol-order-reference-schema.ts +0 -36
- package/src/effect/fields/peppol-party-base-schema.ts +0 -138
- package/src/effect/fields/peppol-party-legal-entity-schema.ts +0 -29
- package/src/effect/fields/peppol-party-tax-scheme-schema.ts +0 -33
- package/src/effect/fields/peppol-payee-party-schema.ts +0 -112
- package/src/effect/fields/peppol-payment-means-schema.ts +0 -210
- package/src/effect/fields/peppol-payment-terms-schema.ts +0 -23
- package/src/effect/fields/peppol-quantity-schema.ts +0 -21
- package/src/effect/fields/peppol-reference-schema.ts +0 -5
- package/src/effect/fields/peppol-tax-category-schema.ts +0 -42
- package/src/effect/fields/peppol-tax-representative-schema.ts +0 -23
- package/src/effect/fields/peppol-tax-subtotal-schema.ts +0 -32
- package/src/effect/fields/peppol-tax-totals-base-schema.ts +0 -25
- package/src/effect/index.ts +0 -56
- package/src/effect/peppol-billing-base-schema.ts +0 -355
- package/src/effect/peppol-credit-note-schema.ts +0 -30
- package/src/effect/peppol-document-response-document-reference-schema.ts +0 -38
- package/src/effect/peppol-document-response-document-schema.ts +0 -35
- package/src/effect/peppol-document-response-line-response-content-schema.ts +0 -44
- package/src/effect/peppol-document-response-line-response-schema.ts +0 -33
- package/src/effect/peppol-document-schema.ts +0 -142
- package/src/effect/peppol-invoice-response-document-actual-response-status-schema.ts +0 -60
- package/src/effect/peppol-invoice-response-schema.ts +0 -168
- package/src/effect/peppol-invoice-response-status-reason-code-schema.ts +0 -31
- package/src/effect/peppol-invoice-schema.ts +0 -42
- package/src/effect/peppol-iso-date-string-schema.ts +0 -19
- package/src/effect/peppol-message-level-response-document-response-schema.ts +0 -33
- package/src/effect/peppol-message-level-response-party-schema.ts +0 -19
- package/src/effect/peppol-message-level-response-schema.ts +0 -97
- package/src/effect/utils/format-quantity-with-unit.ts +0 -1
- package/src/effect/utils/get-credit-note-type-code-description.ts +0 -1
- package/src/effect/utils/get-invoice-type-code-description.ts +0 -1
- package/src/effect/utils/is-valid-credit-note-type-code.ts +0 -1
- package/src/effect/utils/is-valid-invoice-type-code.ts +0 -1
- package/src/effect/utils/is-valid-process.ts +0 -1
- package/src/effect/utils/peppol-xsd-time-schema.ts +0 -13
- package/src/effect/utils/quantity-unit-code-to-intl-unit.ts +0 -2
- package/src/effect/values/credit-note-type-code-schema.ts +0 -23
- package/src/effect/values/document-type-schemes-schema.ts +0 -14
- package/src/effect/values/document-type-values-schema.ts +0 -16
- package/src/effect/values/invoice-type-code-schema.ts +0 -21
- package/src/effect/values/process-from-document-type-schema.ts +0 -26
- package/src/effect/values/quantity-unit-codes-schema.ts +0 -24
- package/src/helpers/errors.ts +0 -6
- package/src/helpers/is-defined.ts +0 -3
- package/src/schemas/billing-base.ts +0 -362
- package/src/schemas/credit-note.ts +0 -28
- package/src/schemas/document-response-document-reference-schema.ts +0 -37
- package/src/schemas/document-response-document-schema.ts +0 -34
- package/src/schemas/document-response-line-response-content.ts +0 -43
- package/src/schemas/document-response-line-response-schema.ts +0 -33
- package/src/schemas/fields/additional-document-reference-schema.ts +0 -112
- package/src/schemas/fields/address-schema.ts +0 -105
- package/src/schemas/fields/allowance-charge-schema.ts +0 -86
- package/src/schemas/fields/amount-schema.ts +0 -21
- package/src/schemas/fields/base-line-schema.ts +0 -136
- package/src/schemas/fields/billing-references-schema.ts +0 -44
- package/src/schemas/fields/binary-object-schema.ts +0 -45
- package/src/schemas/fields/contact-schema.ts +0 -18
- package/src/schemas/fields/credit-note-line-schema.ts +0 -37
- package/src/schemas/fields/date-only-fn.ts +0 -6
- package/src/schemas/fields/date-only-parser.ts +0 -20
- package/src/schemas/fields/delivery-schema.ts +0 -95
- package/src/schemas/fields/identifier-schema.ts +0 -24
- package/src/schemas/fields/invoice-line-period-schema.ts +0 -31
- package/src/schemas/fields/invoice-line-schema.ts +0 -41
- package/src/schemas/fields/invoice-period-schema.ts +0 -27
- package/src/schemas/fields/legal-monetary-total-schema.ts +0 -125
- package/src/schemas/fields/line-allowance-charge-schema.ts +0 -59
- package/src/schemas/fields/line-item-schema.ts +0 -183
- package/src/schemas/fields/line-price-allowance-charge-schema.ts +0 -33
- package/src/schemas/fields/list-identifier-schema.ts +0 -43
- package/src/schemas/fields/order-reference-schema.ts +0 -36
- package/src/schemas/fields/party-base-schema.ts +0 -131
- package/src/schemas/fields/party-legal-entity-schema.ts +0 -29
- package/src/schemas/fields/party-tax-schema.ts +0 -33
- package/src/schemas/fields/payee-party.ts +0 -107
- package/src/schemas/fields/payment-means-schema.ts +0 -209
- package/src/schemas/fields/payment-terms-schema.ts +0 -23
- package/src/schemas/fields/price-schema.ts +0 -31
- package/src/schemas/fields/quantity-schema.ts +0 -21
- package/src/schemas/fields/reference-schema.ts +0 -4
- package/src/schemas/fields/tax-category-schema.ts +0 -41
- package/src/schemas/fields/tax-representative-party-schema.ts +0 -23
- package/src/schemas/fields/tax-subtotal-category-schema.ts +0 -26
- package/src/schemas/fields/tax-subtotal-schema.ts +0 -32
- package/src/schemas/fields/tax-totals.ts +0 -25
- package/src/schemas/fields/time-only.ts +0 -23
- package/src/schemas/invoice-response-document-actual-response-status.ts +0 -58
- package/src/schemas/invoice-response-document-actual-response.ts +0 -73
- package/src/schemas/invoice-response-schema.ts +0 -155
- package/src/schemas/invoice-response-status-reason-code.ts +0 -30
- package/src/schemas/invoice.ts +0 -43
- package/src/schemas/message-level-response-document-response-schema.ts +0 -33
- package/src/schemas/message-level-response-party-schema.ts +0 -18
- package/src/schemas/message-level-response-schema.ts +0 -96
- package/src/schemas/utils/base-64.ts +0 -34
- package/src/schemas/utils/vat-regex.ts +0 -51
- package/src/schemas/utils/xsd-time.ts +0 -9
- package/src/schemas/values/additional-document-reference-code.ts +0 -27
- package/src/schemas/values/allowance-charge-reason-code.ts +0 -29
- package/src/schemas/values/application-response-type-codes.ts +0 -25
- package/src/schemas/values/charge-reason-code.ts +0 -29
- package/src/schemas/values/country-code.ts +0 -36
- package/src/schemas/values/currency-codes.ts +0 -35
- package/src/schemas/values/document-type-codes.ts +0 -25
- package/src/schemas/values/document-type-schema.ts +0 -49
- package/src/schemas/values/duty-tax-fee-cateogries.ts +0 -28
- package/src/schemas/values/eas-codes.ts +0 -35
- package/src/schemas/values/icd-codes.ts +0 -28
- package/src/schemas/values/invoice-status-codes.ts +0 -25
- package/src/schemas/values/item-classification-code-schema.ts +0 -28
- package/src/schemas/values/mime-code.ts +0 -28
- package/src/schemas/values/op-status-action.ts +0 -25
- package/src/schemas/values/op-status-reason.ts +0 -25
- package/src/schemas/values/participant-identifier-code.ts +0 -25
- package/src/schemas/values/payment-means-codes-schema.ts +0 -36
- package/src/schemas/values/process-schema.ts +0 -41
- package/src/schemas/values/process-xml-identifier-schema.ts +0 -27
- package/src/schemas/values/vat-date-code.ts +0 -15
- package/src/schemas/values/vatex-code.ts +0 -28
- package/src/schemas.ts +0 -97
- /package/src/{effect → schemas}/utils/peppol-base-64-schema.ts +0 -0
- /package/src/{effect → schemas}/values/additional-document-reference-code-schema.ts +0 -0
- /package/src/{effect → schemas}/values/allowance-charge-reason-code-schema.ts +0 -0
- /package/src/{effect → schemas}/values/application-response-type-code-schema.ts +0 -0
- /package/src/{effect → schemas}/values/charge-reason-code-schema.ts +0 -0
- /package/src/{effect → schemas}/values/currency-code-schema.ts +0 -0
- /package/src/{effect → schemas}/values/electronic-codes-schema.ts +0 -0
- /package/src/{effect → schemas}/values/icd-codes-schema.ts +0 -0
- /package/src/{effect → schemas}/values/index.ts +0 -0
- /package/src/{effect → schemas}/values/invoice-status-code-schema.ts +0 -0
- /package/src/{effect → schemas}/values/item-classification-codes-schema.ts +0 -0
- /package/src/{effect → schemas}/values/mime-codes-schema.ts +0 -0
- /package/src/{effect → schemas}/values/op-status-action-schema.ts +0 -0
- /package/src/{effect → schemas}/values/op-status-reason-schema.ts +0 -0
- /package/src/{effect → schemas}/values/participant-identifier-code-schema.ts +0 -0
- /package/src/{effect → schemas}/values/payment-means-code-schema.ts +0 -0
- /package/src/{effect → schemas}/values/peppol-country-code-schema.ts +0 -0
- /package/src/{effect → schemas}/values/peppol-document-type-code-schema.ts +0 -0
- /package/src/{effect → schemas}/values/peppol-document-type-schema.ts +0 -0
- /package/src/{effect → schemas}/values/peppol-process-schema.ts +0 -0
- /package/src/{effect → schemas}/values/vat-date-code-schema.ts +0 -0
- /package/src/{effect → schemas}/values/vatex-code-schema.ts +0 -0
|
@@ -1,1466 +0,0 @@
|
|
|
1
|
-
import { t as AllUnionFields } from "./all-union-fields-CxoyKBpI.js";
|
|
2
|
-
import * as z from "zod/mini";
|
|
3
|
-
//#region src/schemas/credit-note.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* @description Main UBL Credit Note schema (camelCase properties)
|
|
6
|
-
*/
|
|
7
|
-
declare const creditNoteSchema: z.ZodMiniObject<{
|
|
8
|
-
customizationId: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
9
|
-
profileId: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
10
|
-
id: z.ZodMiniString<string>;
|
|
11
|
-
issueDate: z.ZodMiniISODate;
|
|
12
|
-
note: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
13
|
-
taxPointDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
14
|
-
documentCurrencyCode: z.ZodMiniString<string>;
|
|
15
|
-
taxCurrencyCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
16
|
-
accountingCost: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
17
|
-
buyerReference: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
18
|
-
invoicePeriod: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
19
|
-
endDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
20
|
-
startDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
21
|
-
descriptionCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
22
|
-
}, z.core.$strip>>;
|
|
23
|
-
orderReference: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
24
|
-
id: z.ZodMiniString<string>;
|
|
25
|
-
salesOrderId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
26
|
-
}, z.core.$strip>>;
|
|
27
|
-
billingReferences: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
28
|
-
invoiceDocumentReference: z.ZodMiniObject<{
|
|
29
|
-
id: z.ZodMiniString<string>;
|
|
30
|
-
issueDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
31
|
-
}, z.core.$strip>;
|
|
32
|
-
}, z.core.$strip>>>;
|
|
33
|
-
despatchDocumentReference: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
34
|
-
id: z.ZodMiniString<string>;
|
|
35
|
-
}, z.core.$strip>>;
|
|
36
|
-
receiptDocumentReference: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
37
|
-
id: z.ZodMiniString<string>;
|
|
38
|
-
}, z.core.$strip>>;
|
|
39
|
-
originatorDocumentReference: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
40
|
-
id: z.ZodMiniString<string>;
|
|
41
|
-
}, z.core.$strip>>;
|
|
42
|
-
contractDocumentReference: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
43
|
-
id: z.ZodMiniString<string>;
|
|
44
|
-
}, z.core.$strip>>;
|
|
45
|
-
additionalDocumentReferences: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
46
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
47
|
-
id: z.ZodMiniObject<{
|
|
48
|
-
id: z.ZodMiniString<string>;
|
|
49
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
50
|
-
}, z.core.$strip>;
|
|
51
|
-
documentTypeCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
52
|
-
documentDescription: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
53
|
-
attachment: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
54
|
-
embeddedDocumentBinaryObject: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
55
|
-
content: z.ZodMiniUnion<readonly [z.ZodMiniBase64, z.ZodMiniBase64URL, z.ZodMiniString<string>]>;
|
|
56
|
-
mimeCode: z.ZodMiniString<string>;
|
|
57
|
-
filename: z.ZodMiniString<string>;
|
|
58
|
-
}, z.core.$strip>>;
|
|
59
|
-
externalReference: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
60
|
-
uri: z.ZodMiniString<string>;
|
|
61
|
-
}, z.core.$strip>>;
|
|
62
|
-
}, z.core.$strip>>;
|
|
63
|
-
}, z.core.$strip>>>;
|
|
64
|
-
accountingSupplierParty: z.ZodMiniObject<{
|
|
65
|
-
endpointId: z.ZodMiniObject<{
|
|
66
|
-
id: z.ZodMiniString<string>;
|
|
67
|
-
schemeId: z.ZodMiniString<string>;
|
|
68
|
-
}, z.core.$strip>;
|
|
69
|
-
partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
70
|
-
id: z.ZodMiniObject<{
|
|
71
|
-
id: z.ZodMiniString<string>;
|
|
72
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
73
|
-
}, z.core.$strip>;
|
|
74
|
-
}, z.core.$strip>>;
|
|
75
|
-
partyName: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
76
|
-
name: z.ZodMiniString<string>;
|
|
77
|
-
}, z.core.$strip>>;
|
|
78
|
-
postalAddress: z.ZodMiniObject<{
|
|
79
|
-
streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
80
|
-
additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
81
|
-
cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
82
|
-
postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
83
|
-
countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
84
|
-
countryCode: z.ZodMiniObject<{
|
|
85
|
-
identificationCode: z.ZodMiniString<string>;
|
|
86
|
-
}, z.core.$strip>;
|
|
87
|
-
addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
88
|
-
line: z.ZodMiniString<string>;
|
|
89
|
-
}, z.core.$strip>>;
|
|
90
|
-
}, z.core.$strip>;
|
|
91
|
-
partyTaxSchemes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
92
|
-
companyId: z.ZodMiniString<string>;
|
|
93
|
-
taxSchemeId: z.ZodMiniObject<{
|
|
94
|
-
id: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
95
|
-
}, z.core.$strip>;
|
|
96
|
-
}, z.core.$strip>>>;
|
|
97
|
-
partyLegalEntity: z.ZodMiniObject<{
|
|
98
|
-
companyId: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
99
|
-
id: z.ZodMiniString<string>;
|
|
100
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
101
|
-
}, z.core.$strip>>;
|
|
102
|
-
companyLegalForm: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
103
|
-
registrationName: z.ZodMiniString<string>;
|
|
104
|
-
}, z.core.$strip>;
|
|
105
|
-
contact: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
106
|
-
electronicMail: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
107
|
-
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
108
|
-
telephone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
109
|
-
}, z.core.$strip>>;
|
|
110
|
-
}, z.core.$strip>;
|
|
111
|
-
accountingCustomerParty: z.ZodMiniObject<{
|
|
112
|
-
endpointId: z.ZodMiniObject<{
|
|
113
|
-
id: z.ZodMiniString<string>;
|
|
114
|
-
schemeId: z.ZodMiniString<string>;
|
|
115
|
-
}, z.core.$strip>;
|
|
116
|
-
partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
117
|
-
id: z.ZodMiniObject<{
|
|
118
|
-
id: z.ZodMiniString<string>;
|
|
119
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
120
|
-
}, z.core.$strip>;
|
|
121
|
-
}, z.core.$strip>>;
|
|
122
|
-
partyName: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
123
|
-
name: z.ZodMiniString<string>;
|
|
124
|
-
}, z.core.$strip>>;
|
|
125
|
-
postalAddress: z.ZodMiniObject<{
|
|
126
|
-
streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
127
|
-
additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
128
|
-
cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
129
|
-
postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
130
|
-
countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
131
|
-
countryCode: z.ZodMiniObject<{
|
|
132
|
-
identificationCode: z.ZodMiniString<string>;
|
|
133
|
-
}, z.core.$strip>;
|
|
134
|
-
addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
135
|
-
line: z.ZodMiniString<string>;
|
|
136
|
-
}, z.core.$strip>>;
|
|
137
|
-
}, z.core.$strip>;
|
|
138
|
-
partyTaxSchemes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
139
|
-
companyId: z.ZodMiniString<string>;
|
|
140
|
-
taxSchemeId: z.ZodMiniObject<{
|
|
141
|
-
id: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
142
|
-
}, z.core.$strip>;
|
|
143
|
-
}, z.core.$strip>>>;
|
|
144
|
-
partyLegalEntity: z.ZodMiniObject<{
|
|
145
|
-
companyId: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
146
|
-
id: z.ZodMiniString<string>;
|
|
147
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
148
|
-
}, z.core.$strip>>;
|
|
149
|
-
companyLegalForm: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
150
|
-
registrationName: z.ZodMiniString<string>;
|
|
151
|
-
}, z.core.$strip>;
|
|
152
|
-
contact: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
153
|
-
electronicMail: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
154
|
-
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
155
|
-
telephone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
156
|
-
}, z.core.$strip>>;
|
|
157
|
-
}, z.core.$strip>;
|
|
158
|
-
payeeParty: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
159
|
-
partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
160
|
-
id: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
161
|
-
id: z.ZodMiniString<string>;
|
|
162
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
163
|
-
}, z.core.$strip>>;
|
|
164
|
-
}, z.core.$strip>>;
|
|
165
|
-
partyLegalEntity: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
166
|
-
companyId: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
167
|
-
id: z.ZodMiniString<string>;
|
|
168
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
169
|
-
}, z.core.$strip>>;
|
|
170
|
-
}, z.core.$strip>>;
|
|
171
|
-
partyName: z.ZodMiniObject<{
|
|
172
|
-
name: z.ZodMiniString<string>;
|
|
173
|
-
}, z.core.$strip>;
|
|
174
|
-
}, z.core.$strip>>;
|
|
175
|
-
taxRepresentativeParty: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
176
|
-
name: z.ZodMiniString<string>;
|
|
177
|
-
postalAddress: z.ZodMiniObject<{
|
|
178
|
-
streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
179
|
-
additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
180
|
-
cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
181
|
-
postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
182
|
-
countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
183
|
-
countryCode: z.ZodMiniObject<{
|
|
184
|
-
identificationCode: z.ZodMiniString<string>;
|
|
185
|
-
}, z.core.$strip>;
|
|
186
|
-
addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
187
|
-
line: z.ZodMiniString<string>;
|
|
188
|
-
}, z.core.$strip>>;
|
|
189
|
-
}, z.core.$strip>;
|
|
190
|
-
partyTaxScheme: z.ZodMiniObject<{
|
|
191
|
-
companyId: z.ZodMiniString<string>;
|
|
192
|
-
taxSchemeId: z.ZodMiniObject<{
|
|
193
|
-
id: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
194
|
-
}, z.core.$strip>;
|
|
195
|
-
}, z.core.$strip>;
|
|
196
|
-
}, z.core.$strip>>;
|
|
197
|
-
delivery: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
198
|
-
actualDeliveryDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
199
|
-
deliveryLocation: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
200
|
-
id: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
201
|
-
id: z.ZodMiniString<string>;
|
|
202
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
203
|
-
}, z.core.$strip>>;
|
|
204
|
-
address: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
205
|
-
streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
206
|
-
additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
207
|
-
cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
208
|
-
postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
209
|
-
countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
210
|
-
countryCode: z.ZodMiniObject<{
|
|
211
|
-
identificationCode: z.ZodMiniString<string>;
|
|
212
|
-
}, z.core.$strip>;
|
|
213
|
-
addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
214
|
-
line: z.ZodMiniString<string>;
|
|
215
|
-
}, z.core.$strip>>;
|
|
216
|
-
}, z.core.$strip>>;
|
|
217
|
-
}, z.core.$strip>>;
|
|
218
|
-
deliveryParty: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
219
|
-
partyName: z.ZodMiniObject<{
|
|
220
|
-
name: z.ZodMiniString<string>;
|
|
221
|
-
}, z.core.$strip>;
|
|
222
|
-
}, z.core.$strip>>;
|
|
223
|
-
}, z.core.$strip>>;
|
|
224
|
-
paymentMeans: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
225
|
-
paymentMeansCode: z.ZodMiniObject<{
|
|
226
|
-
code: z.ZodMiniString<string>;
|
|
227
|
-
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
228
|
-
}, z.core.$strip>;
|
|
229
|
-
paymentDueDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
230
|
-
paymentId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
231
|
-
cardAccount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
232
|
-
holderName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
233
|
-
networkId: z.ZodMiniString<string>;
|
|
234
|
-
primaryAccountNumberId: z.ZodMiniString<string>;
|
|
235
|
-
}, z.core.$strip>>;
|
|
236
|
-
payeeFinancialAccount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
237
|
-
financialInstitutionBranch: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
238
|
-
id: z.ZodMiniString<string>;
|
|
239
|
-
}, z.core.$strip>>;
|
|
240
|
-
id: z.ZodMiniString<string>;
|
|
241
|
-
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
242
|
-
}, z.core.$strip>>;
|
|
243
|
-
paymentMandate: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
244
|
-
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
245
|
-
payerFinancialAccountId: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
246
|
-
id: z.ZodMiniString<string>;
|
|
247
|
-
}, z.core.$strip>>;
|
|
248
|
-
}, z.core.$strip>>;
|
|
249
|
-
}, z.core.$strip>>>;
|
|
250
|
-
paymentTerms: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
251
|
-
note: z.ZodMiniString<string>;
|
|
252
|
-
}, z.core.$strip>>;
|
|
253
|
-
allowanceCharges: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
254
|
-
amount: z.ZodMiniObject<{
|
|
255
|
-
currencyId: z.ZodMiniString<string>;
|
|
256
|
-
value: z.ZodMiniNumber<number>;
|
|
257
|
-
}, z.core.$strip>;
|
|
258
|
-
baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
259
|
-
currencyId: z.ZodMiniString<string>;
|
|
260
|
-
value: z.ZodMiniNumber<number>;
|
|
261
|
-
}, z.core.$strip>>;
|
|
262
|
-
allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
263
|
-
multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
264
|
-
taxCategory: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
265
|
-
id: z.ZodMiniString<string>;
|
|
266
|
-
percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
267
|
-
taxSchemeId: z.ZodMiniObject<{
|
|
268
|
-
id: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
269
|
-
}, z.core.$strip>;
|
|
270
|
-
}, z.core.$strip>>;
|
|
271
|
-
allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
272
|
-
chargeIndicator: z.ZodMiniLiteral<false>;
|
|
273
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
274
|
-
amount: z.ZodMiniObject<{
|
|
275
|
-
currencyId: z.ZodMiniString<string>;
|
|
276
|
-
value: z.ZodMiniNumber<number>;
|
|
277
|
-
}, z.core.$strip>;
|
|
278
|
-
baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
279
|
-
currencyId: z.ZodMiniString<string>;
|
|
280
|
-
value: z.ZodMiniNumber<number>;
|
|
281
|
-
}, z.core.$strip>>;
|
|
282
|
-
allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
283
|
-
multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
284
|
-
taxCategory: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
285
|
-
id: z.ZodMiniString<string>;
|
|
286
|
-
percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
287
|
-
taxSchemeId: z.ZodMiniObject<{
|
|
288
|
-
id: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
289
|
-
}, z.core.$strip>;
|
|
290
|
-
}, z.core.$strip>>;
|
|
291
|
-
allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
292
|
-
chargeIndicator: z.ZodMiniLiteral<true>;
|
|
293
|
-
}, z.core.$strip>], "chargeIndicator">>>;
|
|
294
|
-
taxTotals: z.ZodMiniArray<z.ZodMiniObject<{
|
|
295
|
-
taxAmount: z.ZodMiniObject<{
|
|
296
|
-
currencyId: z.ZodMiniString<string>;
|
|
297
|
-
value: z.ZodMiniNumber<number>;
|
|
298
|
-
}, z.core.$strip>;
|
|
299
|
-
taxSubtotals: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
300
|
-
taxAmount: z.ZodMiniObject<{
|
|
301
|
-
currencyId: z.ZodMiniString<string>;
|
|
302
|
-
value: z.ZodMiniNumber<number>;
|
|
303
|
-
}, z.core.$strip>;
|
|
304
|
-
taxCategory: z.ZodMiniObject<{
|
|
305
|
-
id: z.ZodMiniString<string>;
|
|
306
|
-
percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
307
|
-
taxSchemeId: z.ZodMiniObject<{
|
|
308
|
-
id: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
309
|
-
}, z.core.$strip>;
|
|
310
|
-
taxExemptionReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
311
|
-
taxExemptionReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
312
|
-
}, z.core.$strip>;
|
|
313
|
-
taxableAmount: z.ZodMiniObject<{
|
|
314
|
-
currencyId: z.ZodMiniString<string>;
|
|
315
|
-
value: z.ZodMiniNumber<number>;
|
|
316
|
-
}, z.core.$strip>;
|
|
317
|
-
}, z.core.$strip>>>;
|
|
318
|
-
}, z.core.$strip>>;
|
|
319
|
-
legalMonetaryTotal: z.ZodMiniObject<{
|
|
320
|
-
allowanceTotalAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
321
|
-
currencyId: z.ZodMiniString<string>;
|
|
322
|
-
value: z.ZodMiniNumber<number>;
|
|
323
|
-
}, z.core.$strip>>;
|
|
324
|
-
chargeTotalAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
325
|
-
currencyId: z.ZodMiniString<string>;
|
|
326
|
-
value: z.ZodMiniNumber<number>;
|
|
327
|
-
}, z.core.$strip>>;
|
|
328
|
-
lineExtensionAmount: z.ZodMiniObject<{
|
|
329
|
-
currencyId: z.ZodMiniString<string>;
|
|
330
|
-
value: z.ZodMiniNumber<number>;
|
|
331
|
-
}, z.core.$strip>;
|
|
332
|
-
payableAmount: z.ZodMiniObject<{
|
|
333
|
-
currencyId: z.ZodMiniString<string>;
|
|
334
|
-
value: z.ZodMiniNumber<number>;
|
|
335
|
-
}, z.core.$strip>;
|
|
336
|
-
payableRoundingAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
337
|
-
currencyId: z.ZodMiniString<string>;
|
|
338
|
-
value: z.ZodMiniNumber<number>;
|
|
339
|
-
}, z.core.$strip>>;
|
|
340
|
-
prepaidAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
341
|
-
currencyId: z.ZodMiniString<string>;
|
|
342
|
-
value: z.ZodMiniNumber<number>;
|
|
343
|
-
}, z.core.$strip>>;
|
|
344
|
-
taxExclusiveAmount: z.ZodMiniObject<{
|
|
345
|
-
currencyId: z.ZodMiniString<string>;
|
|
346
|
-
value: z.ZodMiniNumber<number>;
|
|
347
|
-
}, z.core.$strip>;
|
|
348
|
-
taxInclusiveAmount: z.ZodMiniObject<{
|
|
349
|
-
currencyId: z.ZodMiniString<string>;
|
|
350
|
-
value: z.ZodMiniNumber<number>;
|
|
351
|
-
}, z.core.$strip>;
|
|
352
|
-
}, z.core.$strip>;
|
|
353
|
-
creditNoteLines: z.ZodMiniArray<z.ZodMiniObject<{
|
|
354
|
-
accountingCost: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
355
|
-
allowanceCharges: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
356
|
-
amount: z.ZodMiniObject<{
|
|
357
|
-
currencyId: z.ZodMiniString<string>;
|
|
358
|
-
value: z.ZodMiniNumber<number>;
|
|
359
|
-
}, z.core.$strip>;
|
|
360
|
-
baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
361
|
-
currencyId: z.ZodMiniString<string>;
|
|
362
|
-
value: z.ZodMiniNumber<number>;
|
|
363
|
-
}, z.core.$strip>>;
|
|
364
|
-
allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
365
|
-
multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
366
|
-
allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
367
|
-
chargeIndicator: z.ZodMiniLiteral<false>;
|
|
368
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
369
|
-
amount: z.ZodMiniObject<{
|
|
370
|
-
currencyId: z.ZodMiniString<string>;
|
|
371
|
-
value: z.ZodMiniNumber<number>;
|
|
372
|
-
}, z.core.$strip>;
|
|
373
|
-
baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
374
|
-
currencyId: z.ZodMiniString<string>;
|
|
375
|
-
value: z.ZodMiniNumber<number>;
|
|
376
|
-
}, z.core.$strip>>;
|
|
377
|
-
allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
378
|
-
multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
379
|
-
allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
380
|
-
chargeIndicator: z.ZodMiniLiteral<true>;
|
|
381
|
-
}, z.core.$strip>], "chargeIndicator">>>;
|
|
382
|
-
documentReference: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
383
|
-
id: z.ZodMiniString<string>;
|
|
384
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
385
|
-
documentTypeCode: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
386
|
-
}, z.core.$strip>>>;
|
|
387
|
-
id: z.ZodMiniString<string>;
|
|
388
|
-
invoicePeriod: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
389
|
-
endDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
390
|
-
startDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
391
|
-
}, z.core.$strip>>;
|
|
392
|
-
item: z.ZodMiniObject<{
|
|
393
|
-
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
394
|
-
name: z.ZodMiniString<string>;
|
|
395
|
-
buyersItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
396
|
-
id: z.ZodMiniString<string>;
|
|
397
|
-
}, z.core.$strip>>;
|
|
398
|
-
sellersItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
399
|
-
id: z.ZodMiniString<string>;
|
|
400
|
-
}, z.core.$strip>>;
|
|
401
|
-
standardItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
402
|
-
id: z.ZodMiniObject<{
|
|
403
|
-
id: z.ZodMiniString<string>;
|
|
404
|
-
schemeId: z.ZodMiniString<string>;
|
|
405
|
-
}, z.core.$strip>;
|
|
406
|
-
}, z.core.$strip>>;
|
|
407
|
-
originCountryCode: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
408
|
-
identificationCode: z.ZodMiniString<string>;
|
|
409
|
-
}, z.core.$strip>>;
|
|
410
|
-
commodityClassifications: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
411
|
-
itemClassification: z.ZodMiniObject<{
|
|
412
|
-
id: z.ZodMiniString<string>;
|
|
413
|
-
listId: z.ZodMiniString<string>;
|
|
414
|
-
listVersionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
415
|
-
}, z.core.$strip>;
|
|
416
|
-
}, z.core.$strip>>>;
|
|
417
|
-
classifiedTaxCategory: z.ZodMiniObject<{
|
|
418
|
-
id: z.ZodMiniString<string>;
|
|
419
|
-
percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
420
|
-
taxSchemeId: z.ZodMiniObject<{
|
|
421
|
-
id: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
422
|
-
}, z.core.$strip>;
|
|
423
|
-
}, z.core.$strip>;
|
|
424
|
-
additionalItemProperties: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
425
|
-
name: z.ZodMiniString<string>;
|
|
426
|
-
value: z.ZodMiniString<string>;
|
|
427
|
-
}, z.core.$strip>>>;
|
|
428
|
-
}, z.core.$strip>;
|
|
429
|
-
lineExtensionAmount: z.ZodMiniObject<{
|
|
430
|
-
currencyId: z.ZodMiniString<string>;
|
|
431
|
-
value: z.ZodMiniNumber<number>;
|
|
432
|
-
}, z.core.$strip>;
|
|
433
|
-
note: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
434
|
-
orderLineReference: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
435
|
-
lineId: z.ZodMiniString<string>;
|
|
436
|
-
}, z.core.$strip>>;
|
|
437
|
-
price: z.ZodMiniObject<{
|
|
438
|
-
allowanceCharge: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
439
|
-
amount: z.ZodMiniObject<{
|
|
440
|
-
currencyId: z.ZodMiniString<string>;
|
|
441
|
-
value: z.ZodMiniNumber<number>;
|
|
442
|
-
}, z.core.$strip>;
|
|
443
|
-
baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
444
|
-
currencyId: z.ZodMiniString<string>;
|
|
445
|
-
value: z.ZodMiniNumber<number>;
|
|
446
|
-
}, z.core.$strip>>;
|
|
447
|
-
chargeIndicator: z.ZodMiniLiteral<false>;
|
|
448
|
-
}, z.core.$strip>>;
|
|
449
|
-
baseQuantity: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
450
|
-
unitCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
451
|
-
value: z.ZodMiniNumber<number>;
|
|
452
|
-
}, z.core.$strip>>;
|
|
453
|
-
priceAmount: z.ZodMiniObject<{
|
|
454
|
-
currencyId: z.ZodMiniString<string>;
|
|
455
|
-
value: z.ZodMiniNumber<number>;
|
|
456
|
-
}, z.core.$strip>;
|
|
457
|
-
}, z.core.$strip>;
|
|
458
|
-
creditedQuantity: z.ZodMiniObject<{
|
|
459
|
-
value: z.ZodMiniNumber<number>;
|
|
460
|
-
unitCode: z.ZodMiniString<string>;
|
|
461
|
-
}, z.core.$strip>;
|
|
462
|
-
}, z.core.$strip>>;
|
|
463
|
-
creditNoteTypeCode: z.ZodMiniString<string>;
|
|
464
|
-
}, z.core.$strip>;
|
|
465
|
-
type PeppolCreditNote = z.infer<typeof creditNoteSchema>;
|
|
466
|
-
//#endregion
|
|
467
|
-
//#region src/schemas/invoice.d.ts
|
|
468
|
-
/**
|
|
469
|
-
* @description Main UBL Invoice schema (camelCase properties)
|
|
470
|
-
*/
|
|
471
|
-
declare const invoiceSchema: z.ZodMiniObject<{
|
|
472
|
-
customizationId: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
473
|
-
profileId: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
474
|
-
id: z.ZodMiniString<string>;
|
|
475
|
-
issueDate: z.ZodMiniISODate;
|
|
476
|
-
note: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
477
|
-
taxPointDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
478
|
-
documentCurrencyCode: z.ZodMiniString<string>;
|
|
479
|
-
taxCurrencyCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
480
|
-
accountingCost: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
481
|
-
buyerReference: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
482
|
-
invoicePeriod: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
483
|
-
endDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
484
|
-
startDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
485
|
-
descriptionCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
486
|
-
}, z.core.$strip>>;
|
|
487
|
-
orderReference: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
488
|
-
id: z.ZodMiniString<string>;
|
|
489
|
-
salesOrderId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
490
|
-
}, z.core.$strip>>;
|
|
491
|
-
billingReferences: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
492
|
-
invoiceDocumentReference: z.ZodMiniObject<{
|
|
493
|
-
id: z.ZodMiniString<string>;
|
|
494
|
-
issueDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
495
|
-
}, z.core.$strip>;
|
|
496
|
-
}, z.core.$strip>>>;
|
|
497
|
-
despatchDocumentReference: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
498
|
-
id: z.ZodMiniString<string>;
|
|
499
|
-
}, z.core.$strip>>;
|
|
500
|
-
receiptDocumentReference: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
501
|
-
id: z.ZodMiniString<string>;
|
|
502
|
-
}, z.core.$strip>>;
|
|
503
|
-
originatorDocumentReference: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
504
|
-
id: z.ZodMiniString<string>;
|
|
505
|
-
}, z.core.$strip>>;
|
|
506
|
-
contractDocumentReference: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
507
|
-
id: z.ZodMiniString<string>;
|
|
508
|
-
}, z.core.$strip>>;
|
|
509
|
-
additionalDocumentReferences: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
510
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
511
|
-
id: z.ZodMiniObject<{
|
|
512
|
-
id: z.ZodMiniString<string>;
|
|
513
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
514
|
-
}, z.core.$strip>;
|
|
515
|
-
documentTypeCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
516
|
-
documentDescription: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
517
|
-
attachment: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
518
|
-
embeddedDocumentBinaryObject: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
519
|
-
content: z.ZodMiniUnion<readonly [z.ZodMiniBase64, z.ZodMiniBase64URL, z.ZodMiniString<string>]>;
|
|
520
|
-
mimeCode: z.ZodMiniString<string>;
|
|
521
|
-
filename: z.ZodMiniString<string>;
|
|
522
|
-
}, z.core.$strip>>;
|
|
523
|
-
externalReference: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
524
|
-
uri: z.ZodMiniString<string>;
|
|
525
|
-
}, z.core.$strip>>;
|
|
526
|
-
}, z.core.$strip>>;
|
|
527
|
-
}, z.core.$strip>>>;
|
|
528
|
-
accountingSupplierParty: z.ZodMiniObject<{
|
|
529
|
-
endpointId: z.ZodMiniObject<{
|
|
530
|
-
id: z.ZodMiniString<string>;
|
|
531
|
-
schemeId: z.ZodMiniString<string>;
|
|
532
|
-
}, z.core.$strip>;
|
|
533
|
-
partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
534
|
-
id: z.ZodMiniObject<{
|
|
535
|
-
id: z.ZodMiniString<string>;
|
|
536
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
537
|
-
}, z.core.$strip>;
|
|
538
|
-
}, z.core.$strip>>;
|
|
539
|
-
partyName: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
540
|
-
name: z.ZodMiniString<string>;
|
|
541
|
-
}, z.core.$strip>>;
|
|
542
|
-
postalAddress: z.ZodMiniObject<{
|
|
543
|
-
streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
544
|
-
additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
545
|
-
cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
546
|
-
postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
547
|
-
countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
548
|
-
countryCode: z.ZodMiniObject<{
|
|
549
|
-
identificationCode: z.ZodMiniString<string>;
|
|
550
|
-
}, z.core.$strip>;
|
|
551
|
-
addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
552
|
-
line: z.ZodMiniString<string>;
|
|
553
|
-
}, z.core.$strip>>;
|
|
554
|
-
}, z.core.$strip>;
|
|
555
|
-
partyTaxSchemes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
556
|
-
companyId: z.ZodMiniString<string>;
|
|
557
|
-
taxSchemeId: z.ZodMiniObject<{
|
|
558
|
-
id: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
559
|
-
}, z.core.$strip>;
|
|
560
|
-
}, z.core.$strip>>>;
|
|
561
|
-
partyLegalEntity: z.ZodMiniObject<{
|
|
562
|
-
companyId: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
563
|
-
id: z.ZodMiniString<string>;
|
|
564
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
565
|
-
}, z.core.$strip>>;
|
|
566
|
-
companyLegalForm: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
567
|
-
registrationName: z.ZodMiniString<string>;
|
|
568
|
-
}, z.core.$strip>;
|
|
569
|
-
contact: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
570
|
-
electronicMail: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
571
|
-
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
572
|
-
telephone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
573
|
-
}, z.core.$strip>>;
|
|
574
|
-
}, z.core.$strip>;
|
|
575
|
-
accountingCustomerParty: z.ZodMiniObject<{
|
|
576
|
-
endpointId: z.ZodMiniObject<{
|
|
577
|
-
id: z.ZodMiniString<string>;
|
|
578
|
-
schemeId: z.ZodMiniString<string>;
|
|
579
|
-
}, z.core.$strip>;
|
|
580
|
-
partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
581
|
-
id: z.ZodMiniObject<{
|
|
582
|
-
id: z.ZodMiniString<string>;
|
|
583
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
584
|
-
}, z.core.$strip>;
|
|
585
|
-
}, z.core.$strip>>;
|
|
586
|
-
partyName: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
587
|
-
name: z.ZodMiniString<string>;
|
|
588
|
-
}, z.core.$strip>>;
|
|
589
|
-
postalAddress: z.ZodMiniObject<{
|
|
590
|
-
streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
591
|
-
additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
592
|
-
cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
593
|
-
postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
594
|
-
countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
595
|
-
countryCode: z.ZodMiniObject<{
|
|
596
|
-
identificationCode: z.ZodMiniString<string>;
|
|
597
|
-
}, z.core.$strip>;
|
|
598
|
-
addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
599
|
-
line: z.ZodMiniString<string>;
|
|
600
|
-
}, z.core.$strip>>;
|
|
601
|
-
}, z.core.$strip>;
|
|
602
|
-
partyTaxSchemes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
603
|
-
companyId: z.ZodMiniString<string>;
|
|
604
|
-
taxSchemeId: z.ZodMiniObject<{
|
|
605
|
-
id: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
606
|
-
}, z.core.$strip>;
|
|
607
|
-
}, z.core.$strip>>>;
|
|
608
|
-
partyLegalEntity: z.ZodMiniObject<{
|
|
609
|
-
companyId: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
610
|
-
id: z.ZodMiniString<string>;
|
|
611
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
612
|
-
}, z.core.$strip>>;
|
|
613
|
-
companyLegalForm: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
614
|
-
registrationName: z.ZodMiniString<string>;
|
|
615
|
-
}, z.core.$strip>;
|
|
616
|
-
contact: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
617
|
-
electronicMail: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
618
|
-
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
619
|
-
telephone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
620
|
-
}, z.core.$strip>>;
|
|
621
|
-
}, z.core.$strip>;
|
|
622
|
-
payeeParty: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
623
|
-
partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
624
|
-
id: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
625
|
-
id: z.ZodMiniString<string>;
|
|
626
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
627
|
-
}, z.core.$strip>>;
|
|
628
|
-
}, z.core.$strip>>;
|
|
629
|
-
partyLegalEntity: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
630
|
-
companyId: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
631
|
-
id: z.ZodMiniString<string>;
|
|
632
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
633
|
-
}, z.core.$strip>>;
|
|
634
|
-
}, z.core.$strip>>;
|
|
635
|
-
partyName: z.ZodMiniObject<{
|
|
636
|
-
name: z.ZodMiniString<string>;
|
|
637
|
-
}, z.core.$strip>;
|
|
638
|
-
}, z.core.$strip>>;
|
|
639
|
-
taxRepresentativeParty: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
640
|
-
name: z.ZodMiniString<string>;
|
|
641
|
-
postalAddress: z.ZodMiniObject<{
|
|
642
|
-
streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
643
|
-
additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
644
|
-
cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
645
|
-
postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
646
|
-
countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
647
|
-
countryCode: z.ZodMiniObject<{
|
|
648
|
-
identificationCode: z.ZodMiniString<string>;
|
|
649
|
-
}, z.core.$strip>;
|
|
650
|
-
addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
651
|
-
line: z.ZodMiniString<string>;
|
|
652
|
-
}, z.core.$strip>>;
|
|
653
|
-
}, z.core.$strip>;
|
|
654
|
-
partyTaxScheme: z.ZodMiniObject<{
|
|
655
|
-
companyId: z.ZodMiniString<string>;
|
|
656
|
-
taxSchemeId: z.ZodMiniObject<{
|
|
657
|
-
id: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
658
|
-
}, z.core.$strip>;
|
|
659
|
-
}, z.core.$strip>;
|
|
660
|
-
}, z.core.$strip>>;
|
|
661
|
-
delivery: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
662
|
-
actualDeliveryDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
663
|
-
deliveryLocation: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
664
|
-
id: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
665
|
-
id: z.ZodMiniString<string>;
|
|
666
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
667
|
-
}, z.core.$strip>>;
|
|
668
|
-
address: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
669
|
-
streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
670
|
-
additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
671
|
-
cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
672
|
-
postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
673
|
-
countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
674
|
-
countryCode: z.ZodMiniObject<{
|
|
675
|
-
identificationCode: z.ZodMiniString<string>;
|
|
676
|
-
}, z.core.$strip>;
|
|
677
|
-
addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
678
|
-
line: z.ZodMiniString<string>;
|
|
679
|
-
}, z.core.$strip>>;
|
|
680
|
-
}, z.core.$strip>>;
|
|
681
|
-
}, z.core.$strip>>;
|
|
682
|
-
deliveryParty: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
683
|
-
partyName: z.ZodMiniObject<{
|
|
684
|
-
name: z.ZodMiniString<string>;
|
|
685
|
-
}, z.core.$strip>;
|
|
686
|
-
}, z.core.$strip>>;
|
|
687
|
-
}, z.core.$strip>>;
|
|
688
|
-
paymentMeans: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
689
|
-
paymentMeansCode: z.ZodMiniObject<{
|
|
690
|
-
code: z.ZodMiniString<string>;
|
|
691
|
-
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
692
|
-
}, z.core.$strip>;
|
|
693
|
-
paymentDueDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
694
|
-
paymentId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
695
|
-
cardAccount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
696
|
-
holderName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
697
|
-
networkId: z.ZodMiniString<string>;
|
|
698
|
-
primaryAccountNumberId: z.ZodMiniString<string>;
|
|
699
|
-
}, z.core.$strip>>;
|
|
700
|
-
payeeFinancialAccount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
701
|
-
financialInstitutionBranch: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
702
|
-
id: z.ZodMiniString<string>;
|
|
703
|
-
}, z.core.$strip>>;
|
|
704
|
-
id: z.ZodMiniString<string>;
|
|
705
|
-
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
706
|
-
}, z.core.$strip>>;
|
|
707
|
-
paymentMandate: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
708
|
-
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
709
|
-
payerFinancialAccountId: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
710
|
-
id: z.ZodMiniString<string>;
|
|
711
|
-
}, z.core.$strip>>;
|
|
712
|
-
}, z.core.$strip>>;
|
|
713
|
-
}, z.core.$strip>>>;
|
|
714
|
-
paymentTerms: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
715
|
-
note: z.ZodMiniString<string>;
|
|
716
|
-
}, z.core.$strip>>;
|
|
717
|
-
allowanceCharges: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
718
|
-
amount: z.ZodMiniObject<{
|
|
719
|
-
currencyId: z.ZodMiniString<string>;
|
|
720
|
-
value: z.ZodMiniNumber<number>;
|
|
721
|
-
}, z.core.$strip>;
|
|
722
|
-
baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
723
|
-
currencyId: z.ZodMiniString<string>;
|
|
724
|
-
value: z.ZodMiniNumber<number>;
|
|
725
|
-
}, z.core.$strip>>;
|
|
726
|
-
allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
727
|
-
multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
728
|
-
taxCategory: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
729
|
-
id: z.ZodMiniString<string>;
|
|
730
|
-
percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
731
|
-
taxSchemeId: z.ZodMiniObject<{
|
|
732
|
-
id: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
733
|
-
}, z.core.$strip>;
|
|
734
|
-
}, z.core.$strip>>;
|
|
735
|
-
allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
736
|
-
chargeIndicator: z.ZodMiniLiteral<false>;
|
|
737
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
738
|
-
amount: z.ZodMiniObject<{
|
|
739
|
-
currencyId: z.ZodMiniString<string>;
|
|
740
|
-
value: z.ZodMiniNumber<number>;
|
|
741
|
-
}, z.core.$strip>;
|
|
742
|
-
baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
743
|
-
currencyId: z.ZodMiniString<string>;
|
|
744
|
-
value: z.ZodMiniNumber<number>;
|
|
745
|
-
}, z.core.$strip>>;
|
|
746
|
-
allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
747
|
-
multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
748
|
-
taxCategory: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
749
|
-
id: z.ZodMiniString<string>;
|
|
750
|
-
percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
751
|
-
taxSchemeId: z.ZodMiniObject<{
|
|
752
|
-
id: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
753
|
-
}, z.core.$strip>;
|
|
754
|
-
}, z.core.$strip>>;
|
|
755
|
-
allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
756
|
-
chargeIndicator: z.ZodMiniLiteral<true>;
|
|
757
|
-
}, z.core.$strip>], "chargeIndicator">>>;
|
|
758
|
-
taxTotals: z.ZodMiniArray<z.ZodMiniObject<{
|
|
759
|
-
taxAmount: z.ZodMiniObject<{
|
|
760
|
-
currencyId: z.ZodMiniString<string>;
|
|
761
|
-
value: z.ZodMiniNumber<number>;
|
|
762
|
-
}, z.core.$strip>;
|
|
763
|
-
taxSubtotals: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
764
|
-
taxAmount: z.ZodMiniObject<{
|
|
765
|
-
currencyId: z.ZodMiniString<string>;
|
|
766
|
-
value: z.ZodMiniNumber<number>;
|
|
767
|
-
}, z.core.$strip>;
|
|
768
|
-
taxCategory: z.ZodMiniObject<{
|
|
769
|
-
id: z.ZodMiniString<string>;
|
|
770
|
-
percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
771
|
-
taxSchemeId: z.ZodMiniObject<{
|
|
772
|
-
id: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
773
|
-
}, z.core.$strip>;
|
|
774
|
-
taxExemptionReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
775
|
-
taxExemptionReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
776
|
-
}, z.core.$strip>;
|
|
777
|
-
taxableAmount: z.ZodMiniObject<{
|
|
778
|
-
currencyId: z.ZodMiniString<string>;
|
|
779
|
-
value: z.ZodMiniNumber<number>;
|
|
780
|
-
}, z.core.$strip>;
|
|
781
|
-
}, z.core.$strip>>>;
|
|
782
|
-
}, z.core.$strip>>;
|
|
783
|
-
legalMonetaryTotal: z.ZodMiniObject<{
|
|
784
|
-
allowanceTotalAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
785
|
-
currencyId: z.ZodMiniString<string>;
|
|
786
|
-
value: z.ZodMiniNumber<number>;
|
|
787
|
-
}, z.core.$strip>>;
|
|
788
|
-
chargeTotalAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
789
|
-
currencyId: z.ZodMiniString<string>;
|
|
790
|
-
value: z.ZodMiniNumber<number>;
|
|
791
|
-
}, z.core.$strip>>;
|
|
792
|
-
lineExtensionAmount: z.ZodMiniObject<{
|
|
793
|
-
currencyId: z.ZodMiniString<string>;
|
|
794
|
-
value: z.ZodMiniNumber<number>;
|
|
795
|
-
}, z.core.$strip>;
|
|
796
|
-
payableAmount: z.ZodMiniObject<{
|
|
797
|
-
currencyId: z.ZodMiniString<string>;
|
|
798
|
-
value: z.ZodMiniNumber<number>;
|
|
799
|
-
}, z.core.$strip>;
|
|
800
|
-
payableRoundingAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
801
|
-
currencyId: z.ZodMiniString<string>;
|
|
802
|
-
value: z.ZodMiniNumber<number>;
|
|
803
|
-
}, z.core.$strip>>;
|
|
804
|
-
prepaidAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
805
|
-
currencyId: z.ZodMiniString<string>;
|
|
806
|
-
value: z.ZodMiniNumber<number>;
|
|
807
|
-
}, z.core.$strip>>;
|
|
808
|
-
taxExclusiveAmount: z.ZodMiniObject<{
|
|
809
|
-
currencyId: z.ZodMiniString<string>;
|
|
810
|
-
value: z.ZodMiniNumber<number>;
|
|
811
|
-
}, z.core.$strip>;
|
|
812
|
-
taxInclusiveAmount: z.ZodMiniObject<{
|
|
813
|
-
currencyId: z.ZodMiniString<string>;
|
|
814
|
-
value: z.ZodMiniNumber<number>;
|
|
815
|
-
}, z.core.$strip>;
|
|
816
|
-
}, z.core.$strip>;
|
|
817
|
-
dueDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
818
|
-
invoiceLines: z.ZodMiniArray<z.ZodMiniObject<{
|
|
819
|
-
accountingCost: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
820
|
-
allowanceCharges: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
821
|
-
amount: z.ZodMiniObject<{
|
|
822
|
-
currencyId: z.ZodMiniString<string>;
|
|
823
|
-
value: z.ZodMiniNumber<number>;
|
|
824
|
-
}, z.core.$strip>;
|
|
825
|
-
baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
826
|
-
currencyId: z.ZodMiniString<string>;
|
|
827
|
-
value: z.ZodMiniNumber<number>;
|
|
828
|
-
}, z.core.$strip>>;
|
|
829
|
-
allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
830
|
-
multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
831
|
-
allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
832
|
-
chargeIndicator: z.ZodMiniLiteral<false>;
|
|
833
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
834
|
-
amount: z.ZodMiniObject<{
|
|
835
|
-
currencyId: z.ZodMiniString<string>;
|
|
836
|
-
value: z.ZodMiniNumber<number>;
|
|
837
|
-
}, z.core.$strip>;
|
|
838
|
-
baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
839
|
-
currencyId: z.ZodMiniString<string>;
|
|
840
|
-
value: z.ZodMiniNumber<number>;
|
|
841
|
-
}, z.core.$strip>>;
|
|
842
|
-
allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
843
|
-
multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
844
|
-
allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
845
|
-
chargeIndicator: z.ZodMiniLiteral<true>;
|
|
846
|
-
}, z.core.$strip>], "chargeIndicator">>>;
|
|
847
|
-
documentReference: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
848
|
-
id: z.ZodMiniString<string>;
|
|
849
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
850
|
-
documentTypeCode: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
851
|
-
}, z.core.$strip>>>;
|
|
852
|
-
id: z.ZodMiniString<string>;
|
|
853
|
-
invoicePeriod: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
854
|
-
endDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
855
|
-
startDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
856
|
-
}, z.core.$strip>>;
|
|
857
|
-
item: z.ZodMiniObject<{
|
|
858
|
-
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
859
|
-
name: z.ZodMiniString<string>;
|
|
860
|
-
buyersItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
861
|
-
id: z.ZodMiniString<string>;
|
|
862
|
-
}, z.core.$strip>>;
|
|
863
|
-
sellersItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
864
|
-
id: z.ZodMiniString<string>;
|
|
865
|
-
}, z.core.$strip>>;
|
|
866
|
-
standardItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
867
|
-
id: z.ZodMiniObject<{
|
|
868
|
-
id: z.ZodMiniString<string>;
|
|
869
|
-
schemeId: z.ZodMiniString<string>;
|
|
870
|
-
}, z.core.$strip>;
|
|
871
|
-
}, z.core.$strip>>;
|
|
872
|
-
originCountryCode: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
873
|
-
identificationCode: z.ZodMiniString<string>;
|
|
874
|
-
}, z.core.$strip>>;
|
|
875
|
-
commodityClassifications: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
876
|
-
itemClassification: z.ZodMiniObject<{
|
|
877
|
-
id: z.ZodMiniString<string>;
|
|
878
|
-
listId: z.ZodMiniString<string>;
|
|
879
|
-
listVersionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
880
|
-
}, z.core.$strip>;
|
|
881
|
-
}, z.core.$strip>>>;
|
|
882
|
-
classifiedTaxCategory: z.ZodMiniObject<{
|
|
883
|
-
id: z.ZodMiniString<string>;
|
|
884
|
-
percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
885
|
-
taxSchemeId: z.ZodMiniObject<{
|
|
886
|
-
id: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
887
|
-
}, z.core.$strip>;
|
|
888
|
-
}, z.core.$strip>;
|
|
889
|
-
additionalItemProperties: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
890
|
-
name: z.ZodMiniString<string>;
|
|
891
|
-
value: z.ZodMiniString<string>;
|
|
892
|
-
}, z.core.$strip>>>;
|
|
893
|
-
}, z.core.$strip>;
|
|
894
|
-
lineExtensionAmount: z.ZodMiniObject<{
|
|
895
|
-
currencyId: z.ZodMiniString<string>;
|
|
896
|
-
value: z.ZodMiniNumber<number>;
|
|
897
|
-
}, z.core.$strip>;
|
|
898
|
-
note: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
899
|
-
orderLineReference: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
900
|
-
lineId: z.ZodMiniString<string>;
|
|
901
|
-
}, z.core.$strip>>;
|
|
902
|
-
price: z.ZodMiniObject<{
|
|
903
|
-
allowanceCharge: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
904
|
-
amount: z.ZodMiniObject<{
|
|
905
|
-
currencyId: z.ZodMiniString<string>;
|
|
906
|
-
value: z.ZodMiniNumber<number>;
|
|
907
|
-
}, z.core.$strip>;
|
|
908
|
-
baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
909
|
-
currencyId: z.ZodMiniString<string>;
|
|
910
|
-
value: z.ZodMiniNumber<number>;
|
|
911
|
-
}, z.core.$strip>>;
|
|
912
|
-
chargeIndicator: z.ZodMiniLiteral<false>;
|
|
913
|
-
}, z.core.$strip>>;
|
|
914
|
-
baseQuantity: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
915
|
-
unitCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
916
|
-
value: z.ZodMiniNumber<number>;
|
|
917
|
-
}, z.core.$strip>>;
|
|
918
|
-
priceAmount: z.ZodMiniObject<{
|
|
919
|
-
currencyId: z.ZodMiniString<string>;
|
|
920
|
-
value: z.ZodMiniNumber<number>;
|
|
921
|
-
}, z.core.$strip>;
|
|
922
|
-
}, z.core.$strip>;
|
|
923
|
-
invoicedQuantity: z.ZodMiniObject<{
|
|
924
|
-
value: z.ZodMiniNumber<number>;
|
|
925
|
-
unitCode: z.ZodMiniString<string>;
|
|
926
|
-
}, z.core.$strip>;
|
|
927
|
-
}, z.core.$strip>>;
|
|
928
|
-
invoiceTypeCode: z.ZodMiniString<string>;
|
|
929
|
-
projectReference: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
930
|
-
id: z.ZodMiniString<string>;
|
|
931
|
-
}, z.core.$strip>>;
|
|
932
|
-
}, z.core.$strip>;
|
|
933
|
-
type PeppolInvoice = z.infer<typeof invoiceSchema>;
|
|
934
|
-
//#endregion
|
|
935
|
-
//#region src/schemas/invoice-response-schema.d.ts
|
|
936
|
-
declare const invoiceResponsePartySchema: z.ZodMiniObject<{
|
|
937
|
-
endpointId: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
938
|
-
id: z.ZodMiniString<string>;
|
|
939
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
940
|
-
}, z.core.$strip>>;
|
|
941
|
-
partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
942
|
-
id: z.ZodMiniString<string>;
|
|
943
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
944
|
-
}, z.core.$strip>>;
|
|
945
|
-
partyLegalEntity: z.ZodMiniObject<{
|
|
946
|
-
registrationName: z.ZodMiniString<string>;
|
|
947
|
-
}, z.core.$strip>;
|
|
948
|
-
}, z.core.$strip>;
|
|
949
|
-
declare const invoiceResponseSenderPartySchema: z.ZodMiniObject<{
|
|
950
|
-
endpointId: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
951
|
-
id: z.ZodMiniString<string>;
|
|
952
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
953
|
-
}, z.core.$strip>>;
|
|
954
|
-
partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
955
|
-
id: z.ZodMiniString<string>;
|
|
956
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
957
|
-
}, z.core.$strip>>;
|
|
958
|
-
partyLegalEntity: z.ZodMiniObject<{
|
|
959
|
-
registrationName: z.ZodMiniString<string>;
|
|
960
|
-
}, z.core.$strip>;
|
|
961
|
-
contact: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
962
|
-
electronicMail: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
963
|
-
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
964
|
-
telephone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
965
|
-
}, z.core.$strip>>;
|
|
966
|
-
}, z.core.$strip>;
|
|
967
|
-
type InvoiceResponseParty = z.infer<typeof invoiceResponsePartySchema> | z.infer<typeof invoiceResponseSenderPartySchema>;
|
|
968
|
-
/**
|
|
969
|
-
* @description Party schema used under `cac:DocumentReference/(cac:IssuerParty|cac:RecipientParty)`
|
|
970
|
-
*/
|
|
971
|
-
declare const invoiceResponseDocumentResponseParty: z.ZodMiniObject<{
|
|
972
|
-
partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
973
|
-
id: z.ZodMiniString<string>;
|
|
974
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
975
|
-
}, z.core.$strip>>;
|
|
976
|
-
partyName: z.ZodMiniObject<{
|
|
977
|
-
name: z.ZodMiniString<string>;
|
|
978
|
-
}, z.core.$strip>;
|
|
979
|
-
}, z.core.$strip>;
|
|
980
|
-
type InvoiceDocumentResponseParty = z.infer<typeof invoiceResponseDocumentResponseParty>;
|
|
981
|
-
declare const invoiceResponseDocumentReferenceSchema: z.ZodMiniObject<{
|
|
982
|
-
id: z.ZodMiniString<string>;
|
|
983
|
-
issueDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
984
|
-
documentTypeCode: z.ZodMiniString<string>;
|
|
985
|
-
}, z.core.$strip>;
|
|
986
|
-
type InvoiceResponseDocumentReference = z.infer<typeof invoiceResponseDocumentReferenceSchema>;
|
|
987
|
-
declare const invoiceResponseDocumentResponseSchema: z.ZodMiniObject<{
|
|
988
|
-
response: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
989
|
-
responseCode: z.ZodMiniEnum<{
|
|
990
|
-
CA: "CA";
|
|
991
|
-
RE: "RE";
|
|
992
|
-
UQ: "UQ";
|
|
993
|
-
}>;
|
|
994
|
-
effectiveDate: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniISODate, z.ZodMiniCodec<z.ZodMiniDate<Date>, z.ZodMiniISODate>]>>;
|
|
995
|
-
status: z.ZodMiniArray<z.ZodMiniObject<{
|
|
996
|
-
statusReasonCode: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
997
|
-
value: z.ZodMiniString<string>;
|
|
998
|
-
listId: z.ZodMiniLiteral<"OPStatusAction">;
|
|
999
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1000
|
-
value: z.ZodMiniString<string>;
|
|
1001
|
-
listId: z.ZodMiniLiteral<"OPStatusReason">;
|
|
1002
|
-
}, z.core.$strip>], "listId">>;
|
|
1003
|
-
statusReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1004
|
-
condition: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1005
|
-
attributeId: z.ZodMiniString<string>;
|
|
1006
|
-
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1007
|
-
}, z.core.$strip>>>;
|
|
1008
|
-
}, z.core.$strip>>;
|
|
1009
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1010
|
-
responseCode: z.ZodMiniEnum<{
|
|
1011
|
-
AB: "AB";
|
|
1012
|
-
AP: "AP";
|
|
1013
|
-
IP: "IP";
|
|
1014
|
-
PD: "PD";
|
|
1015
|
-
}>;
|
|
1016
|
-
effectiveDate: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniISODate, z.ZodMiniCodec<z.ZodMiniDate<Date>, z.ZodMiniISODate>]>>;
|
|
1017
|
-
status: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1018
|
-
statusReasonCode: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
1019
|
-
value: z.ZodMiniString<string>;
|
|
1020
|
-
listId: z.ZodMiniLiteral<"OPStatusAction">;
|
|
1021
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1022
|
-
value: z.ZodMiniString<string>;
|
|
1023
|
-
listId: z.ZodMiniLiteral<"OPStatusReason">;
|
|
1024
|
-
}, z.core.$strip>], "listId">>;
|
|
1025
|
-
statusReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1026
|
-
condition: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1027
|
-
attributeId: z.ZodMiniString<string>;
|
|
1028
|
-
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1029
|
-
}, z.core.$strip>>>;
|
|
1030
|
-
}, z.core.$strip>>>;
|
|
1031
|
-
}, z.core.$strip>], "responseCode">;
|
|
1032
|
-
documentReference: z.ZodMiniObject<{
|
|
1033
|
-
id: z.ZodMiniString<string>;
|
|
1034
|
-
issueDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
1035
|
-
documentTypeCode: z.ZodMiniString<string>;
|
|
1036
|
-
}, z.core.$strip>;
|
|
1037
|
-
issuerParty: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1038
|
-
partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1039
|
-
id: z.ZodMiniString<string>;
|
|
1040
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1041
|
-
}, z.core.$strip>>;
|
|
1042
|
-
partyName: z.ZodMiniObject<{
|
|
1043
|
-
name: z.ZodMiniString<string>;
|
|
1044
|
-
}, z.core.$strip>;
|
|
1045
|
-
}, z.core.$strip>>;
|
|
1046
|
-
recipientParty: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1047
|
-
partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1048
|
-
id: z.ZodMiniString<string>;
|
|
1049
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1050
|
-
}, z.core.$strip>>;
|
|
1051
|
-
partyName: z.ZodMiniObject<{
|
|
1052
|
-
name: z.ZodMiniString<string>;
|
|
1053
|
-
}, z.core.$strip>;
|
|
1054
|
-
}, z.core.$strip>>;
|
|
1055
|
-
}, z.core.$strip>;
|
|
1056
|
-
type InvoiceResponseDocumentResponse = z.infer<typeof invoiceResponseDocumentResponseSchema>;
|
|
1057
|
-
/**
|
|
1058
|
-
* @description The invoice response is a descendant of the message level response with more fields.
|
|
1059
|
-
*/
|
|
1060
|
-
declare const invoiceResponseSchema: z.ZodMiniObject<{
|
|
1061
|
-
customizationId: z.ZodMiniString<string>;
|
|
1062
|
-
id: z.ZodMiniString<string>;
|
|
1063
|
-
issueDate: z.ZodMiniISODate;
|
|
1064
|
-
issueTime: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1065
|
-
profileId: z.ZodMiniLiteral<"urn:fdc:peppol.eu:poacc:bis:invoice_response:3">;
|
|
1066
|
-
senderParty: z.ZodMiniObject<{
|
|
1067
|
-
endpointId: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1068
|
-
id: z.ZodMiniString<string>;
|
|
1069
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1070
|
-
}, z.core.$strip>>;
|
|
1071
|
-
partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1072
|
-
id: z.ZodMiniString<string>;
|
|
1073
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1074
|
-
}, z.core.$strip>>;
|
|
1075
|
-
partyLegalEntity: z.ZodMiniObject<{
|
|
1076
|
-
registrationName: z.ZodMiniString<string>;
|
|
1077
|
-
}, z.core.$strip>;
|
|
1078
|
-
contact: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1079
|
-
electronicMail: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1080
|
-
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1081
|
-
telephone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1082
|
-
}, z.core.$strip>>;
|
|
1083
|
-
}, z.core.$strip>;
|
|
1084
|
-
receiverParty: z.ZodMiniObject<{
|
|
1085
|
-
endpointId: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1086
|
-
id: z.ZodMiniString<string>;
|
|
1087
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1088
|
-
}, z.core.$strip>>;
|
|
1089
|
-
partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1090
|
-
id: z.ZodMiniString<string>;
|
|
1091
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1092
|
-
}, z.core.$strip>>;
|
|
1093
|
-
partyLegalEntity: z.ZodMiniObject<{
|
|
1094
|
-
registrationName: z.ZodMiniString<string>;
|
|
1095
|
-
}, z.core.$strip>;
|
|
1096
|
-
}, z.core.$strip>;
|
|
1097
|
-
note: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1098
|
-
documentResponse: z.ZodMiniObject<{
|
|
1099
|
-
response: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
1100
|
-
responseCode: z.ZodMiniEnum<{
|
|
1101
|
-
CA: "CA";
|
|
1102
|
-
RE: "RE";
|
|
1103
|
-
UQ: "UQ";
|
|
1104
|
-
}>;
|
|
1105
|
-
effectiveDate: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniISODate, z.ZodMiniCodec<z.ZodMiniDate<Date>, z.ZodMiniISODate>]>>;
|
|
1106
|
-
status: z.ZodMiniArray<z.ZodMiniObject<{
|
|
1107
|
-
statusReasonCode: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
1108
|
-
value: z.ZodMiniString<string>;
|
|
1109
|
-
listId: z.ZodMiniLiteral<"OPStatusAction">;
|
|
1110
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1111
|
-
value: z.ZodMiniString<string>;
|
|
1112
|
-
listId: z.ZodMiniLiteral<"OPStatusReason">;
|
|
1113
|
-
}, z.core.$strip>], "listId">>;
|
|
1114
|
-
statusReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1115
|
-
condition: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1116
|
-
attributeId: z.ZodMiniString<string>;
|
|
1117
|
-
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1118
|
-
}, z.core.$strip>>>;
|
|
1119
|
-
}, z.core.$strip>>;
|
|
1120
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1121
|
-
responseCode: z.ZodMiniEnum<{
|
|
1122
|
-
AB: "AB";
|
|
1123
|
-
AP: "AP";
|
|
1124
|
-
IP: "IP";
|
|
1125
|
-
PD: "PD";
|
|
1126
|
-
}>;
|
|
1127
|
-
effectiveDate: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniISODate, z.ZodMiniCodec<z.ZodMiniDate<Date>, z.ZodMiniISODate>]>>;
|
|
1128
|
-
status: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1129
|
-
statusReasonCode: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
1130
|
-
value: z.ZodMiniString<string>;
|
|
1131
|
-
listId: z.ZodMiniLiteral<"OPStatusAction">;
|
|
1132
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1133
|
-
value: z.ZodMiniString<string>;
|
|
1134
|
-
listId: z.ZodMiniLiteral<"OPStatusReason">;
|
|
1135
|
-
}, z.core.$strip>], "listId">>;
|
|
1136
|
-
statusReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1137
|
-
condition: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1138
|
-
attributeId: z.ZodMiniString<string>;
|
|
1139
|
-
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1140
|
-
}, z.core.$strip>>>;
|
|
1141
|
-
}, z.core.$strip>>>;
|
|
1142
|
-
}, z.core.$strip>], "responseCode">;
|
|
1143
|
-
documentReference: z.ZodMiniObject<{
|
|
1144
|
-
id: z.ZodMiniString<string>;
|
|
1145
|
-
issueDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
1146
|
-
documentTypeCode: z.ZodMiniString<string>;
|
|
1147
|
-
}, z.core.$strip>;
|
|
1148
|
-
issuerParty: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1149
|
-
partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1150
|
-
id: z.ZodMiniString<string>;
|
|
1151
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1152
|
-
}, z.core.$strip>>;
|
|
1153
|
-
partyName: z.ZodMiniObject<{
|
|
1154
|
-
name: z.ZodMiniString<string>;
|
|
1155
|
-
}, z.core.$strip>;
|
|
1156
|
-
}, z.core.$strip>>;
|
|
1157
|
-
recipientParty: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1158
|
-
partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1159
|
-
id: z.ZodMiniString<string>;
|
|
1160
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1161
|
-
}, z.core.$strip>>;
|
|
1162
|
-
partyName: z.ZodMiniObject<{
|
|
1163
|
-
name: z.ZodMiniString<string>;
|
|
1164
|
-
}, z.core.$strip>;
|
|
1165
|
-
}, z.core.$strip>>;
|
|
1166
|
-
}, z.core.$strip>;
|
|
1167
|
-
}, z.core.$strip>;
|
|
1168
|
-
type PeppolInvoiceResponse = z.infer<typeof invoiceResponseSchema>;
|
|
1169
|
-
//#endregion
|
|
1170
|
-
//#region src/schemas/message-level-response-schema.d.ts
|
|
1171
|
-
declare const messageLevelResponse: z.ZodMiniObject<{
|
|
1172
|
-
customizationId: z.ZodMiniString<string>;
|
|
1173
|
-
profileId: z.ZodMiniLiteral<"urn:fdc:peppol.eu:poacc:bis:mlr:3">;
|
|
1174
|
-
id: z.ZodMiniString<string>;
|
|
1175
|
-
issueDate: z.ZodMiniISODate;
|
|
1176
|
-
issueTime: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1177
|
-
senderParty: z.ZodMiniObject<{
|
|
1178
|
-
endpointId: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1179
|
-
id: z.ZodMiniString<string>;
|
|
1180
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1181
|
-
}, z.core.$strip>>;
|
|
1182
|
-
}, z.core.$strip>;
|
|
1183
|
-
receiverParty: z.ZodMiniObject<{
|
|
1184
|
-
endpointId: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1185
|
-
id: z.ZodMiniString<string>;
|
|
1186
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1187
|
-
}, z.core.$strip>>;
|
|
1188
|
-
}, z.core.$strip>;
|
|
1189
|
-
documentResponse: z.ZodMiniObject<{
|
|
1190
|
-
response: z.ZodMiniObject<{
|
|
1191
|
-
responseCode: z.ZodMiniString<string>;
|
|
1192
|
-
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1193
|
-
}, z.core.$strip>;
|
|
1194
|
-
documentReference: z.ZodMiniObject<{
|
|
1195
|
-
id: z.ZodMiniString<string>;
|
|
1196
|
-
documentTypeCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1197
|
-
versionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1198
|
-
}, z.core.$strip>;
|
|
1199
|
-
lineResponse: z.ZodMiniArray<z.ZodMiniObject<{
|
|
1200
|
-
lineReference: z.ZodMiniObject<{
|
|
1201
|
-
lineId: z.ZodMiniString<string>;
|
|
1202
|
-
}, z.core.$strip>;
|
|
1203
|
-
response: z.ZodMiniObject<{
|
|
1204
|
-
responseCode: z.ZodMiniString<string>;
|
|
1205
|
-
description: z.ZodMiniString<string>;
|
|
1206
|
-
status: z.ZodMiniObject<{
|
|
1207
|
-
statusReasonCode: z.ZodMiniEnum<{
|
|
1208
|
-
BV: "BV";
|
|
1209
|
-
BW: "BW";
|
|
1210
|
-
SV: "SV";
|
|
1211
|
-
}>;
|
|
1212
|
-
}, z.core.$strip>;
|
|
1213
|
-
}, z.core.$strip>;
|
|
1214
|
-
}, z.core.$strip>>;
|
|
1215
|
-
}, z.core.$strip>;
|
|
1216
|
-
}, z.core.$strip>;
|
|
1217
|
-
type PeppolMessageLevelResponse = z.infer<typeof messageLevelResponse>;
|
|
1218
|
-
//#endregion
|
|
1219
|
-
//#region src/schemas/fields/credit-note-line-schema.d.ts
|
|
1220
|
-
/**
|
|
1221
|
-
* @description Credit note line is identical to Invoice line except the quantity element name.
|
|
1222
|
-
*/
|
|
1223
|
-
declare const creditNoteLineSchema: z.ZodMiniObject<{
|
|
1224
|
-
accountingCost: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1225
|
-
allowanceCharges: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
1226
|
-
amount: z.ZodMiniObject<{
|
|
1227
|
-
currencyId: z.ZodMiniString<string>;
|
|
1228
|
-
value: z.ZodMiniNumber<number>;
|
|
1229
|
-
}, z.core.$strip>;
|
|
1230
|
-
baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1231
|
-
currencyId: z.ZodMiniString<string>;
|
|
1232
|
-
value: z.ZodMiniNumber<number>;
|
|
1233
|
-
}, z.core.$strip>>;
|
|
1234
|
-
allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1235
|
-
multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1236
|
-
allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1237
|
-
chargeIndicator: z.ZodMiniLiteral<false>;
|
|
1238
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1239
|
-
amount: z.ZodMiniObject<{
|
|
1240
|
-
currencyId: z.ZodMiniString<string>;
|
|
1241
|
-
value: z.ZodMiniNumber<number>;
|
|
1242
|
-
}, z.core.$strip>;
|
|
1243
|
-
baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1244
|
-
currencyId: z.ZodMiniString<string>;
|
|
1245
|
-
value: z.ZodMiniNumber<number>;
|
|
1246
|
-
}, z.core.$strip>>;
|
|
1247
|
-
allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1248
|
-
multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1249
|
-
allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1250
|
-
chargeIndicator: z.ZodMiniLiteral<true>;
|
|
1251
|
-
}, z.core.$strip>], "chargeIndicator">>>;
|
|
1252
|
-
documentReference: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1253
|
-
id: z.ZodMiniString<string>;
|
|
1254
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1255
|
-
documentTypeCode: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
1256
|
-
}, z.core.$strip>>>;
|
|
1257
|
-
id: z.ZodMiniString<string>;
|
|
1258
|
-
invoicePeriod: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1259
|
-
endDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
1260
|
-
startDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
1261
|
-
}, z.core.$strip>>;
|
|
1262
|
-
item: z.ZodMiniObject<{
|
|
1263
|
-
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1264
|
-
name: z.ZodMiniString<string>;
|
|
1265
|
-
buyersItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1266
|
-
id: z.ZodMiniString<string>;
|
|
1267
|
-
}, z.core.$strip>>;
|
|
1268
|
-
sellersItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1269
|
-
id: z.ZodMiniString<string>;
|
|
1270
|
-
}, z.core.$strip>>;
|
|
1271
|
-
standardItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1272
|
-
id: z.ZodMiniObject<{
|
|
1273
|
-
id: z.ZodMiniString<string>;
|
|
1274
|
-
schemeId: z.ZodMiniString<string>;
|
|
1275
|
-
}, z.core.$strip>;
|
|
1276
|
-
}, z.core.$strip>>;
|
|
1277
|
-
originCountryCode: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1278
|
-
identificationCode: z.ZodMiniString<string>;
|
|
1279
|
-
}, z.core.$strip>>;
|
|
1280
|
-
commodityClassifications: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1281
|
-
itemClassification: z.ZodMiniObject<{
|
|
1282
|
-
id: z.ZodMiniString<string>;
|
|
1283
|
-
listId: z.ZodMiniString<string>;
|
|
1284
|
-
listVersionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1285
|
-
}, z.core.$strip>;
|
|
1286
|
-
}, z.core.$strip>>>;
|
|
1287
|
-
classifiedTaxCategory: z.ZodMiniObject<{
|
|
1288
|
-
id: z.ZodMiniString<string>;
|
|
1289
|
-
percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1290
|
-
taxSchemeId: z.ZodMiniObject<{
|
|
1291
|
-
id: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
1292
|
-
}, z.core.$strip>;
|
|
1293
|
-
}, z.core.$strip>;
|
|
1294
|
-
additionalItemProperties: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1295
|
-
name: z.ZodMiniString<string>;
|
|
1296
|
-
value: z.ZodMiniString<string>;
|
|
1297
|
-
}, z.core.$strip>>>;
|
|
1298
|
-
}, z.core.$strip>;
|
|
1299
|
-
lineExtensionAmount: z.ZodMiniObject<{
|
|
1300
|
-
currencyId: z.ZodMiniString<string>;
|
|
1301
|
-
value: z.ZodMiniNumber<number>;
|
|
1302
|
-
}, z.core.$strip>;
|
|
1303
|
-
note: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1304
|
-
orderLineReference: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1305
|
-
lineId: z.ZodMiniString<string>;
|
|
1306
|
-
}, z.core.$strip>>;
|
|
1307
|
-
price: z.ZodMiniObject<{
|
|
1308
|
-
allowanceCharge: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1309
|
-
amount: z.ZodMiniObject<{
|
|
1310
|
-
currencyId: z.ZodMiniString<string>;
|
|
1311
|
-
value: z.ZodMiniNumber<number>;
|
|
1312
|
-
}, z.core.$strip>;
|
|
1313
|
-
baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1314
|
-
currencyId: z.ZodMiniString<string>;
|
|
1315
|
-
value: z.ZodMiniNumber<number>;
|
|
1316
|
-
}, z.core.$strip>>;
|
|
1317
|
-
chargeIndicator: z.ZodMiniLiteral<false>;
|
|
1318
|
-
}, z.core.$strip>>;
|
|
1319
|
-
baseQuantity: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1320
|
-
unitCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1321
|
-
value: z.ZodMiniNumber<number>;
|
|
1322
|
-
}, z.core.$strip>>;
|
|
1323
|
-
priceAmount: z.ZodMiniObject<{
|
|
1324
|
-
currencyId: z.ZodMiniString<string>;
|
|
1325
|
-
value: z.ZodMiniNumber<number>;
|
|
1326
|
-
}, z.core.$strip>;
|
|
1327
|
-
}, z.core.$strip>;
|
|
1328
|
-
creditedQuantity: z.ZodMiniObject<{
|
|
1329
|
-
value: z.ZodMiniNumber<number>;
|
|
1330
|
-
unitCode: z.ZodMiniString<string>;
|
|
1331
|
-
}, z.core.$strip>;
|
|
1332
|
-
}, z.core.$strip>;
|
|
1333
|
-
type PeppolCreditNoteLine = z.infer<typeof creditNoteLineSchema>;
|
|
1334
|
-
//#endregion
|
|
1335
|
-
//#region src/schemas/fields/invoice-line-schema.d.ts
|
|
1336
|
-
/**
|
|
1337
|
-
* @summary Invoice line
|
|
1338
|
-
*
|
|
1339
|
-
* @name cac:InvoiceLine
|
|
1340
|
-
*/
|
|
1341
|
-
declare const invoiceLineSchema: z.ZodMiniObject<{
|
|
1342
|
-
accountingCost: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1343
|
-
allowanceCharges: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
1344
|
-
amount: z.ZodMiniObject<{
|
|
1345
|
-
currencyId: z.ZodMiniString<string>;
|
|
1346
|
-
value: z.ZodMiniNumber<number>;
|
|
1347
|
-
}, z.core.$strip>;
|
|
1348
|
-
baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1349
|
-
currencyId: z.ZodMiniString<string>;
|
|
1350
|
-
value: z.ZodMiniNumber<number>;
|
|
1351
|
-
}, z.core.$strip>>;
|
|
1352
|
-
allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1353
|
-
multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1354
|
-
allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1355
|
-
chargeIndicator: z.ZodMiniLiteral<false>;
|
|
1356
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1357
|
-
amount: z.ZodMiniObject<{
|
|
1358
|
-
currencyId: z.ZodMiniString<string>;
|
|
1359
|
-
value: z.ZodMiniNumber<number>;
|
|
1360
|
-
}, z.core.$strip>;
|
|
1361
|
-
baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1362
|
-
currencyId: z.ZodMiniString<string>;
|
|
1363
|
-
value: z.ZodMiniNumber<number>;
|
|
1364
|
-
}, z.core.$strip>>;
|
|
1365
|
-
allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1366
|
-
multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1367
|
-
allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1368
|
-
chargeIndicator: z.ZodMiniLiteral<true>;
|
|
1369
|
-
}, z.core.$strip>], "chargeIndicator">>>;
|
|
1370
|
-
documentReference: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1371
|
-
id: z.ZodMiniString<string>;
|
|
1372
|
-
schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1373
|
-
documentTypeCode: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
1374
|
-
}, z.core.$strip>>>;
|
|
1375
|
-
id: z.ZodMiniString<string>;
|
|
1376
|
-
invoicePeriod: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1377
|
-
endDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
1378
|
-
startDate: z.ZodMiniOptional<z.ZodMiniISODate>;
|
|
1379
|
-
}, z.core.$strip>>;
|
|
1380
|
-
item: z.ZodMiniObject<{
|
|
1381
|
-
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1382
|
-
name: z.ZodMiniString<string>;
|
|
1383
|
-
buyersItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1384
|
-
id: z.ZodMiniString<string>;
|
|
1385
|
-
}, z.core.$strip>>;
|
|
1386
|
-
sellersItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1387
|
-
id: z.ZodMiniString<string>;
|
|
1388
|
-
}, z.core.$strip>>;
|
|
1389
|
-
standardItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1390
|
-
id: z.ZodMiniObject<{
|
|
1391
|
-
id: z.ZodMiniString<string>;
|
|
1392
|
-
schemeId: z.ZodMiniString<string>;
|
|
1393
|
-
}, z.core.$strip>;
|
|
1394
|
-
}, z.core.$strip>>;
|
|
1395
|
-
originCountryCode: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1396
|
-
identificationCode: z.ZodMiniString<string>;
|
|
1397
|
-
}, z.core.$strip>>;
|
|
1398
|
-
commodityClassifications: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1399
|
-
itemClassification: z.ZodMiniObject<{
|
|
1400
|
-
id: z.ZodMiniString<string>;
|
|
1401
|
-
listId: z.ZodMiniString<string>;
|
|
1402
|
-
listVersionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1403
|
-
}, z.core.$strip>;
|
|
1404
|
-
}, z.core.$strip>>>;
|
|
1405
|
-
classifiedTaxCategory: z.ZodMiniObject<{
|
|
1406
|
-
id: z.ZodMiniString<string>;
|
|
1407
|
-
percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1408
|
-
taxSchemeId: z.ZodMiniObject<{
|
|
1409
|
-
id: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
1410
|
-
}, z.core.$strip>;
|
|
1411
|
-
}, z.core.$strip>;
|
|
1412
|
-
additionalItemProperties: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1413
|
-
name: z.ZodMiniString<string>;
|
|
1414
|
-
value: z.ZodMiniString<string>;
|
|
1415
|
-
}, z.core.$strip>>>;
|
|
1416
|
-
}, z.core.$strip>;
|
|
1417
|
-
lineExtensionAmount: z.ZodMiniObject<{
|
|
1418
|
-
currencyId: z.ZodMiniString<string>;
|
|
1419
|
-
value: z.ZodMiniNumber<number>;
|
|
1420
|
-
}, z.core.$strip>;
|
|
1421
|
-
note: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1422
|
-
orderLineReference: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1423
|
-
lineId: z.ZodMiniString<string>;
|
|
1424
|
-
}, z.core.$strip>>;
|
|
1425
|
-
price: z.ZodMiniObject<{
|
|
1426
|
-
allowanceCharge: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1427
|
-
amount: z.ZodMiniObject<{
|
|
1428
|
-
currencyId: z.ZodMiniString<string>;
|
|
1429
|
-
value: z.ZodMiniNumber<number>;
|
|
1430
|
-
}, z.core.$strip>;
|
|
1431
|
-
baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1432
|
-
currencyId: z.ZodMiniString<string>;
|
|
1433
|
-
value: z.ZodMiniNumber<number>;
|
|
1434
|
-
}, z.core.$strip>>;
|
|
1435
|
-
chargeIndicator: z.ZodMiniLiteral<false>;
|
|
1436
|
-
}, z.core.$strip>>;
|
|
1437
|
-
baseQuantity: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1438
|
-
unitCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1439
|
-
value: z.ZodMiniNumber<number>;
|
|
1440
|
-
}, z.core.$strip>>;
|
|
1441
|
-
priceAmount: z.ZodMiniObject<{
|
|
1442
|
-
currencyId: z.ZodMiniString<string>;
|
|
1443
|
-
value: z.ZodMiniNumber<number>;
|
|
1444
|
-
}, z.core.$strip>;
|
|
1445
|
-
}, z.core.$strip>;
|
|
1446
|
-
invoicedQuantity: z.ZodMiniObject<{
|
|
1447
|
-
value: z.ZodMiniNumber<number>;
|
|
1448
|
-
unitCode: z.ZodMiniString<string>;
|
|
1449
|
-
}, z.core.$strip>;
|
|
1450
|
-
}, z.core.$strip>;
|
|
1451
|
-
type PeppolInvoiceLine = z.infer<typeof invoiceLineSchema>;
|
|
1452
|
-
//#endregion
|
|
1453
|
-
//#region src/document.d.ts
|
|
1454
|
-
/**
|
|
1455
|
-
* @description This defines the types of documents that are sent/received through the peppol network.
|
|
1456
|
-
*/
|
|
1457
|
-
type PeppolDocument = AllUnionFields<PeppolInvoice | PeppolCreditNote>;
|
|
1458
|
-
/**
|
|
1459
|
-
* @description This defines the types of message that are sent/received through the peppol network.
|
|
1460
|
-
*/
|
|
1461
|
-
type PeppolMessage = AllUnionFields<PeppolMessageLevelResponse | PeppolInvoiceResponse>;
|
|
1462
|
-
type PeppolAllDocuments = AllUnionFields<PeppolDocument | PeppolMessage>;
|
|
1463
|
-
type PeppolDocumentLine = AllUnionFields<PeppolInvoiceLine | PeppolCreditNoteLine>;
|
|
1464
|
-
//#endregion
|
|
1465
|
-
export { PeppolInvoice as _, PeppolInvoiceLine as a, creditNoteSchema as b, creditNoteLineSchema as c, InvoiceDocumentResponseParty as d, InvoiceResponseDocumentReference as f, invoiceResponseSchema as g, PeppolInvoiceResponse as h, PeppolMessage as i, PeppolMessageLevelResponse as l, InvoiceResponseParty as m, PeppolDocument as n, invoiceLineSchema as o, InvoiceResponseDocumentResponse as p, PeppolDocumentLine as r, PeppolCreditNoteLine as s, PeppolAllDocuments as t, messageLevelResponse as u, invoiceSchema as v, PeppolCreditNote as y };
|
|
1466
|
-
//# sourceMappingURL=document-DCcObB-a.d.ts.map
|