Skip to content

Commit 4491c56

Browse files
committed
invoice services Obtener el estado de una factura por ID (por referencia) sample added
1 parent 32446a7 commit 4491c56

1 file changed

Lines changed: 16 additions & 14 deletions

File tree

examples.php

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,27 +1074,29 @@
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);
1086+
1087+
1088+
1089+
// ------------------------------------------------------------------
1090+
// Obtener el estado de una factura por ID (por referencia)
1091+
// ------------------------------------------------------------------
10771092
$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
1093+
'id' => "3ba2038a-74bd-48ae-96ac-3e97b03d89e1",
10831094
];
10841095
$apiResponse = $client->getInvoiceService()->getStatus($invoiceStatus);
10851096
consoleLog($apiResponse);
10861097

10871098

10881099

1089-
// ------------------------------------------------------------------
1090-
// Obtener el estado de una factura por ID (por referencia)
1091-
// ------------------------------------------------------------------
1092-
// $invoiceStatus = [
1093-
// 'id' => "3ba2038a-74bd-48ae-96ac-3e97b03d89e1",
1094-
// ];
1095-
// $apiResponse = $client->getInvoiceService()->getStatus($invoiceStatus);
1096-
// consoleLog($apiResponse);
1097-
10981100
// ------------------------------------------------------------------
10991101
// Generar PDF de una factura por valores
11001102
// ------------------------------------------------------------------

0 commit comments

Comments
 (0)