コード例 #1
0
 public XElement Serialize()
 {
     return(new XElement(UblNames.Cac + nameof(PowerOfAttorney),
                         AgentParty?.Serialize(nameof(AgentParty)),
                         Description.Serialize(nameof(Description))
                         ));
 }
コード例 #2
0
 public SunatEmbededDespatchAdvice()
 {
     DeliveryAddress    = new PostalAddress();
     OriginAddress      = new PostalAddress();
     SunatCarrierParty  = new AccountingSupplierParty();
     DriverParty        = new AgentParty();
     SunatRoadTransport = new SunatRoadTransport();
     GrossWeightMeasure = new InvoicedQuantity();
 }
コード例 #3
0
        public Perception()
        {
            UblExtensions      = new UblExtensions();
            AgentParty         = new AgentParty();
            ReceiverParty      = new AgentParty();
            TotalInvoiceAmount = new PayableAmount();
            TotalPaid          = new PayableAmount();
            SunatPerceptionDocumentReference = new List <SunatRetentionDocumentReference>();

            UblVersionId    = "2.0";
            CustomizationId = "1.0";
            Formato         = new System.Globalization.CultureInfo(Formatos.Cultura);
        }