Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Barnetik/tbai-php-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
arraintxo committed Aug 21, 2024
2 parents d557b04 + fee6349 commit 763faf1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $version = '1.0';
$certificatePath = '/path/to/certificate.p12';
$certificatePassword = 'myCertificatePassword';

## Where we want the signed document to be stored
// Where we want the signed document to be stored
$signedXmlPath = './signed.xml';

$ticketbai = TicketBai::createFromJson(
Expand All @@ -64,7 +64,7 @@ $ticketbai->sign(

### Faktura bidaltzea / Envío de la factura
```php
## We have an endpoint for each province Araba, Bizkaia or Gipuzkoa
// We have an endpoint for each province Araba, Bizkaia or Gipuzkoa
use Barnetik\Tbai\Api\Bizkaia\Endpoint as BizkaiaEndpoint;

/**
Expand Down Expand Up @@ -105,9 +105,9 @@ use Barnetik\Tbai\Qr;
$qr = new Qr($ticketbai, true);


$qr->savePng('/path/to/qr.png')
$qr->savePng('/path/to/qr.png');

// Code that must be shown over QR on any invoice
// Get the code that must be shown over QR on any invoice
$tbaiIdentifier = $qr->ticketbaiIdentifier();

```
```

0 comments on commit 763faf1

Please sign in to comment.