All object XML that is generated or received by the B1WebAPI web service must follow the XML representation of a DI-API object, as documented in the SAP Business One DI-API Objects Reference guide. As this guide covers the DI-API object model in great detail it will not be duplicated here.

A rule of thumb for understanding the DI-API XML for any object is to remember that public API properties are used to create the XML elements.