public void can_build_invoice_detail() { var segFactory = new SegmentFactory(new BusinessPartnerSpecificServiceResolver()); segFactory.SetBuildValues(BusinessPartner.Initech); IDictionary <Qualifier, string> values = new Dictionary <Qualifier, string> { { Qualifier.InvoiceVendorPart, "FIN23432" }, { Qualifier.PartDescription, "rectangular box" }, { Qualifier.PONumber, "32543243" }, { Qualifier.POLineNumber, "10" } }; EDIXmlSegment seg = segFactory.GetLineItemInvoiceDetail("10", 1, (decimal).99, values); Console.WriteLine(seg.Value); }