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.
534 lines (532 loc) • 22.1 kB
TypeScript
/**
* Automatically generated by {@link Script} on Mon, 04 Aug 2025 12:40:40 GMT
*
* @see {@link https://service.unece.org/trade/untdid/d96a/uncl/uncl3139.htm|Source}
*/
type Untdid3139Definition = {
key: string;
name: string;
value: string;
description: string;
};
type Untdid3139Code = (typeof UNTDID_3139)[number]["value"];
/**
* Automatically generated by {@link Script} on Mon, 04 Aug 2025 12:40:40 GMT
*
* @see {@link https://service.unece.org/trade/untdid/d96a/uncl/uncl3139.htm|Source}
*/
declare const UNTDID_3139: [{
readonly key: "INSURANCE_CONTACT";
readonly name: "Insurance contact";
readonly value: "AA";
readonly description: "Department/person to contact for matters regarding insurance.";
}, {
readonly key: "WORKSHOP_CONTACT";
readonly name: "Workshop contact";
readonly value: "AB";
readonly description: "Department/person to contact for matters regarding the workshop.";
}, {
readonly key: "ACCEPTING_CONTACT";
readonly name: "Accepting contact";
readonly value: "AC";
readonly description: "Department/person in charge of accepting incoming goods.";
}, {
readonly key: "ACCOUNTING_CONTACT";
readonly name: "Accounting contact";
readonly value: "AD";
readonly description: "Department/person responsible for the accounts payable function within a corporation.";
}, {
readonly key: "CONTRACT_CONTACT";
readonly name: "Contract contact";
readonly value: "AE";
readonly description: "Department/person to contact for matters regarding contracts.";
}, {
readonly key: "LAND_REGISTRY_CONTACT";
readonly name: "Land registry contact";
readonly value: "AF";
readonly description: "Department/person to contact for matters regarding land registry.";
}, {
readonly key: "AGENT";
readonly name: "Agent";
readonly value: "AG";
readonly description: "Department/person of the agent which acts on behalf of another party.";
}, {
readonly key: "COORDINATION_CONTACT";
readonly name: "Coordination contact";
readonly value: "AH";
readonly description: "Department/person to contact for matters regarding technical coordination of works.";
}, {
readonly key: "PROJECT_MANAGEMENT_CONTACT";
readonly name: "Project management contact";
readonly value: "AI";
readonly description: "Department/person to contact for matters regarding project management on behalf of the contractor.";
}, {
readonly key: "INVESTMENT_CONTACT";
readonly name: "Investment contact";
readonly value: "AJ";
readonly description: "Department/person to contact for matters regarding investments.";
}, {
readonly key: "WORKS_MANAGEMENT_CONTACT";
readonly name: "Works management contact";
readonly value: "AK";
readonly description: "Department/person to contact for matters regarding management of works on behalf of the owner.";
}, {
readonly key: "PERSONNEL_CONTACT";
readonly name: "Personnel contact";
readonly value: "AL";
readonly description: "Department/person to contact for matters regarding personnel (human resources).";
}, {
readonly key: "CLAIMS_CONTACT";
readonly name: "Claims contact";
readonly value: "AM";
readonly description: "Department/person to contact for matters regarding claims.";
}, {
readonly key: "LABORATORY_CONTACT";
readonly name: "Laboratory contact";
readonly value: "AN";
readonly description: "Department/person to contact for laboratory matters.";
}, {
readonly key: "PLANTEQUIPMENT_CONTACT";
readonly name: "Plant/equipment contact";
readonly value: "AO";
readonly description: "Department/person to contact for matters regarding plant/equipment.";
}, {
readonly key: "ACCOUNTS_PAYABLE_CONTACT";
readonly name: "Accounts payable contact";
readonly value: "AP";
readonly description: "Department/person responsible for the accounts payable function within a corporation.";
}, {
readonly key: "QUANTITY_SURVEYOR_CONTACT";
readonly name: "Quantity surveyor contact";
readonly value: "AQ";
readonly description: "Department/person to contact for matters regarding quantity surveying.";
}, {
readonly key: "ACCOUNTS_RECEIVABLE_CONTACT";
readonly name: "Accounts receivable contact";
readonly value: "AR";
readonly description: "Department/person responsible for the accounts receivable within a corporation.";
}, {
readonly key: "PUBLIC_RELATIONS_CONTACT";
readonly name: "Public relations contact";
readonly value: "AS";
readonly description: "Department/person to contact for matters regarding public relations.";
}, {
readonly key: "TECHNICAL_CONTACT";
readonly name: "Technical contact";
readonly value: "AT";
readonly description: "Department/person to contact for matters regarding technical issues.";
}, {
readonly key: "CITY_WORKS_AUTHORITY_CONTACT";
readonly name: "City works authority contact";
readonly value: "AU";
readonly description: "Department/person to contact for matters regarding city works.";
}, {
readonly key: "MAINTENANCE_CONTACT";
readonly name: "Maintenance contact";
readonly value: "AV";
readonly description: "Department/person to contact for matters regarding maintenance.";
}, {
readonly key: "TOWN_PLANNING_CONTACT";
readonly name: "Town planning contact";
readonly value: "AW";
readonly description: "Department/person to contact for matters regarding town ` planning.";
}, {
readonly key: "TRAFFIC_AUTHORITY_CONTACT";
readonly name: "Traffic authority contact";
readonly value: "AX";
readonly description: "Department/person to contact for matters regarding traffic.";
}, {
readonly key: "ELECTRICITY_SUPPLY_CONTACT";
readonly name: "Electricity supply contact";
readonly value: "AY";
readonly description: "Department/person to contact for matters regarding electricity supply.";
}, {
readonly key: "GAS_SUPPLY_CONTACT";
readonly name: "Gas supply contact";
readonly value: "AZ";
readonly description: "Department/person to contact for matters regarding gas supply.";
}, {
readonly key: "WATER_SUPPLY_CONTACT";
readonly name: "Water supply contact";
readonly value: "BA";
readonly description: "Department/person to contact for matters regarding water supply.";
}, {
readonly key: "TELECOMMUNICATIONS_NETWORK_CONTACT";
readonly name: "Telecommunications network contact";
readonly value: "BB";
readonly description: "Department/person to contact for matters regarding telecommunications network.";
}, {
readonly key: "BANKING_CONTACT";
readonly name: "Banking contact";
readonly value: "BC";
readonly description: "Contact person for bank.";
}, {
readonly key: "NEW_DEVELOPMENTS_CONTACT";
readonly name: "New developments contact";
readonly value: "BD";
readonly description: "Department/person to contact for matters regarding new developments (e.g. construction).";
}, {
readonly key: "TRANSPORT_INFRASTRUCTURE_AUTHORITY";
readonly name: "Transport infrastructure authority";
readonly value: "BE";
readonly description: "Department/person to contact for matters regarding transport infrastructure.";
}, {
readonly key: "SERVICE_CONTACT";
readonly name: "Service contact";
readonly value: "BF";
readonly description: "Department/person to be contacted in service matters.";
}, {
readonly key: "ULTIMATE_CONSIGNEE";
readonly name: "Ultimate consignee";
readonly value: "BU";
readonly description: "Department/designated on the invoice or packing list as the final recipient of the stated merchandise.";
}, {
readonly key: "CARRIER";
readonly name: "Carrier";
readonly value: "CA";
readonly description: "(3126) Party undertaking or arranging transport of goods between named points.";
}, {
readonly key: "CHANGED_BY";
readonly name: "Changed by";
readonly value: "CB";
readonly description: "Person who made the change.";
}, {
readonly key: "RESPONSIBLE_PERSON_FOR_INFORMATION_PRODUCTION";
readonly name: "Responsible person for information production";
readonly value: "CC";
readonly description: "Responsible person to contact for matters regarding the production of information.";
}, {
readonly key: "RESPONSIBLE_PERSON_FOR_INFORMATION_DISSEMINATION";
readonly name: "Responsible person for information dissemination";
readonly value: "CD";
readonly description: "Responsible person to contact for matters regarding information dissemination.";
}, {
readonly key: "HEAD_OF_UNIT_FOR_COMPUTER_DATA_PROCESSING";
readonly name: "Head of unit for computer data processing";
readonly value: "CE";
readonly description: "Head of unit to contact for matters regarding computer data processing.";
}, {
readonly key: "HEAD_OF_UNIT_FOR_INFORMATION_PRODUCTION";
readonly name: "Head of unit for information production";
readonly value: "CF";
readonly description: "Head of unit to contact for matters regarding the production of information.";
}, {
readonly key: "HEAD_OF_UNIT_FOR_INFORMATION_DISSEMINATION";
readonly name: "Head of unit for information dissemination";
readonly value: "CG";
readonly description: "Head of unit to contact for matters regarding dissemination of information.";
}, {
readonly key: "CONSIGNEE";
readonly name: "Consignee";
readonly value: "CN";
readonly description: "(3132) Party to which goods are consigned.";
}, {
readonly key: "CONSIGNOR";
readonly name: "Consignor";
readonly value: "CO";
readonly description: "(3336) Party which, by contract with a carrier, consigns or sends goods with the carrier, or has them conveyed by him. Synonym: shipper/sender.";
}, {
readonly key: "RESPONSIBLE_PERSON_FOR_COMPUTER_DATA_PROCESSING";
readonly name: "Responsible person for computer data processing";
readonly value: "CP";
readonly description: "Responsible person to contact for matters regarding computer data processing.";
}, {
readonly key: "CUSTOMER_RELATIONS";
readonly name: "Customer relations";
readonly value: "CR";
readonly description: "Individual responsible for customer relations.";
}, {
readonly key: "CONFIRMED_WITH";
readonly name: "Confirmed with";
readonly value: "CW";
readonly description: "Person with whom the contents of the purchase order has been discussed and agreed (e.g. by telephone) prior to the sending of this message.";
}, {
readonly key: "DEPARTMENTEMPLOYEE_TO_EXECUTE_EXPORT_PROCEDURES";
readonly name: "Department/employee to execute export procedures";
readonly value: "DE";
readonly description: "Self explanatory.";
}, {
readonly key: "DEPARTMENTEMPLOYEE_TO_EXECUTE_IMPORT_PROCEDURES";
readonly name: "Department/employee to execute import procedures";
readonly value: "DI";
readonly description: "Self explanatory.";
}, {
readonly key: "DELIVERY_CONTACT";
readonly name: "Delivery contact";
readonly value: "DL";
readonly description: "Department/person responsible for delivery.";
}, {
readonly key: "ENTERED_BY";
readonly name: "Entered by";
readonly value: "EB";
readonly description: "Name of an individual who made the entry.";
}, {
readonly key: "EDUCATION_COORDINATOR";
readonly name: "Education coordinator";
readonly value: "EC";
readonly description: "Person in charge of coordination of education.";
}, {
readonly key: "ENGINEERING_CONTACT";
readonly name: "Engineering contact";
readonly value: "ED";
readonly description: "Department/person to contact for matters regarding engineering.";
}, {
readonly key: "EXPEDITOR";
readonly name: "Expeditor";
readonly value: "EX";
readonly description: "Party to be contacted where goods are (to be) expedited.";
}, {
readonly key: "GOODS_RECEIVING_CONTACT";
readonly name: "Goods receiving contact";
readonly value: "GR";
readonly description: "Department/person responsible for receiving the goods at the place of delivery.";
}, {
readonly key: "EMERGENCY_DANGEROUS_GOODS_CONTACT";
readonly name: "Emergency dangerous goods contact";
readonly value: "HE";
readonly description: "Party who is to be contacted to intervene in case of emergency.";
}, {
readonly key: "DANGEROUS_GOODS_CONTACT";
readonly name: "Dangerous goods contact";
readonly value: "HG";
readonly description: "Department/person to be contacted for details about the transportation of dangerous goods/hazardous material.";
}, {
readonly key: "HAZARDOUS_MATERIAL_CONTACT";
readonly name: "Hazardous material contact";
readonly value: "HM";
readonly description: "Department/person responsible for hazardous material control.";
}, {
readonly key: "INFORMATION_CONTACT";
readonly name: "Information contact";
readonly value: "IC";
readonly description: "Department/person to contact for questions regarding transactions.";
}, {
readonly key: "INSURER_CONTACT";
readonly name: "Insurer contact";
readonly value: "IN";
readonly description: "Self explanatory.";
}, {
readonly key: "PLACE_OF_DELIVERY_CONTACT";
readonly name: "Place of delivery contact";
readonly value: "LB";
readonly description: "Self explanatory.";
}, {
readonly key: "PLACE_OF_COLLECTION_CONTACT";
readonly name: "Place of collection contact";
readonly value: "LO";
readonly description: "Self explanatory.";
}, {
readonly key: "MATERIAL_CONTROL_CONTACT";
readonly name: "Material control contact";
readonly value: "MC";
readonly description: "Department/person responsible for the controlling/inspection of goods.";
}, {
readonly key: "MATERIAL_DISPOSITION_CONTACT";
readonly name: "Material disposition contact";
readonly value: "MD";
readonly description: "Department/person responsible for the disposition/scheduling of goods.";
}, {
readonly key: "MATERIAL_HANDLING_CONTACT";
readonly name: "Material handling contact";
readonly value: "MH";
readonly description: "Self explanatory.";
}, {
readonly key: "MESSAGE_RECIPIENT_CONTACT";
readonly name: "Message recipient contact";
readonly value: "MR";
readonly description: "Self explanatory.";
}, {
readonly key: "MESSAGE_SENDER_CONTACT";
readonly name: "Message sender contact";
readonly value: "MS";
readonly description: "Self explanatory.";
}, {
readonly key: "NOTIFICATION_CONTACT";
readonly name: "Notification contact";
readonly value: "NT";
readonly description: "Self explanatory.";
}, {
readonly key: "ORDER_CONTACT";
readonly name: "Order contact";
readonly value: "OC";
readonly description: "An individual to contact for questions regarding this order.";
}, {
readonly key: "PROTOTYPE_COORDINATOR";
readonly name: "Prototype coordinator";
readonly value: "PA";
readonly description: "Description to be provided.";
}, {
readonly key: "PURCHASING_CONTACT";
readonly name: "Purchasing contact";
readonly value: "PD";
readonly description: "Department/person responsible for issuing this purchase order.";
}, {
readonly key: "PAYEE_CONTACT";
readonly name: "Payee contact";
readonly value: "PE";
readonly description: "Self explanatory.";
}, {
readonly key: "PRODUCT_MANAGEMENT_CONTACT";
readonly name: "Product management contact";
readonly value: "PM";
readonly description: "Department/person to contact for questions regarding this order.";
}, {
readonly key: "QUALITY_ASSURANCE_CONTACT";
readonly name: "Quality assurance contact";
readonly value: "QA";
readonly description: "Quality assurance contact within an organization.";
}, {
readonly key: "QUALITY_COORDINATOR_CONTACT";
readonly name: "Quality coordinator contact";
readonly value: "QC";
readonly description: "Quality coordinator contact within an organization.";
}, {
readonly key: "RECEIVING_DOCK_CONTACT";
readonly name: "Receiving dock contact";
readonly value: "RD";
readonly description: "The receiving dock contact within an organization.";
}, {
readonly key: "SALES_ADMINISTRATION";
readonly name: "Sales administration";
readonly value: "SA";
readonly description: "Name of the sales administration contact within a corporation.";
}, {
readonly key: "SCHEDULE_CONTACT";
readonly name: "Schedule contact";
readonly value: "SC";
readonly description: "Name of the scheduling contact within a corporation.";
}, {
readonly key: "SHIPPING_CONTACT";
readonly name: "Shipping contact";
readonly value: "SD";
readonly description: "The shipping department contact within an organization.";
}, {
readonly key: "SALES_REPRESENTATIVE_OR_DEPARTMENT";
readonly name: "Sales representative or department";
readonly value: "SR";
readonly description: "The sales representative or department contact within an organization.";
}, {
readonly key: "SUPPLIER_CONTACT";
readonly name: "Supplier contact";
readonly value: "SU";
readonly description: "Department/person to be contacted at the supplier.";
}, {
readonly key: "TRAFFIC_ADMINISTRATOR";
readonly name: "Traffic administrator";
readonly value: "TA";
readonly description: "The traffic administrator contact within an organization.";
}, {
readonly key: "TEST_CONTACT";
readonly name: "Test contact";
readonly value: "TD";
readonly description: "Department/person responsible for testing contact.";
}, {
readonly key: "TECHNICAL_DOCUMENTATION_RECIPIENT";
readonly name: "Technical documentation recipient";
readonly value: "TI";
readonly description: "Department/person to receive technical documentation.";
}, {
readonly key: "TRANSPORT_CONTACT";
readonly name: "Transport contact";
readonly value: "TR";
readonly description: "Department/person in charge of transportation.";
}, {
readonly key: "WAREHOUSE";
readonly name: "Warehouse";
readonly value: "WH";
readonly description: "The warehouse contact within an organization.";
}, {
readonly key: "MUTUALLY_DEFINED";
readonly name: "Mutually defined";
readonly value: "ZZZ";
readonly description: "Self explanatory.";
}];
declare const untdid3139Code: ("AF" | "DI" | "DL" | "HM" | "ZZZ" | "AA" | "AJ" | "AU" | "CA" | "CD" | "CG" | "PA" | "SA" | "SU" | "WH" | "AD" | "AE" | "AG" | "AI" | "AL" | "AM" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "CC" | "CF" | "CN" | "CO" | "CR" | "CW" | "DE" | "EC" | "GR" | "IN" | "LB" | "MC" | "MD" | "MH" | "MR" | "MS" | "PE" | "PM" | "QA" | "SC" | "SD" | "SR" | "TD" | "TR" | "AN" | "AB" | "AC" | "AH" | "AK" | "AP" | "AV" | "AY" | "BC" | "BU" | "PD" | "EB" | "LO" | "NT" | "TI" | "CP" | "ED" | "EX" | "CB" | "CE" | "HE" | "HG" | "IC" | "OC" | "TA" | "QC" | "RD")[];
declare const Untdid3139: {
INSURANCE_CONTACT: "AA";
WORKSHOP_CONTACT: "AB";
ACCEPTING_CONTACT: "AC";
ACCOUNTING_CONTACT: "AD";
CONTRACT_CONTACT: "AE";
LAND_REGISTRY_CONTACT: "AF";
AGENT: "AG";
COORDINATION_CONTACT: "AH";
PROJECT_MANAGEMENT_CONTACT: "AI";
INVESTMENT_CONTACT: "AJ";
WORKS_MANAGEMENT_CONTACT: "AK";
PERSONNEL_CONTACT: "AL";
CLAIMS_CONTACT: "AM";
LABORATORY_CONTACT: "AN";
PLANTEQUIPMENT_CONTACT: "AO";
ACCOUNTS_PAYABLE_CONTACT: "AP";
QUANTITY_SURVEYOR_CONTACT: "AQ";
ACCOUNTS_RECEIVABLE_CONTACT: "AR";
PUBLIC_RELATIONS_CONTACT: "AS";
TECHNICAL_CONTACT: "AT";
CITY_WORKS_AUTHORITY_CONTACT: "AU";
MAINTENANCE_CONTACT: "AV";
TOWN_PLANNING_CONTACT: "AW";
TRAFFIC_AUTHORITY_CONTACT: "AX";
ELECTRICITY_SUPPLY_CONTACT: "AY";
GAS_SUPPLY_CONTACT: "AZ";
WATER_SUPPLY_CONTACT: "BA";
TELECOMMUNICATIONS_NETWORK_CONTACT: "BB";
BANKING_CONTACT: "BC";
NEW_DEVELOPMENTS_CONTACT: "BD";
TRANSPORT_INFRASTRUCTURE_AUTHORITY: "BE";
SERVICE_CONTACT: "BF";
ULTIMATE_CONSIGNEE: "BU";
CARRIER: "CA";
CHANGED_BY: "CB";
RESPONSIBLE_PERSON_FOR_INFORMATION_PRODUCTION: "CC";
RESPONSIBLE_PERSON_FOR_INFORMATION_DISSEMINATION: "CD";
HEAD_OF_UNIT_FOR_COMPUTER_DATA_PROCESSING: "CE";
HEAD_OF_UNIT_FOR_INFORMATION_PRODUCTION: "CF";
HEAD_OF_UNIT_FOR_INFORMATION_DISSEMINATION: "CG";
CONSIGNEE: "CN";
CONSIGNOR: "CO";
RESPONSIBLE_PERSON_FOR_COMPUTER_DATA_PROCESSING: "CP";
CUSTOMER_RELATIONS: "CR";
CONFIRMED_WITH: "CW";
DEPARTMENTEMPLOYEE_TO_EXECUTE_EXPORT_PROCEDURES: "DE";
DEPARTMENTEMPLOYEE_TO_EXECUTE_IMPORT_PROCEDURES: "DI";
DELIVERY_CONTACT: "DL";
ENTERED_BY: "EB";
EDUCATION_COORDINATOR: "EC";
ENGINEERING_CONTACT: "ED";
EXPEDITOR: "EX";
GOODS_RECEIVING_CONTACT: "GR";
EMERGENCY_DANGEROUS_GOODS_CONTACT: "HE";
DANGEROUS_GOODS_CONTACT: "HG";
HAZARDOUS_MATERIAL_CONTACT: "HM";
INFORMATION_CONTACT: "IC";
INSURER_CONTACT: "IN";
PLACE_OF_DELIVERY_CONTACT: "LB";
PLACE_OF_COLLECTION_CONTACT: "LO";
MATERIAL_CONTROL_CONTACT: "MC";
MATERIAL_DISPOSITION_CONTACT: "MD";
MATERIAL_HANDLING_CONTACT: "MH";
MESSAGE_RECIPIENT_CONTACT: "MR";
MESSAGE_SENDER_CONTACT: "MS";
NOTIFICATION_CONTACT: "NT";
ORDER_CONTACT: "OC";
PROTOTYPE_COORDINATOR: "PA";
PURCHASING_CONTACT: "PD";
PAYEE_CONTACT: "PE";
PRODUCT_MANAGEMENT_CONTACT: "PM";
QUALITY_ASSURANCE_CONTACT: "QA";
QUALITY_COORDINATOR_CONTACT: "QC";
RECEIVING_DOCK_CONTACT: "RD";
SALES_ADMINISTRATION: "SA";
SCHEDULE_CONTACT: "SC";
SHIPPING_CONTACT: "SD";
SALES_REPRESENTATIVE_OR_DEPARTMENT: "SR";
SUPPLIER_CONTACT: "SU";
TRAFFIC_ADMINISTRATOR: "TA";
TEST_CONTACT: "TD";
TECHNICAL_DOCUMENTATION_RECIPIENT: "TI";
TRANSPORT_CONTACT: "TR";
WAREHOUSE: "WH";
MUTUALLY_DEFINED: "ZZZ";
};
export { UNTDID_3139, Untdid3139, type Untdid3139Code, type Untdid3139Definition, untdid3139Code };