Company Code
You may want to add your Company Code to Documents for accounting or other purposes.
Use the CompanyCode (Extn) Extension to add this information.
For example, if you are a Vertex VAT Compliance customer, you can use this Extension to help during reconciliation.
Even if you are not a Vertex VAT Compliance customer, you can use this element to add an additional filtering option.#
Note
If you use the
ProcessDetails
element, you must specify it before theRoutingDetails
element in the Document.
Elements
Element | Description |
---|---|
UBLExtensions/UBLExtension/ExtensionContent/ProcessDetails/CompanyCode | Specify the Company Code. |
Restrictions
- The value must be a string.
- It can be up to 40 characters long.
Example
Here is an example snippet:
<?xml version="1.0" encoding="UTF-8"?>
<ubl:Invoice
xmlns:ubl="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
xmlns:vrbl="urn:vertexinc:vrbl:ExtensionComponent:1">
<cec:UBLExtensions>
<cec:UBLExtension>
<cec:ExtensionContent>
<vrbl:InvoiceExtension>
<vrbl:ProcessDetails>
<vrbl:CompanyCode>MyCompanyCode</vrbl:CompanyCode>
</vrbl:ProcessDetails>
<vrbl:RoutingDetails>
<vrbl:Sender>MySender</vrbl:Sender>
<vrbl:Receiver>MyReceiver</vrbl:Receiver>
</vrbl:RoutingDetails>
</vrbl:InvoiceExtension>
</cec:ExtensionContent>
</cec:UBLExtension>
</cec:UBLExtensions>
<!--... -->
</ubl:Invoice>
Updated 6 days ago