UNPKG

node-zugferd

Version:

A Node.js library for creating ZUGFeRD/Factur-X compliant documents. Generating XML and embedding it into PDF/A files, enabling seamless e-invoicing and digital document compliance.

527 lines (525 loc) 19 kB
/** * Automatically generated by {@link Script} on Mon, 04 Aug 2025 12:40:39 GMT * * @see {@link https://github.com/jslno/node-zugferd/blob/main/packages/node-zugferd/scripts/codelists/payment/output.xml|Source} */ type PaymentDefinition = { key: string; name: string; value: string; usage?: string | undefined; }; type PaymentCode = (typeof PAYMENT)[number]["value"]; declare const PUBLISHED: "24A"; /** * Automatically generated by {@link Script} on Mon, 04 Aug 2025 12:40:39 GMT * * @see {@link https://github.com/jslno/node-zugferd/blob/main/packages/node-zugferd/scripts/codelists/payment/output.xml|Source} */ declare const PAYMENT: [{ readonly key: "INSTRUMENT_NOT_DEFINED"; readonly name: "Instrument not defined"; readonly value: "1"; readonly usage: undefined; }, { readonly key: "AUTOMATED_CLEARING_HOUSE_CREDIT"; readonly name: "Automated clearing house credit"; readonly value: "2"; readonly usage: undefined; }, { readonly key: "AUTOMATED_CLEARING_HOUSE_DEBIT"; readonly name: "Automated clearing house debit"; readonly value: "3"; readonly usage: undefined; }, { readonly key: "ACH_DEMAND_DEBIT_REVERSAL"; readonly name: "ACH demand debit reversal"; readonly value: "4"; readonly usage: undefined; }, { readonly key: "ACH_DEMAND_CREDIT_REVERSAL"; readonly name: "ACH demand credit reversal"; readonly value: "5"; readonly usage: undefined; }, { readonly key: "ACH_DEMAND_CREDIT"; readonly name: "ACH demand credit"; readonly value: "6"; readonly usage: undefined; }, { readonly key: "ACH_DEMAND_DEBIT"; readonly name: "ACH demand debit"; readonly value: "7"; readonly usage: undefined; }, { readonly key: "HOLD"; readonly name: "Hold"; readonly value: "8"; readonly usage: undefined; }, { readonly key: "NATIONAL_OR_REGIONAL_CLEARING"; readonly name: "National or regional clearing"; readonly value: "9"; readonly usage: undefined; }, { readonly key: "IN_CASH"; readonly name: "In cash"; readonly value: "10"; readonly usage: undefined; }, { readonly key: "ACH_SAVINGS_CREDIT_REVERSAL"; readonly name: "ACH savings credit reversal"; readonly value: "11"; readonly usage: undefined; }, { readonly key: "ACH_SAVINGS_DEBIT_REVERSAL"; readonly name: "ACH savings debit reversal"; readonly value: "12"; readonly usage: undefined; }, { readonly key: "ACH_SAVINGS_CREDIT"; readonly name: "ACH savings credit"; readonly value: "13"; readonly usage: undefined; }, { readonly key: "ACH_SAVINGS_DEBIT"; readonly name: "ACH savings debit"; readonly value: "14"; readonly usage: undefined; }, { readonly key: "BOOKENTRY_CREDIT"; readonly name: "Bookentry credit"; readonly value: "15"; readonly usage: undefined; }, { readonly key: "BOOKENTRY_DEBIT"; readonly name: "Bookentry debit"; readonly value: "16"; readonly usage: undefined; }, { readonly key: "ACH_DEMAND_CASH_CONCENTRATIONDISBURSEMENT_CCD_CREDIT"; readonly name: "ACH demand cash concentration/disbursement (CCD) credit"; readonly value: "17"; readonly usage: undefined; }, { readonly key: "ACH_DEMAND_CASH_CONCENTRATIONDISBURSEMENT_CCD_DEBIT"; readonly name: "ACH demand cash concentration/disbursement (CCD) debit"; readonly value: "18"; readonly usage: undefined; }, { readonly key: "ACH_DEMAND_CORPORATE_TRADE_PAYMENT_CTP_CREDIT"; readonly name: "ACH demand corporate trade payment (CTP) credit"; readonly value: "19"; readonly usage: undefined; }, { readonly key: "CHEQUE"; readonly name: "Cheque"; readonly value: "20"; readonly usage: undefined; }, { readonly key: "BANKERS_DRAFT"; readonly name: "Banker's draft"; readonly value: "21"; readonly usage: undefined; }, { readonly key: "CERTIFIED_BANKERS_DRAFT"; readonly name: "Certified banker's draft"; readonly value: "22"; readonly usage: undefined; }, { readonly key: "BANK_CHEQUE_ISSUED_BY_A_BANKING_OR_SIMILAR_ESTABLISHMENT"; readonly name: "Bank cheque (issued by a banking or similar establishment)"; readonly value: "23"; readonly usage: undefined; }, { readonly key: "BILL_OF_EXCHANGE_AWAITING_ACCEPTANCE"; readonly name: "Bill of exchange awaiting acceptance"; readonly value: "24"; readonly usage: undefined; }, { readonly key: "CERTIFIED_CHEQUE"; readonly name: "Certified cheque"; readonly value: "25"; readonly usage: undefined; }, { readonly key: "LOCAL_CHEQUE"; readonly name: "Local cheque"; readonly value: "26"; readonly usage: undefined; }, { readonly key: "ACH_DEMAND_CORPORATE_TRADE_PAYMENT_CTP_DEBIT"; readonly name: "ACH demand corporate trade payment (CTP) debit"; readonly value: "27"; readonly usage: undefined; }, { readonly key: "ACH_DEMAND_CORPORATE_TRADE_EXCHANGE_CTX_CREDIT"; readonly name: "ACH demand corporate trade exchange (CTX) credit"; readonly value: "28"; readonly usage: undefined; }, { readonly key: "ACH_DEMAND_CORPORATE_TRADE_EXCHANGE_CTX_DEBIT"; readonly name: "ACH demand corporate trade exchange (CTX) debit"; readonly value: "29"; readonly usage: undefined; }, { readonly key: "CREDIT_TRANSFER"; readonly name: "Credit transfer"; readonly value: "30"; readonly usage: "30"; }, { readonly key: "DEBIT_TRANSFER"; readonly name: "Debit transfer"; readonly value: "31"; readonly usage: "31"; }, { readonly key: "ACH_DEMAND_CASH_CONCENTRATIONDISBURSEMENT_PLUS_CCD"; readonly name: "ACH demand cash concentration/disbursement plus (CCD+)"; readonly value: "32"; readonly usage: undefined; }, { readonly key: "ACH_DEMAND_CASH_CONCENTRATIONDISBURSEMENT_PLUS_CCD"; readonly name: "ACH demand cash concentration/disbursement plus (CCD+)"; readonly value: "33"; readonly usage: undefined; }, { readonly key: "ACH_PREARRANGED_PAYMENT_AND_DEPOSIT_PPD"; readonly name: "ACH prearranged payment and deposit (PPD)"; readonly value: "34"; readonly usage: undefined; }, { readonly key: "ACH_SAVINGS_CASH_CONCENTRATIONDISBURSEMENT_CCD_CREDIT"; readonly name: "ACH savings cash concentration/disbursement (CCD) credit"; readonly value: "35"; readonly usage: undefined; }, { readonly key: "ACH_SAVINGS_CASH_CONCENTRATIONDISBURSEMENT_CCD_DEBIT"; readonly name: "ACH savings cash concentration/disbursement (CCD) debit"; readonly value: "36"; readonly usage: undefined; }, { readonly key: "ACH_SAVINGS_CORPORATE_TRADE_PAYMENT_CTP_CREDIT"; readonly name: "ACH savings corporate trade payment (CTP) credit"; readonly value: "37"; readonly usage: undefined; }, { readonly key: "ACH_SAVINGS_CORPORATE_TRADE_PAYMENT_CTP_DEBIT"; readonly name: "ACH savings corporate trade payment (CTP) debit"; readonly value: "38"; readonly usage: undefined; }, { readonly key: "ACH_SAVINGS_CORPORATE_TRADE_EXCHANGE_CTX_CREDIT"; readonly name: "ACH savings corporate trade exchange (CTX) credit"; readonly value: "39"; readonly usage: undefined; }, { readonly key: "ACH_SAVINGS_CORPORATE_TRADE_EXCHANGE_CTX_DEBIT"; readonly name: "ACH savings corporate trade exchange (CTX) debit"; readonly value: "40"; readonly usage: undefined; }, { readonly key: "ACH_SAVINGS_CASH_CONCENTRATIONDISBURSEMENT_PLUS_CCD"; readonly name: "ACH savings cash concentration/disbursement plus (CCD+)"; readonly value: "41"; readonly usage: undefined; }, { readonly key: "PAYMENT_TO_BANK_ACCOUNT"; readonly name: "Payment to bank account"; readonly value: "42"; readonly usage: undefined; }, { readonly key: "ACH_SAVINGS_CASH_CONCENTRATIONDISBURSEMENT_PLUS_CCD"; readonly name: "ACH savings cash concentration/disbursement plus (CCD+)"; readonly value: "43"; readonly usage: undefined; }, { readonly key: "ACCEPTED_BILL_OF_EXCHANGE"; readonly name: "Accepted bill of exchange"; readonly value: "44"; readonly usage: undefined; }, { readonly key: "REFERENCED_HOME_BANKING_CREDIT_TRANSFER"; readonly name: "Referenced home-banking credit transfer"; readonly value: "45"; readonly usage: undefined; }, { readonly key: "INTERBANK_DEBIT_TRANSFER"; readonly name: "Interbank debit transfer"; readonly value: "46"; readonly usage: undefined; }, { readonly key: "HOME_BANKING_DEBIT_TRANSFER"; readonly name: "Home-banking debit transfer"; readonly value: "47"; readonly usage: undefined; }, { readonly key: "BANK_CARD"; readonly name: "Bank card"; readonly value: "48"; readonly usage: "48"; }, { readonly key: "DIRECT_DEBIT"; readonly name: "Direct debit"; readonly value: "49"; readonly usage: undefined; }, { readonly key: "PAYMENT_BY_POSTGIRO"; readonly name: "Payment by postgiro"; readonly value: "50"; readonly usage: undefined; }, { readonly key: "FR_NORME_6_97_TELEREGLEMENT_CFONB_FRENCH_ORGANISATION_FOR"; readonly name: "FR, norme 6 97-Telereglement CFONB (French Organisation for"; readonly value: "51"; readonly usage: undefined; }, { readonly key: "URGENT_COMMERCIAL_PAYMENT"; readonly name: "Urgent commercial payment"; readonly value: "52"; readonly usage: undefined; }, { readonly key: "URGENT_TREASURY_PAYMENT"; readonly name: "Urgent Treasury Payment"; readonly value: "53"; readonly usage: undefined; }, { readonly key: "CREDIT_CARD"; readonly name: "Credit card"; readonly value: "54"; readonly usage: undefined; }, { readonly key: "DEBIT_CARD"; readonly name: "Debit card"; readonly value: "55"; readonly usage: undefined; }, { readonly key: "BANKGIRO"; readonly name: "Bankgiro"; readonly value: "56"; readonly usage: undefined; }, { readonly key: "STANDING_AGREEMENT"; readonly name: "Standing agreement"; readonly value: "57"; readonly usage: "57"; }, { readonly key: "SEPA_CREDIT_TRANSFER"; readonly name: "SEPA credit transfer"; readonly value: "58"; readonly usage: "58"; }, { readonly key: "SEPA_DIRECT_DEBIT"; readonly name: "SEPA direct debit"; readonly value: "59"; readonly usage: "59"; }, { readonly key: "PROMISSORY_NOTE"; readonly name: "Promissory note"; readonly value: "60"; readonly usage: undefined; }, { readonly key: "PROMISSORY_NOTE_SIGNED_BY_THE_DEBTOR"; readonly name: "Promissory note signed by the debtor"; readonly value: "61"; readonly usage: undefined; }, { readonly key: "PROMISSORY_NOTE_SIGNED_BY_THE_DEBTOR_AND_ENDORSED_BY_A_BANK"; readonly name: "Promissory note signed by the debtor and endorsed by a bank"; readonly value: "62"; readonly usage: undefined; }, { readonly key: "PROMISSORY_NOTE_SIGNED_BY_THE_DEBTOR_AND_ENDORSED_BY_A"; readonly name: "Promissory note signed by the debtor and endorsed by a"; readonly value: "63"; readonly usage: undefined; }, { readonly key: "PROMISSORY_NOTE_SIGNED_BY_A_BANK"; readonly name: "Promissory note signed by a bank"; readonly value: "64"; readonly usage: undefined; }, { readonly key: "PROMISSORY_NOTE_SIGNED_BY_A_BANK_AND_ENDORSED_BY_ANOTHER"; readonly name: "Promissory note signed by a bank and endorsed by another"; readonly value: "65"; readonly usage: undefined; }, { readonly key: "PROMISSORY_NOTE_SIGNED_BY_A_THIRD_PARTY"; readonly name: "Promissory note signed by a third party"; readonly value: "66"; readonly usage: undefined; }, { readonly key: "PROMISSORY_NOTE_SIGNED_BY_A_THIRD_PARTY_AND_ENDORSED_BY_A"; readonly name: "Promissory note signed by a third party and endorsed by a"; readonly value: "67"; readonly usage: undefined; }, { readonly key: "ONLINE_PAYMENT_SERVICE"; readonly name: "Online payment service"; readonly value: "68"; readonly usage: undefined; }, { readonly key: "TRANSFER_ADVICE"; readonly name: "Transfer Advice"; readonly value: "69"; readonly usage: undefined; }, { readonly key: "BILL_DRAWN_BY_THE_CREDITOR_ON_THE_DEBTOR"; readonly name: "Bill drawn by the creditor on the debtor"; readonly value: "70"; readonly usage: undefined; }, { readonly key: "BILL_DRAWN_BY_THE_CREDITOR_ON_A_BANK"; readonly name: "Bill drawn by the creditor on a bank"; readonly value: "74"; readonly usage: undefined; }, { readonly key: "BILL_DRAWN_BY_THE_CREDITOR_ENDORSED_BY_ANOTHER_BANK"; readonly name: "Bill drawn by the creditor, endorsed by another bank"; readonly value: "75"; readonly usage: undefined; }, { readonly key: "BILL_DRAWN_BY_THE_CREDITOR_ON_A_BANK_AND_ENDORSED_BY_A"; readonly name: "Bill drawn by the creditor on a bank and endorsed by a"; readonly value: "76"; readonly usage: undefined; }, { readonly key: "BILL_DRAWN_BY_THE_CREDITOR_ON_A_THIRD_PARTY"; readonly name: "Bill drawn by the creditor on a third party"; readonly value: "77"; readonly usage: undefined; }, { readonly key: "BILL_DRAWN_BY_CREDITOR_ON_THIRD_PARTY_ACCEPTED_AND"; readonly name: "Bill drawn by creditor on third party, accepted and"; readonly value: "78"; readonly usage: undefined; }, { readonly key: "NOT_TRANSFERABLE_BANKERS_DRAFT"; readonly name: "Not transferable banker's draft"; readonly value: "91"; readonly usage: undefined; }, { readonly key: "NOT_TRANSFERABLE_LOCAL_CHEQUE"; readonly name: "Not transferable local cheque"; readonly value: "92"; readonly usage: undefined; }, { readonly key: "REFERENCE_GIRO"; readonly name: "Reference giro"; readonly value: "93"; readonly usage: undefined; }, { readonly key: "URGENT_GIRO"; readonly name: "Urgent giro"; readonly value: "94"; readonly usage: undefined; }, { readonly key: "FREE_FORMAT_GIRO"; readonly name: "Free format giro"; readonly value: "95"; readonly usage: undefined; }, { readonly key: "REQUESTED_METHOD_FOR_PAYMENT_WAS_NOT_USED"; readonly name: "Requested method for payment was not used"; readonly value: "96"; readonly usage: undefined; }, { readonly key: "CLEARING_BETWEEN_PARTNERS"; readonly name: "Clearing between partners"; readonly value: "97"; readonly usage: undefined; }, { readonly key: "JP_ELECTRONICALLY_RECORDED_MONETARY_CLAIMS"; readonly name: "JP, Electronically Recorded Monetary Claims"; readonly value: "98"; readonly usage: undefined; }, { readonly key: "MUTUALLY_DEFINED"; readonly name: "Mutually defined"; readonly value: "ZZZ"; readonly usage: undefined; }]; declare const paymentCode: ("2" | "1" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31" | "32" | "33" | "34" | "35" | "36" | "37" | "38" | "39" | "40" | "41" | "42" | "43" | "44" | "45" | "46" | "47" | "48" | "49" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "60" | "61" | "62" | "63" | "64" | "65" | "66" | "67" | "68" | "69" | "70" | "74" | "75" | "76" | "77" | "78" | "91" | "92" | "93" | "94" | "95" | "96" | "97" | "98" | "ZZZ")[]; declare const Payment: { INSTRUMENT_NOT_DEFINED: "1"; AUTOMATED_CLEARING_HOUSE_CREDIT: "2"; AUTOMATED_CLEARING_HOUSE_DEBIT: "3"; ACH_DEMAND_DEBIT_REVERSAL: "4"; ACH_DEMAND_CREDIT_REVERSAL: "5"; ACH_DEMAND_CREDIT: "6"; ACH_DEMAND_DEBIT: "7"; HOLD: "8"; NATIONAL_OR_REGIONAL_CLEARING: "9"; IN_CASH: "10"; ACH_SAVINGS_CREDIT_REVERSAL: "11"; ACH_SAVINGS_DEBIT_REVERSAL: "12"; ACH_SAVINGS_CREDIT: "13"; ACH_SAVINGS_DEBIT: "14"; BOOKENTRY_CREDIT: "15"; BOOKENTRY_DEBIT: "16"; ACH_DEMAND_CASH_CONCENTRATIONDISBURSEMENT_CCD_CREDIT: "17"; ACH_DEMAND_CASH_CONCENTRATIONDISBURSEMENT_CCD_DEBIT: "18"; ACH_DEMAND_CORPORATE_TRADE_PAYMENT_CTP_CREDIT: "19"; CHEQUE: "20"; BANKERS_DRAFT: "21"; CERTIFIED_BANKERS_DRAFT: "22"; BANK_CHEQUE_ISSUED_BY_A_BANKING_OR_SIMILAR_ESTABLISHMENT: "23"; BILL_OF_EXCHANGE_AWAITING_ACCEPTANCE: "24"; CERTIFIED_CHEQUE: "25"; LOCAL_CHEQUE: "26"; ACH_DEMAND_CORPORATE_TRADE_PAYMENT_CTP_DEBIT: "27"; ACH_DEMAND_CORPORATE_TRADE_EXCHANGE_CTX_CREDIT: "28"; ACH_DEMAND_CORPORATE_TRADE_EXCHANGE_CTX_DEBIT: "29"; CREDIT_TRANSFER: "30"; DEBIT_TRANSFER: "31"; ACH_DEMAND_CASH_CONCENTRATIONDISBURSEMENT_PLUS_CCD: "32" | "33"; ACH_PREARRANGED_PAYMENT_AND_DEPOSIT_PPD: "34"; ACH_SAVINGS_CASH_CONCENTRATIONDISBURSEMENT_CCD_CREDIT: "35"; ACH_SAVINGS_CASH_CONCENTRATIONDISBURSEMENT_CCD_DEBIT: "36"; ACH_SAVINGS_CORPORATE_TRADE_PAYMENT_CTP_CREDIT: "37"; ACH_SAVINGS_CORPORATE_TRADE_PAYMENT_CTP_DEBIT: "38"; ACH_SAVINGS_CORPORATE_TRADE_EXCHANGE_CTX_CREDIT: "39"; ACH_SAVINGS_CORPORATE_TRADE_EXCHANGE_CTX_DEBIT: "40"; ACH_SAVINGS_CASH_CONCENTRATIONDISBURSEMENT_PLUS_CCD: "41" | "43"; PAYMENT_TO_BANK_ACCOUNT: "42"; ACCEPTED_BILL_OF_EXCHANGE: "44"; REFERENCED_HOME_BANKING_CREDIT_TRANSFER: "45"; INTERBANK_DEBIT_TRANSFER: "46"; HOME_BANKING_DEBIT_TRANSFER: "47"; BANK_CARD: "48"; DIRECT_DEBIT: "49"; PAYMENT_BY_POSTGIRO: "50"; FR_NORME_6_97_TELEREGLEMENT_CFONB_FRENCH_ORGANISATION_FOR: "51"; URGENT_COMMERCIAL_PAYMENT: "52"; URGENT_TREASURY_PAYMENT: "53"; CREDIT_CARD: "54"; DEBIT_CARD: "55"; BANKGIRO: "56"; STANDING_AGREEMENT: "57"; SEPA_CREDIT_TRANSFER: "58"; SEPA_DIRECT_DEBIT: "59"; PROMISSORY_NOTE: "60"; PROMISSORY_NOTE_SIGNED_BY_THE_DEBTOR: "61"; PROMISSORY_NOTE_SIGNED_BY_THE_DEBTOR_AND_ENDORSED_BY_A_BANK: "62"; PROMISSORY_NOTE_SIGNED_BY_THE_DEBTOR_AND_ENDORSED_BY_A: "63"; PROMISSORY_NOTE_SIGNED_BY_A_BANK: "64"; PROMISSORY_NOTE_SIGNED_BY_A_BANK_AND_ENDORSED_BY_ANOTHER: "65"; PROMISSORY_NOTE_SIGNED_BY_A_THIRD_PARTY: "66"; PROMISSORY_NOTE_SIGNED_BY_A_THIRD_PARTY_AND_ENDORSED_BY_A: "67"; ONLINE_PAYMENT_SERVICE: "68"; TRANSFER_ADVICE: "69"; BILL_DRAWN_BY_THE_CREDITOR_ON_THE_DEBTOR: "70"; BILL_DRAWN_BY_THE_CREDITOR_ON_A_BANK: "74"; BILL_DRAWN_BY_THE_CREDITOR_ENDORSED_BY_ANOTHER_BANK: "75"; BILL_DRAWN_BY_THE_CREDITOR_ON_A_BANK_AND_ENDORSED_BY_A: "76"; BILL_DRAWN_BY_THE_CREDITOR_ON_A_THIRD_PARTY: "77"; BILL_DRAWN_BY_CREDITOR_ON_THIRD_PARTY_ACCEPTED_AND: "78"; NOT_TRANSFERABLE_BANKERS_DRAFT: "91"; NOT_TRANSFERABLE_LOCAL_CHEQUE: "92"; REFERENCE_GIRO: "93"; URGENT_GIRO: "94"; FREE_FORMAT_GIRO: "95"; REQUESTED_METHOD_FOR_PAYMENT_WAS_NOT_USED: "96"; CLEARING_BETWEEN_PARTNERS: "97"; JP_ELECTRONICALLY_RECORDED_MONETARY_CLAIMS: "98"; MUTUALLY_DEFINED: "ZZZ"; }; export { PAYMENT, PUBLISHED, Payment, type PaymentCode, type PaymentDefinition, paymentCode };