Buyers

Read about how to model Buyers.

You use the AccountingCustomerParty element to model the Buyer's information. This element contains the Party element that you can use to specify information such as:

  • Name and address of the Buyer
  • Tax Scheme ID
  • The Party's legal entity, if any

Elements

The Party fields are:

ElementDescription
Party/EndpointIDThe ID that identifies the endpoint, for example: [email protected]. See Endpoint ID.
Party/PartyIdentification/IDThe party's ID.
Party/PartyName/NameThe name of the party.
Party/PostalAddressThe party's address.
Party/PostalAddress/StreetNameThe name of the street in the party's address.
Party/PostalAddress/AdditionalStreetNameAny additional street names in the party's address.
Party/PostalAddress/CityNameThe name of the city in the party's address.
Party/PostalAddress/PostalZoneThe postal zone, if any, in the party's address.
Party/PostalAddress/CountrySubentityCodeThe country subdivision code, usually representing a State or Province.
Party/PostalAddress/Country/IdentificationCodeThe ISO code for the country where the party's address is.
Party/PartyTaxScheme/CompanyIDThe ID of the company who participates in the party's tax scheme.
Party/PartyTaxScheme/TaxScheme/IDThe Tax Scheme ID. See Tax Categories and Schemes.
Party/PartyLegalEntity/RegistrationNameThe party's legal entity's name as it appears on the registration.
Party/PartyLegalEntity/CompanyIDThe Legal Entity's Company ID.
Party/PartyLegalEntity/CompanyLegalFormThe legal form.
Party/Contact/NameThe contact's name.
Party/Contact/TelephoneThe contact's phone number.
Party/Contact/ElectronicMailThe contact's email address.

Buyer References

Buyer references are explained in the Buyer References topic.

Country-Specific Configurations

Country specific configurations are explained in the following topics:

Example

<Invoice>
    <!-- code omitted for clarity -->
    <cac:AccountingCustomerParty>
        <cac:Party>
            <cac:PartyIdentification>
                <cbc:ID schemeID="0088">7300010000001</cbc:ID> â’¶ 
            </cac:PartyIdentification>
            <cac:PartyName>
                <cbc:Name>Buyer Name Ltd.</cbc:Name> â’· 
            </cac:PartyName>
            <cac:PostalAddress> â’¸ 
                <cbc:StreetName>Main street 9</cbc:StreetName>
                <cbc:AdditionalStreetName>Postbox 321</cbc:AdditionalStreetName>
                <cbc:CityName>London</cbc:CityName>
                <cbc:PostalZone>GB 123 EW</cbc:PostalZone>
                <cbc:CountrySubentity>West London district</cbc:CountrySubentity>
                <cac:AddressLine>
                    <cbc:Line>Third address line</cbc:Line>
                </cac:AddressLine>
                <cac:Country>
                    <cbc:IdentificationCode>GB</cbc:IdentificationCode>  
                </cac:Country>
            </cac:PostalAddress>
            <cac:PartyTaxScheme> â’¹
                <cbc:CompanyID>GB22334455</cbc:CompanyID>
                <cac:TaxScheme>
                    <cbc:ID>VAT</cbc:ID>  
                </cac:TaxScheme>
            </cac:PartyTaxScheme>
            <cac:PartyLegalEntity> â’º 
                <cbc:RegistrationName>Buyer Official Name Ltd.</cbc:RegistrationName>  
                <cbc:CompanyID>GB123456</cbc:CompanyID>  
            </cac:PartyLegalEntity>
            <cac:Contact> â’»
                <cbc:Name>John Doe</cbc:Name>
                <cbc:Telephone>9384203984</cbc:Telephone>
                <cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
            </cac:Contact>
        </cac:Party>
    </cac:AccountingCustomerParty>
    <!-- code omitted for clarity -->
</Invoice>