LibreDTE

BillingPackage extends AbstractPackage
in package
implements BillingPackageInterface

Paquete de facturación: "billing".

Este paquete contiene los siguientes componentes:

  • book: Componente de libros de ventas y compras.
  • document: Componente de documentos tributarios.
  • exchange: Componente de intercambio de documentos tributarios.
  • identifier: Componente de folios de documentos tributarios.
  • integration: Componente de integración con el SII.
  • ownership_transfer: Componente de transferencia de propiedad.
  • trading_parties: Componente de partes comerciales.

Este paquete es la parte central de LibreDTE. Pues es la que provee las funcionalidades que permiten crear, enviar y consultar documentos tributarios.

Attributes
#[Package]
$name: 'billing'

Table of Contents

Interfaces

BillingPackageInterface
Interfaz para `BillingPackage`.

Properties

$bookComponent  : BookComponentInterface
$documentComponent  : DocumentComponentInterface
$exchangeComponent  : ExchangeComponentInterface
$identifierComponent  : IdentifierComponentInterface
$integrationComponent  : IntegrationComponentInterface
$ownershipTransferComponent  : OwnershipTransferComponentInterface
$tradingPartiesComponent  : TradingPartiesComponentInterface

Methods

__construct()  : mixed
getBookComponent()  : BookComponentInterface
Entrega el componente "billing.book".
getComponents()  : array<string|int, mixed>
{@inheritDoc}
getDocumentComponent()  : DocumentComponentInterface
Entrega el componente "billing.document".
getExchangeComponent()  : ExchangeComponentInterface
Entrega el componente "billing.exchange".
getIdentifierComponent()  : IdentifierComponentInterface
Entrega el componente "billing.identifier".
getIntegrationComponent()  : IntegrationComponentInterface
Entrega el componente "billing.integration".
getOwnershipTransferComponent()  : OwnershipTransferComponentInterface
Entrega el componente "billing.ownership_transfer".
getTradingPartiesComponent()  : TradingPartiesComponentInterface
Entrega el componente "billing.trading_parties".

Properties

Methods

__construct()

public __construct(BookComponentInterface $bookComponent, DocumentComponentInterface $documentComponent, ExchangeComponentInterface $exchangeComponent, IdentifierComponentInterface $identifierComponent, IntegrationComponentInterface $integrationComponent, OwnershipTransferComponentInterface $ownershipTransferComponent, TradingPartiesComponentInterface $tradingPartiesComponent) : mixed
Parameters
$bookComponent : BookComponentInterface
$documentComponent : DocumentComponentInterface
$exchangeComponent : ExchangeComponentInterface
$identifierComponent : IdentifierComponentInterface
$integrationComponent : IntegrationComponentInterface
$ownershipTransferComponent : OwnershipTransferComponentInterface
$tradingPartiesComponent : TradingPartiesComponentInterface

getComponents()

{@inheritDoc}

public getComponents() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results