Skip to main content

Overview

The OtherThirdPartyValues type is used to document charges from third parties that are being billed through your invoice. This is common in scenarios where you’re acting as an intermediary or billing for services provided by external vendors.

OtherThirdPartyValues

Container for all third-party billing items.
export type OtherThirdPartyValues = {
  rubro: ThirdPartyValue[];
};
rubro
ThirdPartyValue[]
required
Array of third-party charges to include in the invoice

ThirdPartyValue

Individual third-party charge with a concept description and amount.
export type ThirdPartyValue = {
  concepto: string;
  total: string;
};

Fields

concepto
string
required
Description of the third-party charge or service. This should clearly identify what is being billed.
total
string
required
Total amount for this third-party charge, formatted as a decimal string (e.g., “150.00”).

Usage Example

import { OtherThirdPartyValues, ThirdPartyValue } from 'open-factura';

const otherThirdPartyValues: OtherThirdPartyValues = {
  rubro: [
    {
      concepto: "Servicio de transporte - Empresa ABC",
      total: "75.50"
    },
    {
      concepto: "Almacenamiento temporal - Bodega XYZ",
      total: "120.00"
    },
    {
      concepto: "Seguro de mercancía",
      total: "35.25"
    }
  ]
};

Common Use Cases

Bill for third-party transportation, freight, or courier services that are part of the sale.
Include charges for temporary storage, warehousing, or inventory management by external providers.
Document fees for consulting, legal, or technical services provided by subcontractors.
Add insurance premiums or warranty costs provided by third-party insurers.

Important Notes

Third-party values are separate from the main invoice totals and are typically used for transparency in billing when you’re acting as an intermediary.
Ensure that you have proper authorization and documentation to bill for third-party services. Tax implications may vary depending on your business structure.

Invoice

See how OtherThirdPartyValues fits into the invoice structure

Reimbursements

Learn about reimbursement handling

Build docs developers (and LLMs) love