Overview
Parties represent organizations or individuals involved in a business transaction. In UBL invoices, you’ll typically work with:- Accounting Supplier Party: The seller/provider issuing the invoice
- Accounting Customer Party: The buyer/recipient of the invoice
- Tax Representative Party: Optional tax representative
- Delivery Party: Party handling delivery
- Carrier Party: Transportation provider
Party Structure
A party in UBL contains:- Party Identifications: Tax IDs, registration numbers
- Party Names: Legal and trade names
- Postal Address: Physical location
- Party Tax Schemes: Tax registration information
- Party Legal Entities: Legal entity details
- Contact: Contact information
Creating a Supplier Party
Create Party Identification
Add tax identification and other IDs:
For Colombian invoices, use
schemeName: '31' for NIT (Tax ID) and include the verification digit in schemeID.Creating a Customer Party
The customer party follows a similar structure:Complete Supplier Example
Additional Party Types
Tax Representative Party
For invoices requiring a tax representative:Delivery Party
For delivery information:Party Testing
Test your party configuration:Best Practices
Validation Tips
- Always include at least one party identification
- Provide complete tax scheme information for Colombian invoices
- Use proper tax level codes (O-13, O-15, etc.)
- Include verification digit in schemeID
- Validate NIT/tax ID format before creating parties
Address Formatting
- Use official city and department codes
- Include complete street addresses
- Set proper country identification code (CO for Colombia)
- Consider using multiple address lines for clarity
Contact Information
- Include at least email or telephone
- Use proper international phone format (+57 for Colombia)
- Provide department or contact person name
- Keep contact info current for delivery and inquiries
Common Patterns
Reusing Party Information
Next Steps
Creating Invoices
Learn how to create complete UBL invoices
Tax Calculations
Add tax totals and calculations to invoices