Skip to content

Commit 32446a7

Browse files
committed
invoice services Obtener el estado de una factura por valores sample added
1 parent 4007a9c commit 32446a7

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

examples.php

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,15 +1074,17 @@
10741074
// ------------------------------------------------------------------
10751075
// Obtener el estado de una factura por valores
10761076
// ------------------------------------------------------------------
1077-
// $invoiceStatus = [
1078-
// 'issuerTin' => "POPJ450924HD6", // RFC del emisor
1079-
// 'recipientTin' => "MEJJ940824C61", // RFC del receptor
1080-
// 'invoiceTotal' => 430.00, // Total de la factura
1081-
// 'invoiceUuid' => "8e0fdc23-e148-4cf5-b3ce-4459f31c9c45", // UUID de la factura
1082-
// 'last8DigitsIssuerSignature' => "oxPKRg==" // Últimos 8 dígitos del sello digital del emisor
1083-
// ];
1084-
// $apiResponse = $client->getInvoiceService()->getStatus($invoiceStatus);
1085-
// consoleLog($apiResponse);
1077+
$invoiceStatus = [
1078+
'issuerTin' => "POPJ450924HD6", // RFC del emisor
1079+
'recipientTin' => "MEJJ940824C61", // RFC del receptor
1080+
'invoiceTotal' => 430.00, // Total de la factura
1081+
'invoiceUuid' => "8e0fdc23-e148-4cf5-b3ce-4459f31c9c45", // UUID de la factura
1082+
'last8DigitsIssuerSignature' => "oxPKRg==" // Últimos 8 dígitos del sello digital del emisor
1083+
];
1084+
$apiResponse = $client->getInvoiceService()->getStatus($invoiceStatus);
1085+
consoleLog($apiResponse);
1086+
1087+
10861088

10871089
// ------------------------------------------------------------------
10881090
// Obtener el estado de una factura por ID (por referencia)

0 commit comments

Comments
 (0)