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.
84 lines (82 loc) • 4.18 kB
TypeScript
/**
* Automatically generated by {@link Script} on Mon, 04 Aug 2025 12:40:40 GMT
*
* @see {@link https://github.com/jslno/node-zugferd/blob/main/packages/node-zugferd/scripts/codelists/transport/output.xml|Source}
*/
type TransportDefinition = {
key: string;
name: string;
value: string;
description: string;
};
type TransportCode = (typeof TRANSPORT)[number]["value"];
/**
* Automatically generated by {@link Script} on Mon, 04 Aug 2025 12:40:40 GMT
*
* @see {@link https://github.com/jslno/node-zugferd/blob/main/packages/node-zugferd/scripts/codelists/transport/output.xml|Source}
*/
declare const TRANSPORT: [{
readonly key: "TRANSPORT_MODE_NOT_SPECIFIED";
readonly name: "Transport mode not specified";
readonly value: "0";
readonly description: "Transport mode has not been specified\nNotes:\n1) This code can be used when the mode is not known or when information on it is not available at the time of issuing the document concerned.";
}, {
readonly key: "MARITIME_TRANSPORT";
readonly name: "Maritime transport";
readonly value: "1";
readonly description: "Transport of goods and/or persons is by sea.";
}, {
readonly key: "RAIL_TRANSPORT";
readonly name: "Rail transport";
readonly value: "2";
readonly description: "Transport of goods and/or persons is by rail.";
}, {
readonly key: "ROAD_TRANSPORT";
readonly name: "Road transport";
readonly value: "3";
readonly description: "Transport of goods and/or persons is by road.";
}, {
readonly key: "AIR_TRANSPORT";
readonly name: "Air transport";
readonly value: "4";
readonly description: "Transport of goods and/or persons is by air.";
}, {
readonly key: "MAIL";
readonly name: "Mail";
readonly value: "5";
readonly description: "Method to convey goods is by mail\nNotes:\n1) This code is provided for practical reasons, despite the fact that mail is not a genuine mode of transport. In many countries, the value of merchandise exported and imported by mail is considerable, but the exporter or importer concerned would be unable to state by which mode postal items had been conveyed.";
}, {
readonly key: "MULTIMODAL_TRANSPO";
readonly name: "Multimodal transpo";
readonly value: "6";
readonly description: "Method to convey goods and/or persons is by multimodal transport.\nNotes:\n1) This code is provided for practical reasons, despite the fact that multimodal transport is not a genuine mode of transport. It can be used when goods are carried by at least two different modes from a place at which the goods are taken in charge by a transport operator to a place designated for delivery, on the basis of one transport contract. (Operations of pick-up and delivery of goods carried out in the performance of a single mode of transport, as defined in such a contract, shall not be considered as multimodal transport).";
}, {
readonly key: "FIXED_TRANSPORT_INSTALLATION";
readonly name: "Fixed transport installation";
readonly value: "7";
readonly description: "Transport of item is via a fixed transport installation.\nNotes:\n1) This code applies to installations for continuous transport such as pipelines, ropeways and electric power lines.";
}, {
readonly key: "INLAND_WATER_TRANSPORT";
readonly name: "Inland water transport";
readonly value: "8";
readonly description: "Transport of goods and/or persons is by inland water.";
}, {
readonly key: "TRANSPORT_MODE_NOT_APPLICABLE";
readonly name: "Transport mode not applicable";
readonly value: "9";
readonly description: "The mode of transport is not applicable.";
}];
declare const transportCode: ("0" | "2" | "1" | "3" | "4" | "5" | "6" | "7" | "8" | "9")[];
declare const Transport: {
TRANSPORT_MODE_NOT_SPECIFIED: "0";
MARITIME_TRANSPORT: "1";
RAIL_TRANSPORT: "2";
ROAD_TRANSPORT: "3";
AIR_TRANSPORT: "4";
MAIL: "5";
MULTIMODAL_TRANSPO: "6";
FIXED_TRANSPORT_INSTALLATION: "7";
INLAND_WATER_TRANSPORT: "8";
TRANSPORT_MODE_NOT_APPLICABLE: "9";
};
export { TRANSPORT, Transport, type TransportCode, type TransportDefinition, transportCode };