C# BOI example of creating an AR_Invoice with lines/details

SOLVED

Is there anyone that can help with providing an example of creating an AR Invoice with lines/details in C# using either BOI or the nuget package www.nuget.org/.../