コード例 #1
0
 public Invoice()
 {
     AccountingSupplierParty    = new AccountingSupplierParty();
     AccountingCustomerParty    = new AccountingSupplierParty();
     DespatchDocumentReferences = new List <InvoiceDocumentReference>();
     UblExtensions      = new UBLExtensions();
     Signature          = new SignatureCac();
     InvoiceLines       = new List <InvoiceLine>();
     TaxTotals          = new List <TaxTotal>();
     LegalMonetaryTotal = new LegalMonetaryTotal();
     UblVersionId       = "2.0";
     CustomizationId    = "1.0";
     Formato            = new System.Globalization.CultureInfo("es-PE");
 }
コード例 #2
0
 public CreditNote()
 {
     UBLExtensions                = new UBLExtensions();
     DiscrepancyResponses         = new List <DiscrepancyResponse>();
     BillingReferences            = new List <BillingReference>();
     DespatchDocumentReferences   = new List <InvoiceDocumentReference>();
     AdditionalDocumentReferences = new List <InvoiceDocumentReference>();
     Signature = new SignatureCac();
     AccountingCustomerParty = new AccountingSupplierParty();
     AccountingSupplierParty = new AccountingSupplierParty();
     TaxTotals          = new List <TaxTotal>();
     LegalMonetaryTotal = new LegalMonetaryTotal();
     CreditNoteLines    = new List <InvoiceLine>();
     UBLVersionID       = "2.0";
     CustomizationID    = "1.0";
 }