@dangl/angular-ava 1.4.4 → 1.4.5-beta0001
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.
|
@@ -21,10 +21,12 @@ export interface Invoice {
|
|
|
21
21
|
buyer?: Organization | undefined;
|
|
22
22
|
/** Information about the seller */
|
|
23
23
|
seller?: Organization | undefined;
|
|
24
|
+
/** Information about the sellers tax representative */
|
|
25
|
+
sellerTaxRepresentative?: Organization | undefined;
|
|
24
26
|
/** A payee is someone who receives the payment that is different from the seller */
|
|
25
27
|
payee?: Payee | undefined;
|
|
26
28
|
/** If present, this is an unstructured text that can be used to give additional information
|
|
27
|
-
about the invoice. */
|
|
29
|
+
about the invoice. Field BG-1 */
|
|
28
30
|
invoiceNotes?: InvoiceNote[] | undefined;
|
|
29
31
|
/** The period during which the services or goods were delivered */
|
|
30
32
|
invoicePeriod?: InvoicePeriod | undefined;
|
|
@@ -149,11 +151,398 @@ export interface Payee {
|
|
|
149
151
|
/** Represents a note / text in an invoice */
|
|
150
152
|
export interface InvoiceNote {
|
|
151
153
|
/** Short summary / heading. Should be a text code from this list:
|
|
152
|
-
https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred4451.htm
|
|
154
|
+
https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred4451.htm
|
|
155
|
+
Field BT-21 */
|
|
153
156
|
shortText?: string | undefined;
|
|
154
|
-
/**
|
|
157
|
+
/** Short summary / heading type. This will be automatically parsed from ShortText
|
|
158
|
+
and is a read-only property. */
|
|
159
|
+
shortTextType?: ShortTextType | undefined;
|
|
160
|
+
/** Explanation of this note
|
|
161
|
+
Field BT-22 */
|
|
155
162
|
longText?: string | undefined;
|
|
156
163
|
}
|
|
164
|
+
/** Type qualifying the subject of the text. */
|
|
165
|
+
export declare enum ShortTextType {
|
|
166
|
+
GoodsItemDescription = 0,
|
|
167
|
+
PaymentTerm = 1,
|
|
168
|
+
DangerousGoodsAdditionalInformation = 2,
|
|
169
|
+
DangerousGoodsTechnicalName = 3,
|
|
170
|
+
AcknowledgementDescription = 4,
|
|
171
|
+
RateAdditionalInformation = 5,
|
|
172
|
+
PartyInstructions = 6,
|
|
173
|
+
GeneralInformation = 7,
|
|
174
|
+
AdditionalConditionsOfSalePurchase = 8,
|
|
175
|
+
PriceConditions = 9,
|
|
176
|
+
GoodsDimensionsInCharacters = 10,
|
|
177
|
+
EquipmentReUsageRestrictions = 11,
|
|
178
|
+
HandlingRestriction = 12,
|
|
179
|
+
ErrorDescriptionFreeText = 13,
|
|
180
|
+
ResponseFreeText = 14,
|
|
181
|
+
PackageContentsDescription = 15,
|
|
182
|
+
TermsOfDelivery = 16,
|
|
183
|
+
BillOfLadingRemarks = 17,
|
|
184
|
+
ModeOfSettlementInformation = 18,
|
|
185
|
+
ConsignmentInvoiceInformation = 19,
|
|
186
|
+
ClearanceInvoiceInformation = 20,
|
|
187
|
+
LetterOfCreditInformation = 21,
|
|
188
|
+
LicenseInformation = 22,
|
|
189
|
+
CertificationStatements = 23,
|
|
190
|
+
AdditionalExportInformation = 24,
|
|
191
|
+
TariffStatements = 25,
|
|
192
|
+
MedicalHistory = 26,
|
|
193
|
+
ConditionsOfSaleOrPurchase = 27,
|
|
194
|
+
ContractDocumentType = 28,
|
|
195
|
+
AdditionalTermsAndOrConditionsDocumentaryCredit = 29,
|
|
196
|
+
InstructionsOrInformationAboutStandbyDocumentary = 30,
|
|
197
|
+
InstructionsOrInformationAboutPartialShipments = 31,
|
|
198
|
+
InstructionsOrInformationAboutTranshipments = 32,
|
|
199
|
+
AdditionalHandlingInstructionsDocumentaryCredit = 33,
|
|
200
|
+
DomesticRoutingInformation = 34,
|
|
201
|
+
ChargeableCategoryOfEquipment = 35,
|
|
202
|
+
GovernmentInformation = 36,
|
|
203
|
+
OnwardRoutingInformation = 37,
|
|
204
|
+
AccountingInformation = 38,
|
|
205
|
+
DiscrepancyInformation = 39,
|
|
206
|
+
ConfirmationInstructions = 40,
|
|
207
|
+
MethodOfIssuance = 41,
|
|
208
|
+
DocumentsDeliveryInstructions = 42,
|
|
209
|
+
AdditionalConditions = 43,
|
|
210
|
+
InformationInstructionsAboutAdditionalAmountsCovered = 44,
|
|
211
|
+
DeferredPaymentTermedAdditional = 45,
|
|
212
|
+
AcceptanceTermsAdditional = 46,
|
|
213
|
+
NegotiationTermsAdditional = 47,
|
|
214
|
+
DocumentNameAndDocumentaryRequirements = 48,
|
|
215
|
+
InstructionsInformationAboutRevolvingDocumentaryCredit = 49,
|
|
216
|
+
DocumentaryRequirements = 50,
|
|
217
|
+
AdditionalInformation = 51,
|
|
218
|
+
FactorAssignmentClause = 52,
|
|
219
|
+
Reason = 53,
|
|
220
|
+
Dispute = 54,
|
|
221
|
+
AdditionalAttributeInformation = 55,
|
|
222
|
+
AbsenceDeclaration = 56,
|
|
223
|
+
AggregationStatement = 57,
|
|
224
|
+
CompilationStatement = 58,
|
|
225
|
+
DefinitionalException = 59,
|
|
226
|
+
PrivacyStatement = 60,
|
|
227
|
+
QualityStatement = 61,
|
|
228
|
+
StatisticalDescription = 62,
|
|
229
|
+
StatisticalDefinition = 63,
|
|
230
|
+
StatisticalName = 64,
|
|
231
|
+
StatisticalTitle = 65,
|
|
232
|
+
OffDimensionInformation = 66,
|
|
233
|
+
UnexpectedStopsInformation = 67,
|
|
234
|
+
Principles = 68,
|
|
235
|
+
TermsAndDefinition = 69,
|
|
236
|
+
SegmentName = 70,
|
|
237
|
+
SimpleDataElementName = 71,
|
|
238
|
+
Scope = 72,
|
|
239
|
+
MessageTypeName = 73,
|
|
240
|
+
Introduction = 74,
|
|
241
|
+
Glossary = 75,
|
|
242
|
+
FunctionalDefinition = 76,
|
|
243
|
+
Examples = 77,
|
|
244
|
+
CoverPage = 78,
|
|
245
|
+
DependencySyntaxNotes = 79,
|
|
246
|
+
CodeValueName = 80,
|
|
247
|
+
CodeListName = 81,
|
|
248
|
+
ClarificationOfUsage = 82,
|
|
249
|
+
CompositeDataElementName = 83,
|
|
250
|
+
FieldOfApplication = 84,
|
|
251
|
+
TypeOfAssetsAndLiabilities = 85,
|
|
252
|
+
PromotionInformation = 86,
|
|
253
|
+
MeterCondition = 87,
|
|
254
|
+
MeterReadingInformation = 88,
|
|
255
|
+
TypeOfTransactionReason = 89,
|
|
256
|
+
TypeOfSurveyQuestion = 90,
|
|
257
|
+
CarriersAgentCounterInformation = 91,
|
|
258
|
+
DescriptionOfWorkItemOnEquipment = 92,
|
|
259
|
+
MessageDefinition = 93,
|
|
260
|
+
BookedItemInformation = 94,
|
|
261
|
+
SourceOfDocument = 95,
|
|
262
|
+
Note = 96,
|
|
263
|
+
FixedPartOfSegmentClarificationText = 97,
|
|
264
|
+
CharacteristicsOfGoods = 98,
|
|
265
|
+
AdditionalDischargeInstructions = 99,
|
|
266
|
+
ContainerStrippingInstructions = 100,
|
|
267
|
+
CscContainerSafetyConventionPlateInformation = 101,
|
|
268
|
+
CargoRemarks = 102,
|
|
269
|
+
TemperatureControlInstructions = 103,
|
|
270
|
+
TextRefersToExpectedData = 104,
|
|
271
|
+
TextRefersToReceivedData = 105,
|
|
272
|
+
SectionClarificationText = 106,
|
|
273
|
+
InformationToTheBeneficiary = 107,
|
|
274
|
+
InformationToTheApplicant = 108,
|
|
275
|
+
InstructionsToTheBeneficiary = 109,
|
|
276
|
+
InstructionsToTheApplicant = 110,
|
|
277
|
+
ControlledAtmosphere = 111,
|
|
278
|
+
TakeOffAnnotation = 112,
|
|
279
|
+
PriceVariationNarrative = 113,
|
|
280
|
+
DocumentaryCreditAmendmentInstructions = 114,
|
|
281
|
+
StandardMethodNarrative = 115,
|
|
282
|
+
ProjectNarrative = 116,
|
|
283
|
+
RadioactiveGoodsAdditionalInformation = 117,
|
|
284
|
+
BankToBankInformation = 118,
|
|
285
|
+
ReimbursementInstructions = 119,
|
|
286
|
+
ReasonForAmendingAMessage = 120,
|
|
287
|
+
InstructionsToThePayingAndOrAcceptingAndOr = 121,
|
|
288
|
+
InterestInstructions = 122,
|
|
289
|
+
AgentCommission = 123,
|
|
290
|
+
RemittingBankInstructions = 124,
|
|
291
|
+
InstructionsToTheCollectingBank = 125,
|
|
292
|
+
CollectionAmountInstructions = 126,
|
|
293
|
+
InternalAuditingInformation = 127,
|
|
294
|
+
Constraint = 128,
|
|
295
|
+
Comment = 129,
|
|
296
|
+
SemanticNote = 130,
|
|
297
|
+
HelpText = 131,
|
|
298
|
+
Legend = 132,
|
|
299
|
+
BatchCodeStructure = 133,
|
|
300
|
+
ProductApplication = 134,
|
|
301
|
+
CustomerComplaint = 135,
|
|
302
|
+
ProbableCauseOfFault = 136,
|
|
303
|
+
DefectDescription = 137,
|
|
304
|
+
RepairDescription = 138,
|
|
305
|
+
ReviewComments = 139,
|
|
306
|
+
Title = 140,
|
|
307
|
+
DescriptionOfAmount = 141,
|
|
308
|
+
Responsibilities = 142,
|
|
309
|
+
Supplier = 143,
|
|
310
|
+
PurchaseRegion = 144,
|
|
311
|
+
Affiliation = 145,
|
|
312
|
+
Borrower = 146,
|
|
313
|
+
LineOfBusiness = 147,
|
|
314
|
+
FinancialInstitution = 148,
|
|
315
|
+
BusinessFounder = 149,
|
|
316
|
+
BusinessHistory = 150,
|
|
317
|
+
BankingArrangements = 151,
|
|
318
|
+
BusinessOrigin = 152,
|
|
319
|
+
BrandNamesDescription = 153,
|
|
320
|
+
BusinessFinancingDetails = 154,
|
|
321
|
+
Competition = 155,
|
|
322
|
+
ConstructionProcessDetails = 156,
|
|
323
|
+
ConstructionSpecialty = 157,
|
|
324
|
+
ContractInformation = 158,
|
|
325
|
+
CorporateFiling = 159,
|
|
326
|
+
CustomerInformation = 160,
|
|
327
|
+
CopyrightNotice = 161,
|
|
328
|
+
ContingentDebt = 162,
|
|
329
|
+
ConvictionDetails = 163,
|
|
330
|
+
Equipment = 164,
|
|
331
|
+
WorkforceDescription = 165,
|
|
332
|
+
Exemption = 166,
|
|
333
|
+
FuturePlans = 167,
|
|
334
|
+
IntervieweeConversationInformation = 168,
|
|
335
|
+
IntangibleAsset = 169,
|
|
336
|
+
Inventory = 170,
|
|
337
|
+
Investment = 171,
|
|
338
|
+
IntercompanyRelationsInformation = 172,
|
|
339
|
+
JointVenture = 173,
|
|
340
|
+
Loan = 174,
|
|
341
|
+
LongTermDebt = 175,
|
|
342
|
+
Location = 176,
|
|
343
|
+
CurrentLegalStructure = 177,
|
|
344
|
+
MaritalContract = 178,
|
|
345
|
+
MarketingActivities = 179,
|
|
346
|
+
Merger = 180,
|
|
347
|
+
MarketableSecurities = 181,
|
|
348
|
+
BusinessDebt = 182,
|
|
349
|
+
OriginalLegalStructure = 183,
|
|
350
|
+
EmployeeSharingArrangements = 184,
|
|
351
|
+
OrganizationDetails = 185,
|
|
352
|
+
PublicRecordDetails = 186,
|
|
353
|
+
PriceRange = 187,
|
|
354
|
+
Qualifications = 188,
|
|
355
|
+
RegisteredActivity = 189,
|
|
356
|
+
CriminalSentence = 190,
|
|
357
|
+
SalesMethod = 191,
|
|
358
|
+
EducationalInstitutionInformation = 192,
|
|
359
|
+
StatusDetails = 193,
|
|
360
|
+
Sales = 194,
|
|
361
|
+
SpouseInformation = 195,
|
|
362
|
+
EducationalDegreeInformation = 196,
|
|
363
|
+
ShareholdingInformation = 197,
|
|
364
|
+
SalesTerritory = 198,
|
|
365
|
+
AccountantsComments = 199,
|
|
366
|
+
ExemptionLawLocation = 200,
|
|
367
|
+
ShareClassifications = 201,
|
|
368
|
+
Forecast = 202,
|
|
369
|
+
EventLocation = 203,
|
|
370
|
+
FacilityOccupancy = 204,
|
|
371
|
+
ImportAndExportDetails = 205,
|
|
372
|
+
AdditionalFacilityInformation = 206,
|
|
373
|
+
InventoryValue = 207,
|
|
374
|
+
Education = 208,
|
|
375
|
+
Event = 209,
|
|
376
|
+
Agent = 210,
|
|
377
|
+
DomesticallyAgreedFinancialStatementDetails = 211,
|
|
378
|
+
OtherCurrentAssetDescription = 212,
|
|
379
|
+
OtherCurrentLiabilityDescription = 213,
|
|
380
|
+
FormerBusinessActivity = 214,
|
|
381
|
+
TradeNameUse = 215,
|
|
382
|
+
SigningAuthority = 216,
|
|
383
|
+
Guarantee = 217,
|
|
384
|
+
HoldingCompanyOperation = 218,
|
|
385
|
+
ConsignmentRouting = 219,
|
|
386
|
+
LetterOfProtest = 220,
|
|
387
|
+
Question = 221,
|
|
388
|
+
PartyInformation = 222,
|
|
389
|
+
AreaBoundariesDescription = 223,
|
|
390
|
+
AdvertisementInformation = 224,
|
|
391
|
+
FinancialStatementDetails = 225,
|
|
392
|
+
AccessInstructions = 226,
|
|
393
|
+
Liquidity = 227,
|
|
394
|
+
CreditLine = 228,
|
|
395
|
+
WarrantyTerms = 229,
|
|
396
|
+
DivisionDescription = 230,
|
|
397
|
+
ReportingInstruction = 231,
|
|
398
|
+
ExaminationResult = 232,
|
|
399
|
+
LaboratoryResult = 233,
|
|
400
|
+
AllowanceChargeInformation = 234,
|
|
401
|
+
XRayResult = 235,
|
|
402
|
+
PathologyResult = 236,
|
|
403
|
+
InterventionDescription = 237,
|
|
404
|
+
SummaryOfAdmittance = 238,
|
|
405
|
+
MedicalTreatmentCourseDetail = 239,
|
|
406
|
+
Prognosis = 240,
|
|
407
|
+
InstructionToPatient = 241,
|
|
408
|
+
InstructionToPhysician = 242,
|
|
409
|
+
AllDocuments = 243,
|
|
410
|
+
MedicineTreatment = 244,
|
|
411
|
+
MedicineDosageAndAdministration = 245,
|
|
412
|
+
AvailabilityOfPatient = 246,
|
|
413
|
+
ReasonForServiceRequest = 247,
|
|
414
|
+
PurposeOfService = 248,
|
|
415
|
+
ArrivalConditions = 249,
|
|
416
|
+
ServiceRequestersComment = 250,
|
|
417
|
+
Authentication = 251,
|
|
418
|
+
RequestedLocationDescription = 252,
|
|
419
|
+
MedicineAdministrationCondition = 253,
|
|
420
|
+
PatientInformation = 254,
|
|
421
|
+
PrecautionaryMeasure = 255,
|
|
422
|
+
ServiceCharacteristic = 256,
|
|
423
|
+
PlannedEventComment = 257,
|
|
424
|
+
ExpectedDelayComment = 258,
|
|
425
|
+
TransportRequirementsComment = 259,
|
|
426
|
+
TemporaryApprovalCondition = 260,
|
|
427
|
+
CustomsValuationInformation = 261,
|
|
428
|
+
ValueAddedTaxVatMarginScheme = 262,
|
|
429
|
+
PassengerBaggageInformation = 263,
|
|
430
|
+
AdditionalProductInformationAddress = 264,
|
|
431
|
+
InformationToBePrintedOnDespatchAdvice = 265,
|
|
432
|
+
MissingGoodsRemarks = 266,
|
|
433
|
+
NonAcceptanceInformation = 267,
|
|
434
|
+
ReturnsInformation = 268,
|
|
435
|
+
SubLineItemInformation = 269,
|
|
436
|
+
TestInformation = 270,
|
|
437
|
+
ExternalLink = 271,
|
|
438
|
+
VatExemptionReason = 272,
|
|
439
|
+
TransportContractDocumentClause = 273,
|
|
440
|
+
InstructionToPrepareThePatient = 274,
|
|
441
|
+
MedicineTreatmentComment = 275,
|
|
442
|
+
ExaminationResultComment = 276,
|
|
443
|
+
ServiceRequestComment = 277,
|
|
444
|
+
PrescriptionReason = 278,
|
|
445
|
+
PrescriptionComment = 279,
|
|
446
|
+
ClinicalInvestigationComment = 280,
|
|
447
|
+
MedicinalSpecificationComment = 281,
|
|
448
|
+
EconomicContributionComment = 282,
|
|
449
|
+
StatusOfAPlan = 283,
|
|
450
|
+
RandomSampleTestInformation = 284,
|
|
451
|
+
PeriodOfTime = 285,
|
|
452
|
+
Legislation = 286,
|
|
453
|
+
SecurityMeasuresRequested = 287,
|
|
454
|
+
TransportContractDocumentRemark = 288,
|
|
455
|
+
PreviousPortOfCallSecurityInformation = 289,
|
|
456
|
+
SecurityInformation = 290,
|
|
457
|
+
WasteInformation = 291,
|
|
458
|
+
B2cMarketingInformationShortDescription = 292,
|
|
459
|
+
B2bMarketingInformationLongDescription = 293,
|
|
460
|
+
B2cMarketingInformationLongDescription = 294,
|
|
461
|
+
ProductIngredients = 295,
|
|
462
|
+
LocationShortName = 296,
|
|
463
|
+
PackagingMaterialInformation = 297,
|
|
464
|
+
FillerMaterialInformation = 298,
|
|
465
|
+
ShipToShipActivityInformation = 299,
|
|
466
|
+
PackageMaterialDescription = 300,
|
|
467
|
+
ConsumerLevelPackageMarking = 301,
|
|
468
|
+
CustomsClearanceInstructions = 302,
|
|
469
|
+
CustomsClearanceInstructionsExport = 303,
|
|
470
|
+
ChangeInformation = 304,
|
|
471
|
+
CustomsClearanceInstructionImport = 305,
|
|
472
|
+
ClearancePlaceRequested = 306,
|
|
473
|
+
LoadingRemarks = 307,
|
|
474
|
+
OrderInformation = 308,
|
|
475
|
+
CustomerRemarks = 309,
|
|
476
|
+
CustomsDeclarationInformation = 310,
|
|
477
|
+
DamageRemarks = 311,
|
|
478
|
+
DocumentIssuerDeclaration = 312,
|
|
479
|
+
DeliveryInformation = 313,
|
|
480
|
+
DeliveryInstructions = 314,
|
|
481
|
+
DocumentationInstructions = 315,
|
|
482
|
+
DutyDeclaration = 316,
|
|
483
|
+
EffectiveUsedRouting = 317,
|
|
484
|
+
FirstBlockToBePrintedOnTheTransportContract = 318,
|
|
485
|
+
GovernmentBillOfLadingInformation = 319,
|
|
486
|
+
EntireTransactionSet = 320,
|
|
487
|
+
FurtherInformationConcerningGGVSPar7 = 321,
|
|
488
|
+
ConsignmentHandlingInstruction = 322,
|
|
489
|
+
HazardInformation = 323,
|
|
490
|
+
ConsignmentInformationForConsignee = 324,
|
|
491
|
+
InsuranceInstructions = 325,
|
|
492
|
+
InvoiceMailingInstructions = 326,
|
|
493
|
+
CommercialInvoiceItemDescription = 327,
|
|
494
|
+
InsuranceInformation = 328,
|
|
495
|
+
InvoiceInstruction = 329,
|
|
496
|
+
InformationForRailwayPurpose = 330,
|
|
497
|
+
InlandTransportDetails = 331,
|
|
498
|
+
TestingInstructions = 332,
|
|
499
|
+
LocationAlias = 333,
|
|
500
|
+
LineItem = 334,
|
|
501
|
+
LoadingInstruction = 335,
|
|
502
|
+
MiscellaneousChargeOrder = 336,
|
|
503
|
+
MaritimeDeclarationOfHealth = 337,
|
|
504
|
+
AdditionalMarksNumbersInformation = 338,
|
|
505
|
+
OrderInstruction = 339,
|
|
506
|
+
OtherServiceInformation = 340,
|
|
507
|
+
PackingMarkingInformation = 341,
|
|
508
|
+
PaymentInstructionsInformation = 342,
|
|
509
|
+
PayablesInformation = 343,
|
|
510
|
+
PackagingInformation = 344,
|
|
511
|
+
PackagingTermsInformation = 345,
|
|
512
|
+
PaymentDetailRemittanceInformation = 346,
|
|
513
|
+
PaymentInformation = 347,
|
|
514
|
+
ProductInformation = 348,
|
|
515
|
+
PriceCalculationFormula = 349,
|
|
516
|
+
PriorityInformation = 350,
|
|
517
|
+
PurchasingInformation = 351,
|
|
518
|
+
QuarantineInstructions = 352,
|
|
519
|
+
QualityDemandsRequirements = 353,
|
|
520
|
+
QuotationInstructionInformation = 354,
|
|
521
|
+
RiskAndHandlingInformation = 355,
|
|
522
|
+
RegulatoryInformation = 356,
|
|
523
|
+
ReturnToOriginInformation = 357,
|
|
524
|
+
Receivables = 358,
|
|
525
|
+
ConsignmentRoute = 359,
|
|
526
|
+
SafetyInformation = 360,
|
|
527
|
+
ConsignmentDocumentaryInstruction = 361,
|
|
528
|
+
SpecialInstructions = 362,
|
|
529
|
+
ShipLineRequested = 363,
|
|
530
|
+
SpecialPermissionForTransportGenerally = 364,
|
|
531
|
+
SpecialPermissionConcerningTheGoodsToBeTransported = 365,
|
|
532
|
+
SpecialHandling = 366,
|
|
533
|
+
SpecialPermissionConcerningPackage = 367,
|
|
534
|
+
SpecialPermissionConcerningTransportMeans = 368,
|
|
535
|
+
SubsidiaryRiskNumberIataDgr = 369,
|
|
536
|
+
SpecialServiceRequest = 370,
|
|
537
|
+
SupplierRemarks = 371,
|
|
538
|
+
ConsignmentTariff = 372,
|
|
539
|
+
ConsignmentTransport = 373,
|
|
540
|
+
TransportationInformation = 374,
|
|
541
|
+
RequestedTariff = 375,
|
|
542
|
+
TaxDeclaration = 376,
|
|
543
|
+
WarehouseInstructionInformation = 377,
|
|
544
|
+
MutuallyDefined = 378
|
|
545
|
+
}
|
|
157
546
|
/** Represents an invoice period with start and end dates */
|
|
158
547
|
export interface InvoicePeriod {
|
|
159
548
|
/** The start date */
|
|
@@ -222,11 +611,14 @@ export interface InvoiceTotals {
|
|
|
222
611
|
export interface PaymentInstructions {
|
|
223
612
|
/** Additional text to describe the payment instructions. */
|
|
224
613
|
description?: string | undefined;
|
|
225
|
-
/** This should be a code according to
|
|
614
|
+
/** This should be a code according to UNCL 4461
|
|
226
615
|
to identify the type of payment. For example, code "58" means SEPA Credit Transfer,
|
|
227
616
|
and code "30" means non-SEPA Credit Transfer.
|
|
228
|
-
See this list: https://
|
|
617
|
+
See this list: https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL4461/ */
|
|
229
618
|
paymentTypeCode?: string | undefined;
|
|
619
|
+
/** This should be a type according to UNCL 4461
|
|
620
|
+
to identify the type of payment. */
|
|
621
|
+
paymentType?: PaymentType | undefined;
|
|
230
622
|
/** If a SEPA direct debit payment mean is used, then this reference should be provided.
|
|
231
623
|
It's the creditor identifier in SEPA, in German "Gläubiger-Identifikationsnummer".
|
|
232
624
|
Field BT-90 in XRechnung. */
|
|
@@ -234,6 +626,92 @@ export interface PaymentInstructions {
|
|
|
234
626
|
/** A list of payment means that can be used to pay the invoice. */
|
|
235
627
|
paymentMeans?: PaymentMeans[] | undefined;
|
|
236
628
|
}
|
|
629
|
+
/** Indication of the instrument of payment, which may include a guarantee. Enumeration values are self-descriptive, so no comments needed here. According to UNCL 4461, see: https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL4461/ */
|
|
630
|
+
export declare enum PaymentType {
|
|
631
|
+
MutuallyDefined = 0,
|
|
632
|
+
InstrumentNotDefined = 1,
|
|
633
|
+
AutomatedClearingHouseCredit = 2,
|
|
634
|
+
AutomatedClearingHouseDebit = 3,
|
|
635
|
+
ACHDemandDebitReversal = 4,
|
|
636
|
+
ACHDemandCreditReversal = 5,
|
|
637
|
+
ACHDemandCredit = 6,
|
|
638
|
+
ACHDemandDebit = 7,
|
|
639
|
+
Hold = 8,
|
|
640
|
+
NationalOrRegionalClearing = 9,
|
|
641
|
+
InCash = 10,
|
|
642
|
+
ACHSavingsCreditReversal = 11,
|
|
643
|
+
ACHSavingsDebitReversal = 12,
|
|
644
|
+
ACHSavingsCredit = 13,
|
|
645
|
+
ACHSavingsDebit = 14,
|
|
646
|
+
BookentryCredit = 15,
|
|
647
|
+
BookentryDebit = 16,
|
|
648
|
+
ACHDemandCashConcentrationDisbursementCCDCredit = 17,
|
|
649
|
+
ACHDemandCashConcentrationDisbursementCCDDebit = 18,
|
|
650
|
+
ACHDemandCorporateTradePaymentCTPCredit = 19,
|
|
651
|
+
Cheque = 20,
|
|
652
|
+
BankerSDraft = 21,
|
|
653
|
+
CertifiedBankerSDraft = 22,
|
|
654
|
+
BankChequeIssuedByABankingOrSimilarEstablishment = 23,
|
|
655
|
+
BillOfExchangeAwaitingAcceptance = 24,
|
|
656
|
+
CertifiedCheque = 25,
|
|
657
|
+
LocalCheque = 26,
|
|
658
|
+
ACHDemandCorporateTradePaymentCTPDebit = 27,
|
|
659
|
+
ACHDemandCorporateTradeExchangeCTXCredit = 28,
|
|
660
|
+
ACHDemandCorporateTradeExchangeCTXDebit = 29,
|
|
661
|
+
CreditTransfer = 30,
|
|
662
|
+
DebitTransfer = 31,
|
|
663
|
+
ACHDemandCashConcentrationDisbursementPlusCCDCredit = 32,
|
|
664
|
+
ACHDemandCashConcentrationDisbursementPlusCCDDebit = 33,
|
|
665
|
+
ACHPrearrangedPaymentAndDepositPPD = 34,
|
|
666
|
+
ACHSavingsCashConcentrationDisbursementCCDCredit = 35,
|
|
667
|
+
ACHSavingsCashConcentrationDisbursementCCDDebit = 36,
|
|
668
|
+
ACHSavingsCorporateTradePaymentCTPCredit = 37,
|
|
669
|
+
ACHSavingsCorporateTradePaymentCTPDebit = 38,
|
|
670
|
+
ACHSavingsCorporateTradeExchangeCTXCredit = 39,
|
|
671
|
+
ACHSavingsCorporateTradeExchangeCTXDebit = 40,
|
|
672
|
+
ACHSavingsCashConcentrationDisbursementPlusCCDCredit = 41,
|
|
673
|
+
PaymentToBankAccount = 42,
|
|
674
|
+
ACHSavingsCashConcentrationDisbursementPlusCCDDebit = 43,
|
|
675
|
+
AcceptedBillOfExchange = 44,
|
|
676
|
+
ReferencedHomeBankingCreditTransfer = 45,
|
|
677
|
+
InterbankDebitTransfer = 46,
|
|
678
|
+
HomeBankingDebitTransfer = 47,
|
|
679
|
+
BankCard = 48,
|
|
680
|
+
DirectDebit = 49,
|
|
681
|
+
PaymentByPostgiro = 50,
|
|
682
|
+
FRNorme697TelereglementCFONBFrenchOrganisationFor = 51,
|
|
683
|
+
UrgentCommercialPayment = 52,
|
|
684
|
+
UrgentTreasuryPayment = 53,
|
|
685
|
+
CreditCard = 54,
|
|
686
|
+
DebitCard = 55,
|
|
687
|
+
Bankgiro = 56,
|
|
688
|
+
StandingAgreement = 57,
|
|
689
|
+
SEPACreditTransfer = 58,
|
|
690
|
+
SEPADirectDebit = 59,
|
|
691
|
+
PromissoryNote = 60,
|
|
692
|
+
PromissoryNoteSignedByTheDebtor = 61,
|
|
693
|
+
PromissoryNoteSignedByTheDebtorAndEndorsedByABank = 62,
|
|
694
|
+
PromissoryNoteSignedByTheDebtorAndEndorsedByAThirdParty = 63,
|
|
695
|
+
PromissoryNoteSignedByABank = 64,
|
|
696
|
+
PromissoryNoteSignedByABankAndEndorsedByAnotherBank = 65,
|
|
697
|
+
PromissoryNoteSignedByAThirdParty = 66,
|
|
698
|
+
PromissoryNoteSignedByAThirdPartyAndEndorsedByABank = 67,
|
|
699
|
+
OnlinePaymentService = 68,
|
|
700
|
+
BillDrawnByTheCreditorOnTheDebtor = 70,
|
|
701
|
+
BillDrawnByTheCreditorOnABank = 74,
|
|
702
|
+
BillDrawnByTheCreditorEndorsedByAnotherBank = 75,
|
|
703
|
+
BillDrawnByTheCreditorOnABankAndEndorsedByAThirdParty = 76,
|
|
704
|
+
BillDrawnByTheCreditorOnAThirdParty = 77,
|
|
705
|
+
BillDrawnByCreditorOnThirdPartyAcceptedAndEndorsedByBank = 78,
|
|
706
|
+
NotTransferableBankerSDraft = 91,
|
|
707
|
+
NotTransferableLocalCheque = 92,
|
|
708
|
+
ReferenceGiro = 93,
|
|
709
|
+
UrgentGiro = 94,
|
|
710
|
+
FreeFormatGiro = 95,
|
|
711
|
+
RequestedMethodForPaymentWasNotUsed = 96,
|
|
712
|
+
ClearingBetweenPartners = 97,
|
|
713
|
+
JPElectronicallyRecordedMonetaryClaims = 98
|
|
714
|
+
}
|
|
237
715
|
/** Represents a payment means for an invoice */
|
|
238
716
|
export interface PaymentMeans {
|
|
239
717
|
/** This is typically the IBAN or account number
|
|
@@ -266,12 +744,17 @@ export interface SupportingDocument {
|
|
|
266
744
|
description?: string | undefined;
|
|
267
745
|
/** A link to the document in case this is an external reference */
|
|
268
746
|
externalDocumentUrl?: string | undefined;
|
|
269
|
-
/** The document in base64 encoded form as binary data */
|
|
747
|
+
/** The document in base64 encoded form as binary data. This is ignored if you set PlaceholderId. */
|
|
270
748
|
documentBase64?: string | undefined;
|
|
271
749
|
/** This should be present if DocumentBase64 is set. */
|
|
272
750
|
fileName?: string | undefined;
|
|
273
751
|
/** The type of the document */
|
|
274
752
|
documentMimeType?: AttachmentMimeType | undefined;
|
|
753
|
+
/** This is placeholder id to use instead of DocumentBase64 property for lazy-loading of documents. The use case of this is to avoid having the documents be processed in memory when they might be handled
|
|
754
|
+
by the calling code. For example, in the AVACloud webservice, this placeholder can be used to avoid having to send the Base64 encoded document to the server and then downloading it again in the result. If this
|
|
755
|
+
is given, the generated XML file will not be valid, since it will include the literal Guid value as a placeholder. You can use the 'xmlExportCallback' parameter in the XRechnungWriter to replace
|
|
756
|
+
the placeholder with the actual Base64 contents of the file in this library, or just use a string replace method if you're working with the XML in a different context. */
|
|
757
|
+
placeholderId?: string | undefined;
|
|
275
758
|
}
|
|
276
759
|
/** Describes a mime type of a document */
|
|
277
760
|
export declare enum AttachmentMimeType {
|
|
@@ -335,6 +818,116 @@ export interface InvoiceAllowance {
|
|
|
335
818
|
/** A reason code for the allowance according to UNTDID 5189.
|
|
336
819
|
See this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred5189.htm */
|
|
337
820
|
reasonCode?: string | undefined;
|
|
821
|
+
/** A reason type for the allowance according to UNTDID 5189. This will be automatically parsed from ReasonCode
|
|
822
|
+
and is a read-only property. */
|
|
823
|
+
reasonType?: AllowanceReasonType | undefined;
|
|
824
|
+
}
|
|
825
|
+
/** Type specifying the identification of an allowance from UNTDID 5189. See this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred5189.htm */
|
|
826
|
+
export declare enum AllowanceReasonType {
|
|
827
|
+
HandlingCommission = 1,
|
|
828
|
+
AmendmentCommission = 2,
|
|
829
|
+
AcceptanceCommission = 3,
|
|
830
|
+
CommissionForObtainingAcceptance = 4,
|
|
831
|
+
CommissionOnDelivery = 5,
|
|
832
|
+
AdvisingCommission = 6,
|
|
833
|
+
ConfirmationCommission = 7,
|
|
834
|
+
DeferredPaymentCommission = 8,
|
|
835
|
+
CommissionForTakingUpDocuments = 9,
|
|
836
|
+
OpeningCommission = 10,
|
|
837
|
+
FeeForPaymentUnderReserve = 11,
|
|
838
|
+
DiscrepancyFee = 12,
|
|
839
|
+
DomicilationCommission = 13,
|
|
840
|
+
CommissionForReleaseOfGoods = 14,
|
|
841
|
+
CollectionCommission = 15,
|
|
842
|
+
NegotiationCommission = 16,
|
|
843
|
+
ReturnCommission = 17,
|
|
844
|
+
BLSplittingCharges = 18,
|
|
845
|
+
TrustCommission = 19,
|
|
846
|
+
TransferCommission = 20,
|
|
847
|
+
CommissionForOpeningIrrevocableDocumentaryCredits = 21,
|
|
848
|
+
PreAdviceCommission = 22,
|
|
849
|
+
SupervisoryCommission = 23,
|
|
850
|
+
ModelCharges = 24,
|
|
851
|
+
RiskCommission = 25,
|
|
852
|
+
GuaranteeCommission = 26,
|
|
853
|
+
ReimbursementCommission = 27,
|
|
854
|
+
StampDuty = 28,
|
|
855
|
+
Brokerage = 29,
|
|
856
|
+
BankCharges = 30,
|
|
857
|
+
BankChargesInformation = 31,
|
|
858
|
+
CourierFee = 32,
|
|
859
|
+
PhoneFee = 33,
|
|
860
|
+
PostageFee = 34,
|
|
861
|
+
SWIFTFee = 35,
|
|
862
|
+
TelexFee = 36,
|
|
863
|
+
PenaltyForLateDeliveryOfDocuments = 37,
|
|
864
|
+
PenaltyForLateDeliveryOfValuationOfWorks = 38,
|
|
865
|
+
PenaltyForExecutionOfWorksBehindSchedule = 39,
|
|
866
|
+
OtherPenalties = 40,
|
|
867
|
+
BonusForWorksAheadOfSchedule = 41,
|
|
868
|
+
OtherBonus = 42,
|
|
869
|
+
ProjectManagementCost = 44,
|
|
870
|
+
ProRataRetention = 45,
|
|
871
|
+
ContractualRetention = 46,
|
|
872
|
+
OtherRetentions = 47,
|
|
873
|
+
InterestOnArrears = 48,
|
|
874
|
+
Interest = 49,
|
|
875
|
+
ChargePerCreditCover = 50,
|
|
876
|
+
ChargePerUnusedCreditCover = 51,
|
|
877
|
+
MinimumCommission = 52,
|
|
878
|
+
FactoringCommission = 53,
|
|
879
|
+
ChamberOfCommerceCharge = 54,
|
|
880
|
+
TransferCharges = 55,
|
|
881
|
+
RepatriationCharges = 56,
|
|
882
|
+
MiscellaneousCharges = 57,
|
|
883
|
+
ForeignExchangeCharges = 58,
|
|
884
|
+
AgreedDebitInterestCharge = 59,
|
|
885
|
+
ManufacturersConsumerDiscount = 60,
|
|
886
|
+
FaxAdviceCharge = 61,
|
|
887
|
+
DueToMilitaryStatus = 62,
|
|
888
|
+
DueToWorkAccident = 63,
|
|
889
|
+
SpecialAgreement = 64,
|
|
890
|
+
ProductionErrorDiscount = 65,
|
|
891
|
+
NewOutletDiscount = 66,
|
|
892
|
+
SampleDiscount = 67,
|
|
893
|
+
EndOfRangeDiscount = 68,
|
|
894
|
+
ChargeForACustomerSpecificFinish = 69,
|
|
895
|
+
IncotermDiscount = 70,
|
|
896
|
+
PointOfSalesThresholdAllowance = 71,
|
|
897
|
+
TechnicalModificationCosts = 72,
|
|
898
|
+
JobOrderProductionCosts = 73,
|
|
899
|
+
OffPremisesCosts = 74,
|
|
900
|
+
AdditionalProcessingCosts = 75,
|
|
901
|
+
AttestingCharge = 76,
|
|
902
|
+
RushDeliverySurcharge = 77,
|
|
903
|
+
SpecialConstructionCosts = 78,
|
|
904
|
+
FreightCharges = 79,
|
|
905
|
+
PackingCharge = 80,
|
|
906
|
+
RepairCharge = 81,
|
|
907
|
+
LoadingCharge = 82,
|
|
908
|
+
SetupCharge = 83,
|
|
909
|
+
TestingCharge = 84,
|
|
910
|
+
WarehousingCharge = 85,
|
|
911
|
+
GoldSurcharge = 86,
|
|
912
|
+
CopperSurcharge = 87,
|
|
913
|
+
MaterialSurchargeDeduction = 88,
|
|
914
|
+
LeadSurcharge = 89,
|
|
915
|
+
PriceIndexSurcharge = 90,
|
|
916
|
+
PlatinumSurcharge = 91,
|
|
917
|
+
SilverSurcharge = 92,
|
|
918
|
+
WolframSurcharge = 93,
|
|
919
|
+
AluminumSurcharge = 94,
|
|
920
|
+
Discount = 95,
|
|
921
|
+
Insurance = 96,
|
|
922
|
+
MinimumOrderMinimumBillingCharge = 97,
|
|
923
|
+
MaterialSurchargeSpecialMaterials = 98,
|
|
924
|
+
Surcharge = 99,
|
|
925
|
+
SpecialRebate = 100,
|
|
926
|
+
CarbonFootprintCharge = 101,
|
|
927
|
+
FixedLongTerm = 102,
|
|
928
|
+
Temporary = 103,
|
|
929
|
+
Standard = 104,
|
|
930
|
+
YearlyTurnover = 105
|
|
338
931
|
}
|
|
339
932
|
/** This describes an charge in an invoice, which is a surcharge to the total amount */
|
|
340
933
|
export interface InvoiceCharge {
|
|
@@ -355,8 +948,175 @@ export interface InvoiceCharge {
|
|
|
355
948
|
is provided, otherwise this one takes precedence. */
|
|
356
949
|
reason?: string | undefined;
|
|
357
950
|
/** A reason code for the charge according to UNTDID 7161.
|
|
358
|
-
See this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/
|
|
951
|
+
See this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred7161.htm */
|
|
359
952
|
reasonCode?: string | undefined;
|
|
953
|
+
/** A reason type for the charge according to UNTDID 7161. This will be automatically parsed from ReasonCode
|
|
954
|
+
and is a read-only property. */
|
|
955
|
+
reasonType?: ChargeReasonType | undefined;
|
|
956
|
+
}
|
|
957
|
+
/** Type specifying a special service from UNTDID 7161. See this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred7161.htm */
|
|
958
|
+
export declare enum ChargeReasonType {
|
|
959
|
+
Advertising = 0,
|
|
960
|
+
Telecommunication = 1,
|
|
961
|
+
TechnicalModification = 2,
|
|
962
|
+
JobOrderProduction = 3,
|
|
963
|
+
Outlays = 4,
|
|
964
|
+
OffPremises = 5,
|
|
965
|
+
AdditionalProcessing = 6,
|
|
966
|
+
Attesting = 7,
|
|
967
|
+
Acceptance = 8,
|
|
968
|
+
RushDelivery = 9,
|
|
969
|
+
SpecialConstruction = 10,
|
|
970
|
+
AirportFacilities = 11,
|
|
971
|
+
Concession = 12,
|
|
972
|
+
CompulsoryStorage = 13,
|
|
973
|
+
FuelRemoval = 14,
|
|
974
|
+
IntoPlane = 15,
|
|
975
|
+
Overtime = 16,
|
|
976
|
+
Tooling = 17,
|
|
977
|
+
Miscellaneous = 18,
|
|
978
|
+
AdditionalPackaging = 19,
|
|
979
|
+
Dunnage = 20,
|
|
980
|
+
Containerisation = 21,
|
|
981
|
+
CartonPacking = 22,
|
|
982
|
+
HessianWrapped = 23,
|
|
983
|
+
PolyethyleneWrapPacking = 24,
|
|
984
|
+
MiscellaneousTreatment = 25,
|
|
985
|
+
EnamellingTreatment = 26,
|
|
986
|
+
HeatTreatment = 27,
|
|
987
|
+
PlatingTreatment = 28,
|
|
988
|
+
Painting = 29,
|
|
989
|
+
Polishing = 30,
|
|
990
|
+
Priming = 31,
|
|
991
|
+
PreservationTreatment = 32,
|
|
992
|
+
Fitting = 33,
|
|
993
|
+
Consolidation = 34,
|
|
994
|
+
BillOfLading = 35,
|
|
995
|
+
Airbag = 36,
|
|
996
|
+
Transfer = 37,
|
|
997
|
+
Slipsheet = 38,
|
|
998
|
+
Binding = 39,
|
|
999
|
+
RepairOrReplacementOfBrokenReturnablePackage = 40,
|
|
1000
|
+
EfficientLogistics = 41,
|
|
1001
|
+
Merchandising = 42,
|
|
1002
|
+
ProductMix = 43,
|
|
1003
|
+
OtherServices = 44,
|
|
1004
|
+
PickUp = 45,
|
|
1005
|
+
ChronicIllness = 46,
|
|
1006
|
+
NewProductIntroduction = 47,
|
|
1007
|
+
DirectDelivery = 48,
|
|
1008
|
+
Diversion = 49,
|
|
1009
|
+
Disconnect = 50,
|
|
1010
|
+
Distribution = 51,
|
|
1011
|
+
HandlingOfHazardousCargo = 52,
|
|
1012
|
+
RentsAndLeases = 53,
|
|
1013
|
+
LocationDifferential = 54,
|
|
1014
|
+
AircraftRefueling = 55,
|
|
1015
|
+
FuelShippedIntoStorage = 56,
|
|
1016
|
+
CashOnDelivery = 57,
|
|
1017
|
+
SmallOrderProcessingService = 58,
|
|
1018
|
+
ClericalOrAdministrativeServices = 59,
|
|
1019
|
+
Guarantee = 60,
|
|
1020
|
+
CollectionAndRecycling = 61,
|
|
1021
|
+
CopyrightFeeCollection = 62,
|
|
1022
|
+
VeterinaryInspectionService = 63,
|
|
1023
|
+
PensionerService = 64,
|
|
1024
|
+
MedicineFreePassHolder = 65,
|
|
1025
|
+
EnvironmentalProtectionService = 66,
|
|
1026
|
+
EnvironmentalCleanUpService = 67,
|
|
1027
|
+
NationalChequeProcessingServiceOutsideAccountArea = 68,
|
|
1028
|
+
NationalPaymentServiceOutsideAccountArea = 69,
|
|
1029
|
+
NationalPaymentServiceWithinAccountArea = 70,
|
|
1030
|
+
Adjustments = 71,
|
|
1031
|
+
Authentication = 72,
|
|
1032
|
+
Cataloguing = 73,
|
|
1033
|
+
Cartage = 74,
|
|
1034
|
+
Certification = 75,
|
|
1035
|
+
CertificateOfConformance = 76,
|
|
1036
|
+
CertificateOfOrigin = 77,
|
|
1037
|
+
Cutting = 78,
|
|
1038
|
+
ConsularService = 79,
|
|
1039
|
+
CustomerCollection = 80,
|
|
1040
|
+
PayrollPaymentService = 81,
|
|
1041
|
+
CashTransportation = 82,
|
|
1042
|
+
HomeBankingService = 83,
|
|
1043
|
+
BilateralAgreementService = 84,
|
|
1044
|
+
InsuranceBrokerageService = 85,
|
|
1045
|
+
ChequeGeneration = 86,
|
|
1046
|
+
PreferentialMerchandisingLocation = 87,
|
|
1047
|
+
Crane = 88,
|
|
1048
|
+
SpecialColourService = 89,
|
|
1049
|
+
Sorting = 90,
|
|
1050
|
+
BatteryCollectionAndRecycling = 91,
|
|
1051
|
+
ProductTakeBackFee = 92,
|
|
1052
|
+
CarLoading = 93,
|
|
1053
|
+
Cleaning = 94,
|
|
1054
|
+
CigaretteStamping = 95,
|
|
1055
|
+
CountAndRecount = 96,
|
|
1056
|
+
LayoutDesign = 97,
|
|
1057
|
+
DriverAssignedUnloading = 98,
|
|
1058
|
+
Delivery = 99,
|
|
1059
|
+
Engraving = 100,
|
|
1060
|
+
Expediting = 101,
|
|
1061
|
+
ExchangeRateGuarantee = 102,
|
|
1062
|
+
Fabrication = 103,
|
|
1063
|
+
FreightEqualization = 104,
|
|
1064
|
+
FreightExtraordinaryHandling = 105,
|
|
1065
|
+
FreightService = 106,
|
|
1066
|
+
FillingHandling = 107,
|
|
1067
|
+
Financing = 108,
|
|
1068
|
+
Grinding = 109,
|
|
1069
|
+
Hose = 110,
|
|
1070
|
+
Handling = 111,
|
|
1071
|
+
HoistingAndHauling = 112,
|
|
1072
|
+
Installation = 113,
|
|
1073
|
+
InstallationAndWarranty = 114,
|
|
1074
|
+
InsideDelivery = 115,
|
|
1075
|
+
Inspection = 116,
|
|
1076
|
+
InstallationAndTraining = 117,
|
|
1077
|
+
Invoicing = 118,
|
|
1078
|
+
Koshering = 119,
|
|
1079
|
+
CarrierCount = 120,
|
|
1080
|
+
Labelling = 121,
|
|
1081
|
+
Labour = 122,
|
|
1082
|
+
RepairAndReturn = 123,
|
|
1083
|
+
Legalisation = 124,
|
|
1084
|
+
Mounting = 125,
|
|
1085
|
+
MailInvoice = 126,
|
|
1086
|
+
MailInvoiceToEachLocation = 127,
|
|
1087
|
+
NonReturnableContainers = 128,
|
|
1088
|
+
OutsideCableConnectors = 129,
|
|
1089
|
+
InvoiceWithShipment = 130,
|
|
1090
|
+
PhosphatizingSteelTreatment = 131,
|
|
1091
|
+
Packing = 132,
|
|
1092
|
+
Palletizing = 133,
|
|
1093
|
+
Repacking = 134,
|
|
1094
|
+
Repair = 135,
|
|
1095
|
+
ReturnableContainer = 136,
|
|
1096
|
+
Restocking = 137,
|
|
1097
|
+
ReDelivery = 138,
|
|
1098
|
+
Refurbishing = 139,
|
|
1099
|
+
RailWagonHire = 140,
|
|
1100
|
+
Loading = 141,
|
|
1101
|
+
Salvaging = 142,
|
|
1102
|
+
ShippingAndHandling = 143,
|
|
1103
|
+
SpecialPackaging = 144,
|
|
1104
|
+
Stamping = 145,
|
|
1105
|
+
ConsigneeUnload = 146,
|
|
1106
|
+
ShrinkWrap = 147,
|
|
1107
|
+
SpecialHandling = 148,
|
|
1108
|
+
SpecialFinish = 149,
|
|
1109
|
+
SetUp = 150,
|
|
1110
|
+
TankRenting = 151,
|
|
1111
|
+
Testing = 152,
|
|
1112
|
+
TransportationThirdPartyBilling = 153,
|
|
1113
|
+
TransportationByVendor = 154,
|
|
1114
|
+
DropYard = 155,
|
|
1115
|
+
DropDock = 156,
|
|
1116
|
+
Warehousing = 157,
|
|
1117
|
+
CombineAllSameDayShipment = 158,
|
|
1118
|
+
SplitPickUp = 159,
|
|
1119
|
+
MutuallyDefined = 160
|
|
360
1120
|
}
|
|
361
1121
|
/** Represents a single invoice line item */
|
|
362
1122
|
export interface InvoiceLineItem {
|
|
@@ -373,7 +1133,8 @@ export interface InvoiceLineItem {
|
|
|
373
1133
|
/** A code for the unit of the quantity. This should be a code as defined
|
|
374
1134
|
in UN/ECE Recommendation No. 20 „Codes for Units of Measure Used in
|
|
375
1135
|
International Trade“ und UN/ECE Recommendation No 21 „Codes for Passengers,
|
|
376
|
-
Types of Cargo, Packages and Packaging Materials(with Complementary Codes for Package Names)
|
|
1136
|
+
Types of Cargo, Packages and Packaging Materials(with Complementary Codes for Package Names).
|
|
1137
|
+
See here: https://ec.europa.eu/digital-building-blocks/sites/display/DIGITAL/Registry+of+supporting+artefacts+to+implement+EN16931 */
|
|
377
1138
|
unitCode?: string | undefined;
|
|
378
1139
|
/** The net amount for this line item. This is the total price for positions */
|
|
379
1140
|
netAmount?: number | undefined;
|
|
@@ -406,8 +1167,12 @@ export interface LineItemAllowance {
|
|
|
406
1167
|
relativeAllowancePercentage?: number | undefined;
|
|
407
1168
|
/** A description of the allowance. */
|
|
408
1169
|
reason?: string | undefined;
|
|
409
|
-
/** A reason code for the allowance according to UNTDID 5189.
|
|
1170
|
+
/** A reason code for the allowance according to UNTDID 5189. Should be a code
|
|
1171
|
+
from this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred5189.htm */
|
|
410
1172
|
reasonCode?: string | undefined;
|
|
1173
|
+
/** A reason type for the allowance according to UNTDID 5189. This will be automatically parsed from ReasonCode
|
|
1174
|
+
and is a read-only property. */
|
|
1175
|
+
reasonType?: AllowanceReasonType | undefined;
|
|
411
1176
|
}
|
|
412
1177
|
/** Charge for a single line item */
|
|
413
1178
|
export interface LineItemCharge {
|
|
@@ -421,8 +1186,12 @@ export interface LineItemCharge {
|
|
|
421
1186
|
relativeChargePercentage?: number | undefined;
|
|
422
1187
|
/** A description of the charge. */
|
|
423
1188
|
reason?: string | undefined;
|
|
424
|
-
/** A reason code for the charge according to UNTDID 7161.
|
|
1189
|
+
/** A reason code for the charge according to UNTDID 7161.
|
|
1190
|
+
See this list: https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred7161.htm */
|
|
425
1191
|
reasonCode?: string | undefined;
|
|
1192
|
+
/** A reason type for the charge according to UNTDID 7161. This will be automatically parsed from ReasonCode
|
|
1193
|
+
and is a read-only property. */
|
|
1194
|
+
reasonType?: ChargeReasonType | undefined;
|
|
426
1195
|
}
|
|
427
1196
|
/** Price details about a line item */
|
|
428
1197
|
export interface LineItemPriceDetail {
|
|
@@ -463,8 +1232,12 @@ export interface LineItemInformation {
|
|
|
463
1232
|
/** If used together with StandardIdentifier, this is the scheme identifier
|
|
464
1233
|
for which standard is used. */
|
|
465
1234
|
standardSchemeId?: string | undefined;
|
|
466
|
-
/** A list of classification identifiers for the line item */
|
|
1235
|
+
/** A list of classification identifiers for the line item. You can further use ClassificationTypes to specify the scheme identifier for each classification identifier. */
|
|
467
1236
|
classificationIdentifiers?: string[] | undefined;
|
|
1237
|
+
/** This is used in connection with ClassificationIdentifiers. It is the scheme identifier
|
|
1238
|
+
for each identifier. If this list is used, it should have the same length as ClassificationIdentifiers, with null or empty values used
|
|
1239
|
+
for non-existing scheme identifiers. */
|
|
1240
|
+
classificationTypes?: string[] | undefined;
|
|
468
1241
|
/** The origin country code according to ISO 3166-1 in 2 letter format */
|
|
469
1242
|
countryOfOrigin?: string | undefined;
|
|
470
1243
|
/** Optional additional attributes for this line item */
|
|
@@ -481,7 +1254,8 @@ export interface LineItemAttribute {
|
|
|
481
1254
|
export declare enum SourceType {
|
|
482
1255
|
Self = 0,
|
|
483
1256
|
Ubl = 1,
|
|
484
|
-
Cii = 2
|
|
1257
|
+
Cii = 2,
|
|
1258
|
+
FacturX = 3
|
|
485
1259
|
}
|
|
486
1260
|
/** This is a wrapper class that maps Dangl.AVA projects along with additional required information to create invoices */
|
|
487
1261
|
export interface AvaProjectWrapper {
|
|
@@ -524,4 +1298,9 @@ export interface AvaProjectWrapper {
|
|
|
524
1298
|
total price of the ServiceSpecification, in this case the total price of the invoice
|
|
525
1299
|
might be different from the total price of the ServiceSpecification. */
|
|
526
1300
|
charges?: InvoiceCharge[] | undefined;
|
|
1301
|
+
/** Information about the delivery
|
|
1302
|
+
BG-13 in XRechnung */
|
|
1303
|
+
deliveryInformation?: DeliveryInformation | undefined;
|
|
1304
|
+
/** Information about the sellers tax representative. BG-11 in XRechnung */
|
|
1305
|
+
sellerTaxRepresentative?: Organization | undefined;
|
|
527
1306
|
}
|