Download the PHP package nexo-do/aura-ecf-sdk without Composer
On this page you can find all versions of the php package nexo-do/aura-ecf-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nexo-do/aura-ecf-sdk
More information about nexo-do/aura-ecf-sdk
Files in nexo-do/aura-ecf-sdk
Package aura-ecf-sdk
Short Description SDK oficial de Aura — facturación electrónica DGII (e-CF) para PHP
License Apache-2.0
Homepage https://nexo.com.do/aura
Informations about the package aura-ecf-sdk
Aura SDK — PHP
SDK oficial para emitir e-CF (facturación electrónica DGII, RD) con Aura. Sin dependencias externas (usa cURL nativo). PHP ≥ 8.0.
Instalación
Inicio rápido
El modo (test/live) sale de la API Key
| Key | $aura->mode() |
Ambiente DGII |
|---|---|---|
aura_test_… |
test |
TesteCF / CerteCF |
aura_live_… |
live |
eCF (producción) |
Manejo de errores
El cliente reintenta automáticamente errores transitorios (429/5xx/red) en GETs y en
emisiones con idempotencyKey, respetando Retry-After.
Verificar webhooks
Autenticación por sesión humana (JWT)
Además de la API Key, el SDK soporta login con email/contraseña. El accessToken
se guarda en el cliente y las llamadas siguientes viajan con Authorization: Bearer:
Descargas binarias (PDF / XML)
printing, las descargas de XML del set de certificación y downloadArtifact
devuelven un array ['content' => <bytes>, 'contentType' => ..., 'filename' => ..., 'status' => ...]:
API — cobertura completa
El SDK cubre el 100% de la API REST de Aura. Cada grupo es una propiedad del cliente:
Vouchers ($aura->vouchers)
issue($params, $idempotencyKey) · retrieve($id) · list($params) · refresh($id) ·
void($id, $params) · commercialApproval($id, $params) · voidRanges($params) (ANECF por rangos) ·
receive($params) (cargar e-CF de terceros)
Clients ($aura->clients)
list() · create($params) · retrieve($id) · update($id, $params) ·
uploadCertificate($id, $p12Base64, $password) / uploadCertificateFile($id, $path, $password) ·
listSequences($id) · createSequence($id, $params) · updateSequence($id, $seqId, $params) · deleteSequence($id, $seqId)
Certification ($aura->certification)
progress($clientId) · advance($clientId, $params) · updateUrls($clientId, $params) ·
signPostulation($clientId, $xml, $filename) / signPostulationFile(...) ·
runDataSet($clientId, $useOfficialSet) · runTestSet($clientId) · testSetStatus($clientId) · testSetXml($clientId, $ncf) ·
runApprovals($clientId) · approvalsStatus($clientId) ·
runSimulation($clientId) · simulationStatus($clientId) · simulationXml($clientId, $ncf) ·
swornDeclaration($clientId, $params) · verifyRnc($clientId, $params) ·
uploadArtifact(...) / uploadArtifactFile(...) · listArtifacts($clientId) · downloadArtifact($id) · parsedArtifact($id) · deleteArtifact($id)
Contingency ($aura->contingency)
activate($clientId, $params) · deactivate($clientId) · flush($clientId, $params) · pending($clientId)
DGII Queries ($aura->dgii)
directory($clientId, $rnc) · status($params) · trackIds($clientId, $ncf) · trackStatus($clientId, $trackId) ·
summary($params) · provinces() · municipalities($province) · districts($params)
Printing ($aura->printing)
pdf($id) · thermal($id) · pdfa($id) · getTemplate($clientId) · updateTemplate($clientId, $params)
Webhooks ($aura->webhooks)
list() · create($params) · update($id, $params) · delete($id) · deliveries($id) · rotateSecret($id)
(verificación de firma entrante: Webhook::verify(...))
Notifications ($aura->notifications)
settings() · updateSettings($settings) · updatePreferences($params) · test()
Billing ($aura->billing)
usage() · checkout($params) · portal($params)
Reports ($aura->reports)
technical($params)
Retention ($aura->retention)
previewPurge() · purgeChallenge() · purge($params) · runNow()
Projects / Users / API Keys / Catálogos / Auth
$aura->projects→list()·create()·retrieve()·update()·delete()$aura->users→list()·create()·retrieve()·update()·delete()·changePassword()$aura->apiKeys→list()·create()·delete()$aura->catalog→ncfTypes()·iscCategories()$aura->auth→login()·register()·refresh()·logout()·me()$aura->health()·$aura->healthWorkers()
Los únicos endpoints no expuestos son los de servidor-a-servidor que no invoca el
integrador: la recepción pública DGII (/fe/..., llamada por terceros emisores) y
el webhook inbound de Stripe (/billing/stripe/webhook, llamado por Stripe).
All versions of aura-ecf-sdk with dependencies
ext-curl Version *
ext-json Version *