Buyer Party ID

An identifier of the Buyer. If the scheme identifier is not used, then the ID is the buyer number provided by the seller. For Philippines e-invoicing, it is required to report the 5-digit code that identifies a Buyer's headquarters or branch office. The branch code uses 3 digits, so add 00 as the first 2 digits. For example, if the branch code is 101, it must be converted to 00101. Use the corresponding scheme identifier.

TermValue
XPath/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID
Cardinality1..1
UsageC
Usage DescriptionThis is required for CAS invoices, but optional for POS invoices.
FormatIdentifier
Final Format Path$.BuyerInfo.BranchCd

Mapping logic

If @schemeID="VRBL:PH:Branch", then $.BuyerInfo.BranchCd.

Example:

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AccountingCustomerParty>
    <!-- ... omitted for readability -->
    <cac:Party>
      <!-- ... omitted for readability -->
      <cac:PartyIdentification>
        <cbc:ID schemeID="VRBL:PH:Branch">00000</cbc:ID>
      </cac:PartyIdentification>
    </cac:Party>
  </cac:AccountingCustomerParty>
</ubl:Invoice>

Did this page help you?