/ubl:Invoice

Invoice

Spain | VRBL-Invoice-ES-FacturaE-3p2
Download sample files
Context ID INV0001
Usage -

Description

VRBL is a general invoice data model based on UBL 2.4 and Peppol PINT. It serves as the base for jurisdiction-specific specializations.

Child elements
Usage Element Description Cardinality
M cec:UBLExtensions Extensions Group 0..1
M cbc:CustomizationID Specification Identifier

Identifies a user-defined customization of UBL for a specific use.

0..1
M cbc:ProfileID Business Process Type

Identifies a user-defined profile of the customization of UBL being used.

0..1
M cbc:ID Invoice Number

An identifier for this document, assigned by the sender.

1..1
M cbc:IssueDate Invoice Issue Date

The date, assigned by the sender, on which this document was issued.

1..1
M cbc:InvoiceTypeCode Invoice Type Code

A code signifying the type of the Invoice.

0..1
M cbc:DocumentCurrencyCode Document Currency Code

A code signifying the default currency for this document.

0..1
O cbc:TaxCurrencyCode Tax Accounting Currency

A code signifying the currency used for tax amounts in the Invoice.

0..1
O* cac:BillingReference Preceding Invoice Reference

A reference to a billing document associated with this document.

0..n
M cac:AccountingSupplierParty Seller

The accounting supplier party.

1..1
M cac:AccountingCustomerParty Buyer

The accounting customer party.

0..1
O cac:Delivery Delivery Information

A delivery associated with this document.

0..n
O* cac:PaymentMeans Payment Instructions

Expected means of payment.

0..n
O cac:AllowanceCharge Allowance Charge Group

A discount or charge that applies to a price component.

0..n
O* cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false'] Document Level Allowances

A discount or charge that applies to a price component.

0..n
O* cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true'] Document Level Charges

A discount or charge that applies to a price component.

0..n
O cac:TaxExchangeRate Tax Exchange Rate

The exchange rate between the document currency and the tax currency.

0..1
M cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode] Tax Total

The total amount of a specific type of tax.

0..n
O cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:TaxCurrencyCode] Tax Total in Tax Accounting Currency

The total amount of a specific type of tax.

0..n
M cac:LegalMonetaryTotal Document Totals

The total amount payable on the Invoice, including Allowances, Charges, and Taxes.

1..1
M+ cac:InvoiceLine Invoice Line

A line describing an invoice item.

1..n
Details

Example: ES_B2G_Correction_invoice.xml

