billing.ownership_transfer) handles the management of ownership transfer documents, which are used to document the transfer of goods ownership during transportation in Chile.
Overview
This component provides functionality for creating and managing ownership transfer documents (cesión de documentos), allowing the transfer of rights over tax documents from one party to another.This component is currently under development. Workers and functionality will be added in future releases.
Status
The Ownership Transfer Component is in active development. The following features are planned:Transfer Document Creation
Transfer Document Creation
Create ownership transfer documents (Archivo de Transferencia de Crédito - ATC) for factoring and other financial operations.
Transfer Validation
Transfer Validation
Validate transfer documents according to SII regulations and business rules.
Transfer Notification
Transfer Notification
Notify involved parties (cedente, cesionario, deudor) about ownership transfers.
Transfer Tracking
Transfer Tracking
Track the status of ownership transfer documents through their lifecycle.
SII Integration
SII Integration
Submit ownership transfer documents to SII for registration.
Planned Workers
The following workers are planned for implementation:- Builder Worker: Constructs ownership transfer documents (AEC - Archivo Electrónico de Cesión)
- Validator Worker: Validates transfer documents and parties
- Notifier Worker: Sends notifications to involved parties
- Tracker Worker: Tracks transfer status and history
- Submission Worker: Submits transfers to SII for registration
Current Implementation
getWorkers
Returns all available workers in this component.Returns an empty array (no workers implemented yet)
Expected Usage (Coming Soon)
Once implemented, the component will support operations like:Ownership Transfer in Chilean Tax System
In Chile, ownership transfer documents (cesión) allow:Electronic Credit Assignment (AEC)
Businesses can assign their receivables (facturas) to third parties (typically factoring companies):- Cedente: The original creditor (issuer of the invoice) who transfers the right to collect
- Cesionario: The new creditor (usually a factoring company or financial institution) who receives the right
- Deudor: The debtor (receiver of the invoice) who must pay to the new creditor
Use Cases
Factoring
Sell invoices to factoring companies for immediate cash flow
Debt Collection
Transfer collection rights to specialized agencies
Securitization
Package receivables for financial instruments
Financing
Use invoices as collateral for financing
Legal Requirements
Ownership transfers must:- Be registered electronically with SII
- Include digital signatures from all parties
- Notify the debtor of the transfer
- Comply with the current factoring law (Ley 19.983)
- Maintain a complete audit trail
Document Types
The component will handle:- AEC (Archivo Electrónico de Cesión): Electronic assignment file
- DEC (Declaración de Cesión): Assignment declaration
- Notificación de Cesión: Assignment notification to debtor
Development Status
Check the source code for the latest implementation status: Location:/workspace/source/src/Package/Billing/Component/OwnershipTransfer/OwnershipTransferComponent.php:37
Workers and methods are being actively developed. Check the official LibreDTE documentation for updates on availability.
Error Handling
The component will throw specific exceptions:OwnershipTransferException: General ownership transfer errors
libredte\lib\Core\Package\Billing\Component\OwnershipTransfer\Exception\OwnershipTransferException
Source Reference
Namespace:libredte\lib\Core\Package\Billing\Component\OwnershipTransfer\OwnershipTransferComponent
Location: /workspace/source/src/Package/Billing/Component/OwnershipTransfer/OwnershipTransferComponent.php:37