SubmitDocumentAcceptanceJob
extends AbstractJob
in package
implements
JobInterface
Ingresa una aceptación o reclamo de un DTE en el RCV del SII.
Acciones válidas:
- ERM: Otorga recibo de mercaderías o servicios.
- ACD: Acepta contenido del documento.
- RCD: Reclamo al contenido del documento.
- RFP: Reclamo por falta parcial de mercaderías.
- RFT: Reclamo por falta total de mercaderías.
Attributes
- #[Job]
- $name: 'submit_document_acceptance'
- $worker: 'sii_rcv'
- $component: 'integration'
- $package: 'billing'
Table of Contents
Interfaces
- JobInterface
Constants
- VALID_ACTIONS = ['ERM', 'ACD', 'RCD', 'RFP', 'RFT']
- WSDL_SERVICE = 'registroreclamodteservice'
Properties
- $siiLazyWorker : SiiLazyWorkerInterface
- $xmlService : XmlServiceInterface
Methods
- __construct() : mixed
- submit() : SubmitDocumentAcceptanceResponse
- Ingresa una aceptación o reclamo de un DTE.
Constants
VALID_ACTIONS
private
mixed
VALID_ACTIONS
= ['ERM', 'ACD', 'RCD', 'RFP', 'RFT']
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
submit()
Ingresa una aceptación o reclamo de un DTE.
public
submit(SiiRequestInterface $request, string $company, int $document, int $number, string $action) : SubmitDocumentAcceptanceResponse
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.
- $action : string
-
Acción a registrar (ERM, ACD, RCD, RFP, RFT).