<ubl:Invoice>
  <ext:UBLExtensions>
    <ext:UBLExtension>
      <ext:ExtensionContent>
        <vrbl:InvoiceExtension>
          <vrbl:InvoiceSeries>ES-B2G-SER005</vrbl:InvoiceSeries>
          <cbc:LanguageID>es</cbc:LanguageID>
          <vrbl:RoutingDetails>
            <vrbl:Sender>ESB00000000</vrbl:Sender>
            <vrbl:Receiver>FACE-FACTURA-E</vrbl:Receiver>
          </vrbl:RoutingDetails>
        </vrbl:InvoiceExtension>
      </ext:ExtensionContent>
    </ext:UBLExtension>
  </ext:UBLExtensions>
  <cbc:CustomizationID>urn:vertexinc:vrbl:billing:1#Invoice#VRBL-Invoice-ES-FacturaE-3p2</cbc:CustomizationID>
  <cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
  <cbc:ID>ES-B2G-INV005</cbc:ID>
  <cbc:IssueDate>2025-02-19</cbc:IssueDate>
  <cbc:InvoiceTypeCode>384</cbc:InvoiceTypeCode>
  <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
  <cac:BillingReference>
    <cac:InvoiceDocumentReference>
      <ext:UBLExtensions>
        <ext:UBLExtension>
          <ext:ExtensionContent>
            <vrbl:InvoiceDocumentReferenceExtension>
              <vrbl:CorrectionData>
                <vrbl:CorrectionMethod>VRBL:ES-B2G:01</vrbl:CorrectionMethod>
                <vrbl:CorrectionReason>Additional reason</vrbl:CorrectionReason>
                <vrbl:CorrectionReasonCode>VRBL:ES-B2G:02</vrbl:CorrectionReasonCode>
                <cac:InvoicePeriod>
                  <cbc:StartDate>2023-09-01</cbc:StartDate>
                  <cbc:EndDate>2023-09-30</cbc:EndDate>
                </cac:InvoicePeriod>
                <vrbl:InvoiceSeries>INV0000000012</vrbl:InvoiceSeries>
              </vrbl:CorrectionData>
            </vrbl:InvoiceDocumentReferenceExtension>
          </ext:ExtensionContent>
        </ext:UBLExtension>
      </ext:UBLExtensions>
      <cbc:ID>INV1234</cbc:ID>
      <cbc:IssueDate>2023-09-01</cbc:IssueDate>
    </cac:InvoiceDocumentReference>
  </cac:BillingReference>
  <cac:AccountingSupplierParty>
    <ext:UBLExtensions>
      <ext:UBLExtension>
        <ext:ExtensionContent>
          <vrbl:AccountingSupplierPartyExtension>
            <vrbl:AdministrativeCentre>
              <cbc:ID schemeID="VRBL:ES-B2G:RTC">VRBL:ES-B2G:03</cbc:ID>
              <cac:PartyIdentification>
                <cbc:ID schemeID="VRBL:ES-B2G:CC">A00000001</cbc:ID>
              </cac:PartyIdentification>
              <cac:PostalAddress>
                <cbc:StreetName>Street Centre 1</cbc:StreetName>
                <cbc:CityName>CityCentre1</cbc:CityName>
                <cbc:PostalZone>09009</cbc:PostalZone>
                <cbc:CountrySubentity>Subentity1</cbc:CountrySubentity>
                <cac:Country>
                  <cbc:IdentificationCode>ES</cbc:IdentificationCode>
                </cac:Country>
              </cac:PostalAddress>
            </vrbl:AdministrativeCentre>
            <vrbl:AdministrativeCentre>
              <cbc:ID schemeID="VRBL:ES-B2G:RTC">VRBL:ES-B2G:03</cbc:ID>
              <cac:PartyIdentification>
                <cbc:ID schemeID="VRBL:ES-B2G:CC">A00000002</cbc:ID>
              </cac:PartyIdentification>
              <cac:PostalAddress>
                <cbc:StreetName>Street Centre 2</cbc:StreetName>
                <cbc:CityName>CityCentre2</cbc:CityName>
                <cbc:PostalZone>09008</cbc:PostalZone>
                <cbc:CountrySubentity>Subentity2</cbc:CountrySubentity>
                <cac:Country>
                  <cbc:IdentificationCode>ES</cbc:IdentificationCode>
                </cac:Country>
              </cac:PostalAddress>
            </vrbl:AdministrativeCentre>
            <vrbl:IsNaturalPerson>false</vrbl:IsNaturalPerson>
          </vrbl:AccountingSupplierPartyExtension>
        </ext:ExtensionContent>
      </ext:UBLExtension>
    </ext:UBLExtensions>
    <cac:Party>
      <cac:PartyName>
        <cbc:Name>Seller Name</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>Street Name 1</cbc:StreetName>
        <cbc:CityName>City</cbc:CityName>
        <cbc:PostalZone>09090</cbc:PostalZone>
        <cbc:CountrySubentity>Subentity</cbc:CountrySubentity>
        <cac:Country>
          <cbc:IdentificationCode>ES</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <cbc:CompanyID>ESB00000000</cbc:CompanyID>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Seller Registration Name</cbc:RegistrationName>
      </cac:PartyLegalEntity>
      <cac:Contact>
        <cbc:Name>Contact Name</cbc:Name>
        <cbc:Telephone>+34009900099</cbc:Telephone>
      </cac:Contact>
    </cac:Party>
  </cac:AccountingSupplierParty>
  <cac:AccountingCustomerParty>
    <ext:UBLExtensions>
      <ext:UBLExtension>
        <ext:ExtensionContent>
          <vrbl:AccountingCustomerPartyExtension>
            <vrbl:AdministrativeCentre>
              <cbc:ID schemeID="VRBL:ES-B2G:RTC">VRBL:ES-B2G:03</cbc:ID>
              <cac:PartyIdentification>
                <cbc:ID schemeID="VRBL:ES-B2G:CC">A00000001</cbc:ID>
              </cac:PartyIdentification>
              <cac:PostalAddress>
                <cbc:StreetName>Street Centre 1</cbc:StreetName>
                <cbc:CityName>CityCentre1</cbc:CityName>
                <cbc:PostalZone>09009</cbc:PostalZone>
                <cbc:CountrySubentity>Subentity1</cbc:CountrySubentity>
                <cac:Country>
                  <cbc:IdentificationCode>ES</cbc:IdentificationCode>
                </cac:Country>
              </cac:PostalAddress>
            </vrbl:AdministrativeCentre>
            <vrbl:AdministrativeCentre>
              <cbc:ID schemeID="VRBL:ES-B2G:RTC">VRBL:ES-B2G:03</cbc:ID>
              <cac:PartyIdentification>
                <cbc:ID schemeID="VRBL:ES-B2G:CC">A00000002</cbc:ID>
              </cac:PartyIdentification>
              <cac:PostalAddress>
                <cbc:StreetName>Street Centre 2</cbc:StreetName>
                <cbc:CityName>CityCentre2</cbc:CityName>
                <cbc:PostalZone>09008</cbc:PostalZone>
                <cbc:CountrySubentity>Subentity2</cbc:CountrySubentity>
                <cac:Country>
                  <cbc:IdentificationCode>ES</cbc:IdentificationCode>
                </cac:Country>
              </cac:PostalAddress>
            </vrbl:AdministrativeCentre>
            <vrbl:IsNaturalPerson>false</vrbl:IsNaturalPerson>
          </vrbl:AccountingCustomerPartyExtension>
        </ext:ExtensionContent>
      </ext:UBLExtension>
    </ext:UBLExtensions>
    <cac:Party>
      <cac:PartyName>
        <cbc:Name>Customer Name</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>Street Name 3</cbc:StreetName>
        <cbc:CityName>City3</cbc:CityName>
        <cbc:PostalZone>09091</cbc:PostalZone>
        <cbc:CountrySubentity>Subentity3</cbc:CountrySubentity>
        <cac:Country>
          <cbc:IdentificationCode>ES</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <cbc:CompanyID>ESB00000001</cbc:CompanyID>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Customer Registration Name</cbc:RegistrationName>
      </cac:PartyLegalEntity>
      <cac:Contact>
        <cbc:Telephone>+34009900999</cbc:Telephone>
      </cac:Contact>
    </cac:Party>
  </cac:AccountingCustomerParty>
  <cac:Delivery>
    <cbc:ActualDeliveryDate>2025-02-19</cbc:ActualDeliveryDate>
  </cac:Delivery>
  <cac:PaymentMeans>
    <cbc:PaymentMeansCode>VRBL:ES-B2G:04</cbc:PaymentMeansCode>
    <cbc:PaymentDueDate>2025-04-20</cbc:PaymentDueDate>
    <cac:PayeeFinancialAccount>
      <cbc:ID>ES800000000000000000001</cbc:ID>
      <cac:FinancialInstitutionBranch>
        <cbc:ID>DEUTESBBXXX</cbc:ID>
      </cac:FinancialInstitutionBranch>
    </cac:PayeeFinancialAccount>
  </cac:PaymentMeans>
  <cac:TaxTotal>
    <cbc:TaxAmount currencyID="EUR">1614.00</cbc:TaxAmount>
    <cac:TaxSubtotal>
      <cbc:TaxableAmount currencyID="EUR">16140.00</cbc:TaxableAmount>
      <cbc:TaxAmount currencyID="EUR">1614.00</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>10.00</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VRBL:ES-B2G:01</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <cac:LegalMonetaryTotal>
    <cbc:LineExtensionAmount currencyID="EUR">16140.00</cbc:LineExtensionAmount>
    <cbc:TaxExclusiveAmount currencyID="EUR">16140.00</cbc:TaxExclusiveAmount>
    <cbc:TaxInclusiveAmount currencyID="EUR">17754.00</cbc:TaxInclusiveAmount>
    <cbc:AllowanceTotalAmount currencyID="EUR">0.00</cbc:AllowanceTotalAmount>
    <cbc:ChargeTotalAmount currencyID="EUR">0.00</cbc:ChargeTotalAmount>
    <cbc:PayableAmount currencyID="EUR">17754.00</cbc:PayableAmount>
  </cac:LegalMonetaryTotal>
  <cac:InvoiceLine>
    <cbc:ID>01</cbc:ID>
    <cbc:InvoicedQuantity unitCode="VRBL:ES-B2G:01">10</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount currencyID="EUR">16140.00</cbc:LineExtensionAmount>
    <cac:OrderLineReference>
      <cbc:LineID>1</cbc:LineID>
      <cac:OrderReference>
        <cbc:ID>BuyerOrderN</cbc:ID>
        <cbc:SalesOrderID>SalesOrderN</cbc:SalesOrderID>
        <cbc:IssueDate>2025-02-19</cbc:IssueDate>
      </cac:OrderReference>
    </cac:OrderLineReference>
    <cac:DocumentReference>
      <cbc:ID schemeID="AAK">DeliveryNoteN</cbc:ID>
      <cbc:IssueDate>2025-02-19</cbc:IssueDate>
      <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
    </cac:DocumentReference>
    <cac:Delivery>
      <cbc:ActualDeliveryDate>2025-02-19</cbc:ActualDeliveryDate>
    </cac:Delivery>
    <cac:TaxTotal>
      <cbc:TaxAmount currencyID="EUR">1614.00</cbc:TaxAmount>
      <cac:TaxSubtotal>
        <cbc:TaxableAmount currencyID="EUR">16140.00</cbc:TaxableAmount>
        <cbc:TaxAmount currencyID="EUR">1614.00</cbc:TaxAmount>
        <cac:TaxCategory>
          <cbc:Percent>10.00</cbc:Percent>
          <cac:TaxScheme>
            <cbc:ID>VRBL:ES-B2G:01</cbc:ID>
          </cac:TaxScheme>
        </cac:TaxCategory>
      </cac:TaxSubtotal>
    </cac:TaxTotal>
    <cac:Item>
      <cbc:Description>Item Description</cbc:Description>
      <cac:StandardItemIdentification>
        <cbc:ID>1234567890128</cbc:ID>
      </cac:StandardItemIdentification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>10.00</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VRBL:ES-B2G:01</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount currencyID="EUR">1614.00</cbc:PriceAmount>
    </cac:Price>
    <cac:ItemPriceExtension>
      <cbc:Amount currencyID="EUR">16140.00</cbc:Amount>
    </cac:ItemPriceExtension>
  </cac:InvoiceLine>
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-ES-B2G-7 In case the Document Currency Code is different from the Tax Accounting Currency, then the Tax Exchange Rate Calculation Rate and the Tax Exchange Rate Date must be provided.
VRBL-INV-ES-B2G-8 In case the Document Currency Code is different from the Tax Accounting Currency, then the Legal Monetary Total Legal Monetary Total Extension must be provided.
VRBL-INV-CORE-4 The Specification Identifier must exist within the Invoice.
VRBL-INV-CORE-5 The Business Process Type must exist within the Invoice.
VRBL-INV-CORE-10 The Invoice Type Code must exist within the Invoice.
VRBL-INV-CORE-13 The Document Currency Code must exist within the Invoice.
VRBL-INV-CORE-563 The Tax Total Group is only allowed when using the currencies in Document Currency Code or Tax Accounting Currency.
VRBL-INV-CORE-36 The Invoice Number must be provided in the Invoice.
VRBL-INV-CORE-39 The Document Currency Code must be provided in the Invoice.
VRBL-INV-CORE-41 The Invoice Total Tax Amount and the Invoice Total Tax Amount in Tax Accounting Currency must all both positive, or all negative.
VRBL-INV-SYSTEM-1 If there is a value for Invoice Number, the allowed maximum number of characters is 300.
VRBL-INV-SYSTEM-2 If there is a value for Invoice Type Code, the allowed maximum number of characters is 100.
VRBL-INV-SYSTEM-3 If there is a value for Document Currency Code, the allowed maximum number of characters is 25.
VRBL-INV-SYSTEM-4 If there is a value for Buyer Accounting Reference, the allowed maximum number of characters is 500.
VRBL-INV-SYSTEM-5 If there is a value for Buyer Reference, the allowed maximum number of characters is 500.
VRBL-INV-SYSTEM-6 If there is a value for Seller Trading Name, the allowed maximum number of characters is 500.
VRBL-INV-SYSTEM-7 If there is a value for Seller Tax ID used as DUNS, the allowed maximum number of characters is 100.
VRBL-INV-SYSTEM-8 If there is a value for Seller Tax ID used as VAT ID, the allowed maximum number of characters is 100.
VRBL-INV-SYSTEM-9 If there is a value for Seller City, the allowed maximum number of characters is 200.
VRBL-INV-SYSTEM-10 If there is a value for Seller Country Code, the allowed maximum number of characters is 50.
VRBL-INV-SYSTEM-11 If there is a value for Seller Postal Zone, the allowed maximum number of characters is 100.
VRBL-INV-SYSTEM-12 If there is a value for Seller Name, the allowed maximum number of characters is 500.
VRBL-INV-SYSTEM-13 If there is a value for Seller Contact Point, the allowed maximum number of characters is 500.
VRBL-INV-SYSTEM-14 If there is a value for Seller Contact Telephone Number, the allowed maximum number of characters is 300.
VRBL-INV-SYSTEM-15 If there is a value for Seller Contact Email Address, the allowed maximum number of characters is 300.
VRBL-INV-SYSTEM-16 If there is a value for Seller Electronic Address, the allowed maximum number of characters is 100.
VRBL-INV-SYSTEM-17 If there is a value for Buyer Trading Name, the allowed maximum number of characters is 500.
VRBL-INV-SYSTEM-18 If there is a value for Buyer Tax ID used as DUNS, the allowed maximum number of characters is 100.
VRBL-INV-SYSTEM-19 If there is a value for Buyer Tax ID used as VAT ID, the allowed maximum number of characters is 100.
VRBL-INV-SYSTEM-20 If there is a value for Buyer City, the allowed maximum number of characters is 200.
VRBL-INV-SYSTEM-21 If there is a value for Buyer Country Code, the allowed maximum number of characters is 50.
VRBL-INV-SYSTEM-22 If there is a value for Buyer Postal Zone, the allowed maximum number of characters is 100.
VRBL-INV-SYSTEM-23 If there is a value for Buyer Name, the allowed maximum number of characters is 500.
VRBL-INV-SYSTEM-24 If there is a value for Buyer Contact Point, the allowed maximum number of characters is 500.
VRBL-INV-SYSTEM-25 If there is a value for Buyer Contact Email Address, the allowed maximum number of characters is 300.
VRBL-INV-SYSTEM-26 If there is a value for Buyer Contact Telephone Number, the allowed maximum number of characters is 300.
VRBL-INV-SYSTEM-27 If there is a value for Buyer Electronic Address, the allowed maximum number of characters is 100.
VRBL-INV-SYSTEM-28 If there is a value for Buyer Customer Party Name Group, the allowed maximum number of characters is 500.
VRBL-INV-SYSTEM-29 If there is a value for Buyer Customer Party Tax Company ID used as DUNS, the allowed maximum number of characters is 100.
VRBL-INV-SYSTEM-30 If there is a value for Buyer Customer Party Tax Company ID used as VAT ID, the allowed maximum number of characters is 100.
VRBL-INV-SYSTEM-31 If there is a value for Buyer Customer Party City Name, the allowed maximum number of characters is 200.
VRBL-INV-SYSTEM-32 If there is a value for Buyer Customer Party Country Identification Code, the allowed maximum number of characters is 50.
VRBL-INV-SYSTEM-33 If there is a value for Buyer Customer Party Postal Zone, the allowed maximum number of characters is 100.
VRBL-INV-SYSTEM-34 If there is a value for Buyer Customer Party Legal Entity Registration Name, the allowed maximum number of characters is 500.
VRBL-INV-SYSTEM-35 If there is a value for Buyer Customer Party Contact Name, the allowed maximum number of characters is 500.
VRBL-INV-SYSTEM-36 If there is a value for Buyer Customer Party Contact Electronic Mail, the allowed maximum number of characters is 300.
VRBL-INV-SYSTEM-37 If there is a value for Buyer Customer Party Contact Telephone, the allowed maximum number of characters is 300.
VRBL-INV-SYSTEM-38 If there is a value for Buyer Customer Party Endpoint ID, the allowed maximum number of characters is 100.
VRBL-INV-SYSTEM-39 If there is a value for Tax Subtotal Taxable Amount Currency Code, the allowed maximum number of characters is 25.
VRBL-INV-SYSTEM-40 If there is a value for Total Tax Amount Currency Code, the allowed maximum number of characters is 25.
VRBL-INV-SYSTEM-41 If there is a value for Tax Subtotal Category ID, the allowed maximum number of characters is 50.
VRBL-INV-SYSTEM-42 If there is a value for Legal Monetary Total Line Extension Amount Currency Code, the allowed maximum number of characters is 25.
VRBL-INV-SYSTEM-43 If there is a value for Legal Monetary Total Tax Exclusive Amount Currency Code, the allowed maximum number of characters is 25.
VRBL-INV-SYSTEM-44 If there is a value for Legal Monetary Total Tax Inclusive Amount Currency Code, the allowed maximum number of characters is 25.
VRBL-INV-SYSTEM-45 If there is a value for Legal Monetary Total Payable Amount Currency Code, the allowed maximum number of characters is 25.
VRBL-INV-SYSTEM-46 If there is a value for Delivery Location City, the allowed maximum number of characters is 200.
VRBL-INV-SYSTEM-47 If there is a value for Delivery Location Postal Zone, the allowed maximum number of characters is 100.
VRBL-INV-SYSTEM-48 If there is a value for Delivery Location Country Code, the allowed maximum number of characters is 50.
VRBL-INV-SYSTEM-49 If there is a value for Delivery Party Name, the allowed maximum number of characters is 500.
VRBL-INV-SYSTEM-50 If there is a value for Payment Means Type Code, the allowed maximum number of characters is 25.
VRBL-INV-SYSTEM-51 If there is a value for Payment Account ID, the allowed maximum number of characters is 100.
VRBL-INV-SYSTEM-52 If there is a value for Payment Account Name, the allowed maximum number of characters is 500.
VRBL-INV-SYSTEM-53 If there is a value for Payment Service Provider ID, the allowed maximum number of characters is 500.
VRBL-INV-SYSTEM-54 If there is a value for Purchase Order Reference ID, the allowed maximum number of characters is 300.
VRBL-INV-SYSTEM-55 If there is a value for Sales Order Reference ID, the allowed maximum number of characters is 300.