CheckDocumentAssignabilityJob
extends AbstractJob
in package
implements
JobInterface
Consulta si un DTE es cedible en el RCV del SII.
Attributes
- #[Job]
- $name: 'check_document_assignability'
- $worker: 'sii_rcv'
- $component: 'integration'
- $package: 'billing'
Table of Contents
Interfaces
- JobInterface
Constants
- WSDL_SERVICE = 'registroreclamodteservice'
Properties
- $siiLazyWorker : SiiLazyWorkerInterface
- $xmlService : XmlServiceInterface
Methods
- __construct() : mixed
- check() : CheckDocumentAssignabilityResponse
- Consulta si un DTE puede ser cedido (factoring).
Constants
WSDL_SERVICE
private
mixed
WSDL_SERVICE
= 'registroreclamodteservice'
Properties
$siiLazyWorker
private
SiiLazyWorkerInterface
$siiLazyWorker
$xmlService
private
XmlServiceInterface
$xmlService
Methods
__construct()
public
__construct(SiiLazyWorkerInterface $siiLazyWorker, XmlServiceInterface $xmlService) : mixed
Parameters
- $siiLazyWorker : SiiLazyWorkerInterface
- $xmlService : XmlServiceInterface
check()
Consulta si un DTE puede ser cedido (factoring).
public
check(SiiRequestInterface $request, string $company, int $document, int $number) : CheckDocumentAssignabilityResponse
Parameters
- $request : SiiRequestInterface
-
Datos de la solicitud al SII.
- $company : string
-
RUT del emisor del DTE (formato RUT-DV).
- $document : int
-
Tipo de documento tributario electrónico.
- $number : int
-
Folio del documento.