-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReceiptData.php
More file actions
32 lines (24 loc) · 901 Bytes
/
ReceiptData.php
File metadata and controls
32 lines (24 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
// SPDX-FileCopyrightText: 2026 LibreCode coop and contributors
// SPDX-License-Identifier: AGPL-3.0-or-later
declare(strict_types=1);
namespace LibreCodeCoop\NfsePHP\Dto;
/**
* Data returned by the SEFIN gateway after a successful NFS-e issuance.
*/
final readonly class ReceiptData
{
public function __construct(
/** Número da NFS-e atribuído pela prefeitura. */
public string $nfseNumber,
/** Chave de acesso (UUID or similar gateway identifier). */
public string $chaveAcesso,
/** Data/hora de competência no formato ISO 8601. */
public string $dataEmissao,
/** Código de verificação (optional — some gateways don't return it). */
public ?string $codigoVerificacao = null,
/** Raw XML returned by the gateway (useful for storage / audit). */
public ?string $rawXml = null,
) {
}
}