Posts

Showing posts from November, 2023

UBL XML Creation in .NET

Image
  Watch Video Tutorial UBL (Universal Business Language) XML is a structured xml is very important in zatca implementation in KSA. Here is the tutorial for generating UBL XML in Asp.Net c#.  Create a project in c# application. Here  I created console application  in .NET 7.0 then add class  'Invoice.cs' then open sample invoice format (eg: StandardInvoice.xml that is provided by zatca in their sdk tool) (or download sample file  here   copy the the whole content in sample xml. then move to Invoice class that we created then go to edit -> paste special -> Paste XML as Classes then will create property classed based on the sample xml next we have to code on 'program.cs' file