|
1074 | 1074 | // ------------------------------------------------------------------ |
1075 | 1075 | // Obtener el estado de una factura por valores |
1076 | 1076 | // ------------------------------------------------------------------ |
| 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 | + // ------------------------------------------------------------------ |
1077 | 1092 | $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", |
1083 | 1094 | ]; |
1084 | 1095 | $apiResponse = $client->getInvoiceService()->getStatus($invoiceStatus); |
1085 | 1096 | consoleLog($apiResponse); |
1086 | 1097 |
|
1087 | 1098 |
|
1088 | 1099 |
|
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 | | - |
1098 | 1100 | // ------------------------------------------------------------------ |
1099 | 1101 | // Generar PDF de una factura por valores |
1100 | 1102 | // ------------------------------------------------------------------ |
|
0 commit comments