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.
Elements
Element | Description |
---|---|
UBLExtensions/UBLExtension/ExtensionContent/ProcessingDetails/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:RoutingDetails>
<vrbl:Sender>MySender</vrbl:Sender>
<vrbl:Receiver>MyReceiver</vrbl:Receiver>
</vrbl:RoutingDetails>
<vrbl:ProcessDetails>
<vrbl:CompanyCode>MyCompanyCode</vrbl:CompanyCode>
</vrbl:ProcessDetails>
</vrbl:InvoiceExtension>
</cec:ExtensionContent>
</cec:UBLExtension>
</cec:UBLExtensions>
<!--... -->
</ubl:Invoice>
Updated about 2 months ago