factuarea / factuarea-php
Requires
- php: >=8.2
- brick/date-time: >=0.7.0
- brick/math: >=0.12.1
- galbar/jsonpath: >=3.0
- guzzlehttp/guzzle: ^7.15.2
- phpdocumentor/type-resolver: >=1.8
- speakeasy/serializer: ^4.0.3
Requires (Dev)
- laravel/pint: 1.29.0
- phpstan/phpstan: 2.1.44
- phpunit/phpunit: ^11.5.50 || ^12.5.8 || >=13.0.0
- roave/security-advisories: dev-latest
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-main
- v0.8.0
- v0.7.0
- v0.6.0
- v0.5.0
- v0.4.1
- v0.4.0
- v0.3.1
- v0.3.0
- v0.2.0
- v0.1.0
- dev-spec-sync/update
- dev-feat/epic-erp-omnichannel-php
- dev-feat/epic-nif-axis-api
- dev-chore/release-0.7.0
- dev-feature/dev-2-crm-php-sdk-source-20261009
- dev-feature/dev2-servicelevel-php-sdk-native-20261009
- dev-feature/dev-2-php-entity-export110
- dev-feature/dev-2-php-sdk-development105
- dev-chore/release-0.6.0
- dev-chore/tasks-release-notes
- dev-codex/release-scanner-terminology-0.4.1
- dev-codex/rename-invoice-product-terminology
- dev-codex/document-scanner
- dev-chore/release-0.3.1
- dev-chore/spec-sync-v1-15-26
- dev-codex/fix-spec-sync-options-collision
This package is auto-updated.
Last update: 2026-10-18 12:59:43 UTC
README
Official PHP SDK for the Factuarea public API — invoicing, quotes, proformas, delivery notes, products, contacts, taxes, VeriFactu and webhooks for Spanish businesses.
Type-safe, PSR-4, built on Guzzle, with automatic retries, automatic idempotency, cursor auto-pagination, typed errors and a webhook signature verifier.
Status: pre-GA (
0.x). The method surface follows the stable SDK method naming contract and is protected by SemVer, but0.xsignals the API may still evolve before GA.
Installation
Not yet on Packagist — coming soon. Until the package is published you can install it directly from GitHub.
Once published:
composer require factuarea/factuarea-php
Until then, install from the repository by adding it to your composer.json:
{
"repositories": [
{ "type": "vcs", "url": "https://github.com/factuarea/factuarea-php" }
],
"require": {
"factuarea/factuarea-php": "dev-main"
}
}
then run composer update.
Requirements: PHP 8.2 or higher, with the json and mbstring extensions
(both bundled with standard PHP builds).
Quickstart
<?php require 'vendor/autoload.php'; use Factuarea\Sdk\Custom\FactuareaClient; // The key prefix selects the environment: // fact_test_… → sandbox fact_live_… → production $factuarea = FactuareaClient::create(getenv('FACTUAREA_API_KEY')); // List the first page of invoices. $response = $factuarea->invoices->publicApiV1InvoicesList(); foreach ($response->paginatedList?->data ?? [] as $invoice) { echo $invoice->id, PHP_EOL; }
FactuareaClient::create() is the recommended entry point: it wires Bearer
authentication and registers the automatic Idempotency-Key behaviour for you.
For advanced configuration (custom Guzzle client, custom retry policy, staging
base URL) the generated builder is still available:
use Factuarea\Sdk\Factuarea; use Factuarea\Sdk\Models\Components\Security; $factuarea = Factuarea::builder() ->setSecurity(new Security(bearerAuth: getenv('FACTUAREA_API_KEY'))) ->build();
Server-side only. A secret API key must never ship in a browser or mobile app. Load it from an environment variable or secret manager.
Sandbox (test mode)
Every API key belongs to one of two environments, decided by its prefix — there is no environment flag in the SDK:
| Prefix | Environment | External effects |
|---|---|---|
fact_test_ |
sandbox | Neutralized — VeriFactu/AEAT, emails and webhooks are off |
fact_live_ |
production | Real fiscal numbering, VeriFactu→AEAT, emails, webhooks |
A fact_test_ key operates on an isolated sandbox company with the same
functional surface as production. Always integrate against a fact_test_ key
first, then switch the prefix to fact_live_ to go live.
$sandbox = FactuareaClient::create('fact_test_…'); $prod = FactuareaClient::create('fact_live_…');
Runtime features
Automatic retries
Transient failures (429 and 5xx) are retried with exponential backoff,
honouring the server's Retry-After header. Client errors (4xx other than
429) are never retried. Retries reuse the same request — including its
Idempotency-Key — so a retried mutation is idempotent end to end.
Automatic idempotency
Every mutating request (POST, PUT, PATCH, DELETE) gets a generated
Idempotency-Key (UUID v4) unless you supply one explicitly:
// Auto-generated key — safe to retry. $factuarea->invoices->publicApiV1InvoicesCreate($body); // Or pin your own key for app-level deduplication. $factuarea->invoices->publicApiV1InvoicesCreate($body, idempotencyKey: 'order-4711');
Replaying a request with the same key returns the original result and the
response carries Idempotent-Replayed: true.
Cursor auto-pagination
List endpoints return the cursor envelope { data, has_more, next_cursor }. The
PageIterator helper streams every item across all pages without manual cursor
handling:
use Factuarea\Sdk\Custom\Pagination\PageIterator; use Factuarea\Sdk\Models\Operations\PublicApiV1InvoicesListRequest; $pages = new PageIterator( fn (?string $cursor) => $factuarea->invoices->publicApiV1InvoicesList( new PublicApiV1InvoicesListRequest(startingAfter: $cursor), )->rawResponse, ); foreach ($pages->items() as $invoice) { // one invoice at a time, across every page }
Typed errors
Documented API errors (401, 403, 409, 422, 429, 5xx) are thrown as a
typed ErrorThrowable exposing the full error envelope — including the
request_id you can quote to support. The API key is never included in any
exception message.
use Factuarea\Sdk\Models\Errors\ErrorThrowable; try { $factuarea->invoices->publicApiV1InvoicesCreate($body); } catch (ErrorThrowable $e) { $error = $e->container->error; echo $error->type->value; // e.g. "invalid_request_error" echo $error->code; // e.g. "parameter_invalid" echo $error->param; // e.g. "client_id" echo $error->requestId; // e.g. "req_abc123" — quote this to support }
Webhook signature verification
Factuarea signs every webhook delivery with HMAC-SHA256 in the
Factuarea-Signature header (t=<unix>,v1=<hex>). Verify deliveries with a
constant-time check and replay protection:
use Factuarea\Sdk\Custom\Webhooks\WebhookVerifier; use Factuarea\Sdk\Custom\Webhooks\WebhookSignatureException; $verifier = new WebhookVerifier(); $rawBody = file_get_contents('php://input'); $signature = $_SERVER['HTTP_FACTUAREA_SIGNATURE'] ?? ''; try { $event = $verifier->verify($rawBody, $signature, getenv('FACTUAREA_WEBHOOK_SECRET')); // $event is the decoded, authenticated payload } catch (WebhookSignatureException $e) { http_response_code(400); }
The verifier accepts deliveries during a secret-rotation grace window (the header
may carry both the new and previous v1 signatures) and rejects payloads whose
timestamp is outside the tolerance (default 5 minutes, configurable).
API reference
The full, generated reference for all resources and operations lives in
docs/sdks/. Method names follow the deterministic
operationId → method mapping (e.g. public-api.v1.invoices.mark_paid →
$factuarea->invoices->publicApiV1InvoicesMarkPaid(...)).
Versioning
The SDK pins the Factuarea-Version it was generated against (currently
2026-10-01) and sends it on every request, so the API behaves consistently
until you upgrade. SemVer applies to the SDK's public surface: new operations are
a minor bump, renames/removals or a behaviour-changing Factuarea-Version bump
are breaking, fixes are a patch. The SDK stays on 0.x until the API's GA, which
ships 1.0.0 — so while it is pre-GA a breaking change lands in a minor, and
the changelog names the replacement of every operation withdrawn.
See docs/VERSIONING.md for the full Factuarea-Version ↔
SDK-version mapping and CHANGELOG.md for release history.
The pinned spec is kept in sync with the published one automatically — see
docs/SPEC_SYNC.md. The Spec sync badge above is when
that check last ran, not when the repo was last committed to: a check that finds
nothing to sync leaves no commit. Click it for the date of the latest run.
Support
| Aspect | Supported |
|---|---|
| PHP | 8.2, 8.3, 8.4 (tested in CI) |
| Stability | Pre-GA 0.x — the public surface may change before 1.0.0 |
Factuarea-Version |
2026-10-01 (pinned, sent on every request) |
Full runtime-support matrix and the deprecation / breaking-change policy live in
SUPPORT.md.
Development
This SDK is generated with Speakeasy from the pinned
OpenAPI document in spec/openapi.json. Generated code lives
in src/ (managed by Speakeasy); hand-written runtime helpers live in
src/Custom/ and are never overwritten by regeneration. See
docs/REGENERATION.md for how to regenerate (and the
documented fallback to openapi-generator).
composer install composer test # PHPUnit, HTTP fully mocked — no network composer stan # PHPStan static analysis
License
MIT © Factuarea. Contact: info@factuarea.com
Summary
Factuarea Public API: Public REST API for invoicing in Spain — manage invoices, quotes, proformas, delivery notes, products, clients and webhooks.
Authentication
The API authenticates with a secret API key, sent on every request as:
Authorization: Bearer fact_live_xxxxxxxxxxxxxxxxxxxxxxxx
or, alternatively, in the X-API-Key header. The key is issued from the Factuarea portal and must NEVER be exposed in public clients (browser, mobile apps).
Environments: live and test
Each API key belongs to one of two environments, unambiguously identifiable by its prefix:
| Prefix | Environment | Data it operates on | External effects |
|---|---|---|---|
fact_live_ |
live (production) | Your real company | Real: legal fiscal numbering, VeriFactu→AEAT, emails to clients, outbound webhooks |
fact_test_ |
test (sandbox) | An isolated sandbox company | Neutralized (see below) |
The prefix is the source of truth for the environment: a fact_test_ key always operates in test mode and a fact_live_ key always in live. There is no request parameter that changes the environment — it is determined by the key.
Data isolation (sandbox)
fact_test_ keys operate on a dedicated sandbox company (a technical "twin company" of the account holder, automatically provisioned the first time test mode is used, which inherits the plan of your real company for faithful feature-gating). Thanks to per-company data isolation:
- Resources created with a
fact_test_key are not visible from afact_live_key, and vice versa. - Test fiscal numbering uses the sandbox's own series and never consumes or alters the sequential numbering of your production series.
The functional surface is identical in both environments: the same endpoints and operations are available in test as in live.
External effects neutralized in test
When you operate with a fact_test_ key (sandbox environment), outbound effects are disabled so you can test your integration without real consequences:
- VeriFactu: the Alta record is created locally, but not transmitted to AEAT.
- Email: document emails are not delivered to real recipients.
- Webhooks: events are not delivered to your external HTTP endpoints.
In live, all these effects fire normally.
Recommendation: always integrate and test first with a
fact_test_key. Once your flow works, switch to thefact_live_prefix to operate in production.
Table of Contents
SDK Installation
Tip
To finish publishing your SDK you must run your first generation action.
The SDK relies on Composer to manage its dependencies.
To install the SDK first add the below to your composer.json file:
{
"repositories": [
{
"type": "github",
"url": "<UNSET>.git"
}
],
"require": {
"factuarea/factuarea-php": "*"
}
}
Then run the following command:
composer update
SDK Example Usage
Example
declare(strict_types=1); require 'vendor/autoload.php'; use Brick\DateTime\LocalDate; use Factuarea\Sdk; use Factuarea\Sdk\Models\Components; $sdk = Sdk\Factuarea::builder() ->setSecurity( new Components\Security( bearerAuth: '<YOUR_BEARER_TOKEN_HERE>', ) ) ->build(); $response = $sdk->account->publicApiV1AccountBilling( company: 'Gerlach - Schroeder', factuareaVersion: LocalDate::parse('2026-06-01') ); if ($response->object !== null) { // handle response }
Authentication
Per-Client Security Schemes
This SDK supports the following security schemes globally:
| Name | Type | Scheme |
|---|---|---|
bearerAuth |
http | HTTP Bearer |
apiKeyAuth |
apiKey | API key |
You can set the security parameters through the setSecurity function on the SDKBuilder when initializing the SDK. The selected scheme will be used by default to authenticate with the API for all operations that support it. For example:
declare(strict_types=1); require 'vendor/autoload.php'; use Brick\DateTime\LocalDate; use Factuarea\Sdk; use Factuarea\Sdk\Models\Components; $sdk = Sdk\Factuarea::builder() ->setSecurity( new Components\Security( bearerAuth: '<YOUR_BEARER_TOKEN_HERE>', ) ) ->build(); $response = $sdk->account->publicApiV1AccountBilling( company: 'Gerlach - Schroeder', factuareaVersion: LocalDate::parse('2026-06-01') ); if ($response->object !== null) { // handle response }
Available Resources and Operations
Available methods
AbsenceBalances
- publicApiV1AbsenceBalancesList - List all absence balances
- publicApiV1AbsenceBalancesShow - Retrieve an absence balance
AbsenceCalendar
- publicApiV1AbsenceCalendarShow - Get the team absence calendar
AbsencePolicies
- publicApiV1AbsencePoliciesArchive - Archive an absence policy
- publicApiV1AbsencePoliciesAssign - Assign a policy to employees
- publicApiV1AbsencePoliciesCarryover - Configure a policy’s year-end carryover
- publicApiV1AbsencePoliciesCreate - Create an absence policy
- publicApiV1AbsencePoliciesList - List all absence policies
- publicApiV1AbsencePoliciesAssignments - List a policy’s assigned employees
- publicApiV1AbsencePoliciesShow - Retrieve an absence policy
- publicApiV1AbsencePoliciesUpdate - Update an absence policy
- publicApiV1AbsencePoliciesUnarchive - Unarchive an absence policy
- publicApiV1AbsencePoliciesUnassign - Unassign a policy from employees
AbsenceRequests
- publicApiV1AbsenceRequestsApprove - Approve an absence request
- publicApiV1AbsenceRequestsCancel - Cancel an absence request
- publicApiV1AbsenceRequestsCreate - Create an absence request
- publicApiV1AbsenceRequestsList - List all absence requests
- publicApiV1AbsenceRequestsReject - Reject an absence request
- publicApiV1AbsenceRequestsShow - Retrieve an absence request
AbsenceTypes
- publicApiV1AbsenceTypesArchive - Archive an absence type
- publicApiV1AbsenceTypesCreate - Create an absence type
- publicApiV1AbsenceTypesList - List all absence types
- publicApiV1AbsenceTypesShow - Retrieve an absence type
- publicApiV1AbsenceTypesUpdate - Update an absence type
- publicApiV1AbsenceTypesUnarchive - Unarchive an absence type
Account
- publicApiV1AccountBilling - Retrieve account billing details
- publicApiV1AccountUsage - Retrieve account usage for the current period
- publicApiV1AccountShow - Retrieve the calling credential
- publicApiV1AccountProvisioningUsage - Retrieve provisioning usage
- publicApiV1AccountVerifyCensus - Verify account against the AEAT census
Account.ApiKeys
- publicApiV1AccountApiKeysCreate - Create an API key
- publicApiV1AccountApiKeysList - List your API keys
- publicApiV1AccountApiKeysUsage - Retrieve the daily usage of an API key
- publicApiV1AccountApiKeysRevoke - Revoke an API key
- publicApiV1AccountApiKeysRotateSecret - Rotate an API key secret
- publicApiV1AccountApiKeysShow - Retrieve an API key
- publicApiV1AccountApiKeysUpdateNifScope - Change the tax IDs an API key reaches
Account.ConnectReturnDomains
- publicApiV1AccountConnectReturnDomainsCreate - Add a Stripe Connect return domain
- publicApiV1AccountConnectReturnDomainsList - List Stripe Connect return domains
- publicApiV1AccountConnectReturnDomainsDelete - Remove a Stripe Connect return domain
Account.Invitations
- publicApiV1AccountInvitationsCancel - Revoke an account invitation
- publicApiV1AccountInvitationsShow - Retrieve an account invitation
- publicApiV1AccountInvitationsCreate - Send an account invitation
- publicApiV1AccountInvitationsList - List account invitations
- publicApiV1AccountInvitationsResend - Resend an account invitation
Account.Members
- publicApiV1AccountMembersCreate - Add a member to the account
- publicApiV1AccountMembersList - List account members
- publicApiV1AccountMembersUpdate - Change an account member role
- publicApiV1AccountMembersDelete - Remove a member from the account
- publicApiV1AccountMembersShow - Retrieve an account member
Account.Members.Grants
- publicApiV1AccountMembersGrantsList - List the grants of an account member
- publicApiV1AccountMembersGrantsDelete - Revoke an account member grant
- publicApiV1AccountMembersGrantsUpdate - Set an account member grant
- publicApiV1AccountMembersGrantsShow - Retrieve an account member grant
Account.Members.ModuleAccess
- publicApiV1AccountMembersModuleAccessShow - Retrieve a member module access level
- publicApiV1AccountMembersModuleAccessUpdate - Set a member module access level
Account.NifTransfers
- publicApiV1AccountNifTransfersAccept - Accept a tax ID transfer
- publicApiV1AccountNifTransfersCreate - Issue a tax ID transfer
- publicApiV1AccountNifTransfersList - List issued tax ID transfers
- publicApiV1AccountNifTransfersRevoke - Revoke a tax ID transfer
Account.Owner
- publicApiV1AccountOwnerTransfer - Transfer account ownership
Account.Personalization
- publicApiV1AccountPersonalizationTemplates - List available personalization templates
- publicApiV1AccountPersonalizationUpdate - Update account personalization
Account.RequestLogs
- publicApiV1AccountRequestLogsList - List your account API request logs
- publicApiV1AccountRequestLogsShow - Retrieve an account API request log
Account.Webhooks
- publicApiV1AccountWebhooksCreate - Create an account webhook endpoint
- publicApiV1AccountWebhooksList - List account webhook endpoints
- publicApiV1AccountWebhooksDelete - Delete an account webhook endpoint
- publicApiV1AccountWebhooksShow - Retrieve an account webhook endpoint
- publicApiV1AccountWebhooksUpdate - Update an account webhook endpoint
- publicApiV1AccountWebhooksRotateSecret - Rotate an account webhook secret
- publicApiV1AccountWebhooksTest - Send a test event to an account webhook endpoint
Account.Webhooks.Deliveries
- publicApiV1AccountWebhooksDeliveriesList - List account webhook deliveries
- publicApiV1AccountWebhooksDeliveriesRetry - Retry an account webhook delivery
- publicApiV1AccountWebhooksDeliveriesShow - Retrieve an account webhook delivery
Agenda
- publicApiV1AgendaList - List agenda items
Automations.Catalog
- publicApiV1AutomationsCatalogShow - Retrieve the automation catalog
- publicApiV1AutomationsCatalogTriggerFields - Retrieve the evaluable fields of a trigger
Automations.Rules
- publicApiV1AutomationsRulesActivate - Activate an automation rule
- publicApiV1AutomationsRulesCreate - Create an automation rule
- publicApiV1AutomationsRulesList - List your automation rules
- publicApiV1AutomationsRulesDelete - Delete an automation rule
- publicApiV1AutomationsRulesShow - Retrieve an automation rule
- publicApiV1AutomationsRulesUpdate - Update an automation rule
- publicApiV1AutomationsRulesDryRun - Dry-run an automation rule
- publicApiV1AutomationsRulesPause - Pause an automation rule
Automations.Rules.Versions
- publicApiV1AutomationsRulesVersionsList - List the versions of an automation rule
- publicApiV1AutomationsRulesVersionsShow - Retrieve a version of an automation rule
Automations.Runs
- publicApiV1AutomationsRunsList - List automation runs
- publicApiV1AutomationsRunsReplay - Replay the parked steps of an automation run
- publicApiV1AutomationsRunsShow - Retrieve an automation run
Automations.Runs.Steps
- publicApiV1AutomationsRunsStepsList - List the steps of an automation run
- publicApiV1AutomationsRunsStepsReplay - Replay one step of an automation run
Automations.Usage
- publicApiV1AutomationsUsageShow - Retrieve automation usage
Companies
- publicApiV1CompaniesActivateBatch - Activate several tax IDs of the account
- publicApiV1CompaniesActivate - Activate a tax ID of the account
- publicApiV1CompaniesDeactivate - Deactivate a tax ID of the account
- publicApiV1CompaniesDelete - Archive a tax ID of the account
- publicApiV1CompaniesShow - Retrieve a tax ID of the account
- publicApiV1CompaniesUpdate - Update a tax ID of the account
- publicApiV1CompaniesStats - Retrieve invoicing statistics per company
- publicApiV1CompaniesCreationStatus - Retrieve the creation status of a tax ID
- publicApiV1CompaniesIssuingReadiness - Check whether a portfolio NIF can issue
- publicApiV1CompaniesSeatChargePreview - Preview the seat charge of adding a company
- publicApiV1CompaniesList - List the tax IDs of your account
- publicApiV1CompaniesCreate - Register a tax ID in the account
- publicApiV1CompaniesVerifyCreation - Verify the creation of a tax ID
Contacts
- publicApiV1ContactsArchive - Archive a contact
- publicApiV1ContactsAssignContactRole - Assign a contact role
- publicApiV1ContactsRemoveContactRole - Remove a contact role
- publicApiV1ContactsBulkArchive - Archive contacts in bulk
- publicApiV1ContactsBulkChangeContactRoleStatus - Change contact role status in bulk
- publicApiV1ContactsBulkCreate - Create contacts in bulk
- publicApiV1ContactsBulkDelete - Delete contacts in bulk
- publicApiV1ContactsChangeContactRoleStatus - Change a contact role status
- publicApiV1ContactsCreate - Create a contact
- publicApiV1ContactsList - List contacts
- publicApiV1ContactsDelete - Delete a contact
- publicApiV1ContactsShow - Retrieve a contact
- publicApiV1ContactsUpdate - Update a contact
- publicApiV1ContactsImportTemplate - Download the contact import template
- publicApiV1ContactsFindByExternalId - Find a contact by external ID
- publicApiV1ContactsFindByTaxId - Find a contact by tax ID
- publicApiV1ContactsActivities - List contact activity
- publicApiV1ContactsOptions - List contact filter options
- publicApiV1ContactsStats - Get contact statistics
- publicApiV1ContactsImport - Import contacts
- publicApiV1ContactsPreviewImport - Preview a contact import
- publicApiV1ContactsRestore - Restore an archived contact
- publicApiV1ContactsSearch - Search contacts
- publicApiV1ContactsUpdateBankAccounts - Replace the bank accounts of a contact
- publicApiV1ContactsUpdateCustomerProfile - Update a customer profile
- publicApiV1ContactsUpdateSupplierProfile - Update a supplier profile
- publicApiV1ContactsVerifyCensus - Verify a contact against the AEAT census
Contacts.Imports
- publicApiV1ContactsImportsErrors - Download contact import errors
- publicApiV1ContactsImportsShow - Retrieve a contact import
DeliveryNotes
- publicApiV1DeliveryNotesBulkDelete - Bulk delete delivery notes
- publicApiV1DeliveryNotesBulkPdf - Bulk download delivery note PDFs
- publicApiV1DeliveryNotesBulkSend - Bulk send delivery notes
- publicApiV1DeliveryNotesBulkStatus - Bulk change delivery note status
- publicApiV1DeliveryNotesCancel - Cancel a delivery note
- publicApiV1DeliveryNotesConvert - Convert delivery note to invoice
- publicApiV1DeliveryNotesCreate - Create a delivery note
- publicApiV1DeliveryNotesList - List all delivery notes
- publicApiV1DeliveryNotesDelete - Delete a delivery note
- publicApiV1DeliveryNotesShow - Retrieve a delivery note
- publicApiV1DeliveryNotesUpdate - Update a delivery note
- publicApiV1DeliveryNotesPdf - Download delivery note PDF
- publicApiV1DeliveryNotesDuplicate - Duplicate a delivery note
- publicApiV1DeliveryNotesFindByExternalId - Find a delivery note by external ID
- publicApiV1DeliveryNotesStats - Retrieve delivery note stats
- publicApiV1DeliveryNotesStatuses - List delivery note statuses
- publicApiV1DeliveryNotesMarkDelivered - Mark delivery note as delivered
- publicApiV1DeliveryNotesSend - Send a delivery note
- publicApiV1DeliveryNotesSign - Sign a delivery note
DeliveryNotes.PublicLink
- publicApiV1DeliveryNotesPublicLinkGet - Retrieve a delivery note public link
- publicApiV1DeliveryNotesPublicLinkUpdate - Update a delivery note public link
DeliveryNotes.SignatureAudits
- publicApiV1DeliveryNotesSignatureAuditsForget - Forget delivery note signature PII
Developers.RequestLogs
- publicApiV1DevelopersRequestLogsList - List your API request logs
- publicApiV1DevelopersRequestLogsShow - Retrieve an API request log
Emails
- publicApiV1EmailsIndicators - Summarize email delivery per document
- publicApiV1EmailsList - List sent emails
- publicApiV1EmailsShow - Retrieve a sent email
EmployeeBatches
- publicApiV1EmployeeBatchesCancel - Cancel an employee batch
- publicApiV1EmployeeBatchesConfirm - Confirm an employee batch
- publicApiV1EmployeeBatchesList - List an employee batch
- publicApiV1EmployeeBatchesPrepare - Prepare an employee batch
- publicApiV1EmployeeBatchesRefreshQuote - Refresh the quote for an employee batch
- publicApiV1EmployeeBatchesShow - Retrieve an employee batch
EmployeeInvitations
- publicApiV1EmployeeInvitationsCancel - Cancel an employee invitation
- publicApiV1EmployeeInvitationsList - List employee invitations
- publicApiV1EmployeeInvitationsSend - Send an employee invitation
- publicApiV1EmployeeInvitationsResend - Resend an employee invitation
Employees
- publicApiV1EmployeesCreate - Create an employee
- publicApiV1EmployeesList - List all employees
- publicApiV1EmployeesDeactivate - Deactivate an employee
- publicApiV1EmployeesFindByExternalId - Find an employee by external ID
- publicApiV1EmployeesStats - Get employee stats
- publicApiV1EmployeesReactivate - Reactivate an employee
- publicApiV1EmployeesShow - Retrieve an employee
- publicApiV1EmployeesUpdate - Update an employee
EmployeeSeats
- publicApiV1EmployeeSeatsCancel - Cancel the employee seat add-on
- publicApiV1EmployeeSeatsChangeQuantity - Sync the employee seat quantity
- publicApiV1EmployeeSeatsStatus - Retrieve employee seat billing status
- publicApiV1EmployeeSeatsPreview - Preview the employee seat charge
- publicApiV1EmployeeSeatsSubscribe - Subscribe to the employee seat add-on
EventCatalog
- publicApiV1EventCatalogList - List event types
Events
- publicApiV1EventsList - List all events
- publicApiV1EventsShow - Retrieve an event
FaceSubmissions
- publicApiV1FaceSubmissionsCancel - Request FACe submission cancellation
- publicApiV1FaceSubmissionsShow - Retrieve a FACe submission
Gestoria
- publicApiV1GestoriaWorkforceSummary - Retrieve the consolidated workforce compliance overview
Holidays
- publicApiV1HolidaysList - List all holidays
- publicApiV1HolidaysResolve - Resolve applicable holidays
- publicApiV1HolidaysShow - Retrieve a holiday
Integrations.Events
- publicApiV1IntegrationsEventsList - List integration events
- publicApiV1IntegrationsEventsReplay - Replay a parked integration event
- publicApiV1IntegrationsEventsShow - Retrieve an integration event
Invoices
- publicApiV1InvoicesAnnul - Annul an invoice
- publicApiV1InvoicesAssignRealNumber - Assign a real invoice number
- publicApiV1InvoicesBulkCreate - Bulk create invoices
- publicApiV1InvoicesBulkDelete - Bulk delete invoices
- publicApiV1InvoicesBulkPdf - Bulk download invoice PDFs
- publicApiV1InvoicesBulkSend - Bulk send invoices
- publicApiV1InvoicesBulkStatus - Bulk change invoice status
- publicApiV1InvoicesCanAnnul - Check annulment eligibility
- publicApiV1InvoicesSimplifiedEligibility - Check simplified invoice eligibility
- publicApiV1InvoicesCorrective - Generate corrective invoice
- publicApiV1InvoicesCreate - Create an invoice
- publicApiV1InvoicesList - List all invoices
- publicApiV1InvoicesVerifactuCreate - Force-create VeriFactu record for invoice
- publicApiV1InvoicesVerifactuGet - Retrieve invoice VeriFactu record
- publicApiV1InvoicesCreateRecurring - Create a recurring invoice from an invoice
- publicApiV1InvoicesDelete - Delete an invoice
- publicApiV1InvoicesShow - Retrieve an invoice
- publicApiV1InvoicesUpdate - Update an invoice
- publicApiV1InvoicesFacturae - Download FacturaE XML
- publicApiV1InvoicesPdf - Download invoice PDF
- publicApiV1InvoicesDuplicate - Duplicate an invoice
- publicApiV1InvoicesExportExcel - Export invoices to a spreadsheet
- publicApiV1InvoicesFindByExternalId - Find an invoice by external ID
- publicApiV1InvoicesFindByNumber - Find an invoice by number
- publicApiV1InvoicesPdfLink - Generate temporary PDF link
- publicApiV1InvoicesPublicLinkGet - Retrieve invoice public link
- publicApiV1InvoicesPublicLinkUpdate - Update invoice public link
- publicApiV1InvoicesStats - Get invoice statistics
- publicApiV1InvoicesIssue - Issue an invoice
- publicApiV1InvoicesActivities - List invoice activity
- publicApiV1InvoicesCorrectives - List corrective invoices
- publicApiV1InvoicesPaymentsList - List invoice payments
- publicApiV1InvoicesPaymentsCreate - Register a payment
- publicApiV1InvoicesStatuses - List invoice statuses
- publicApiV1InvoicesMarkPaid - Mark invoice as paid
- publicApiV1InvoicesMarkSent - Mark an invoice as sent
- publicApiV1InvoicesPdfPreview - Preview an invoice draft PDF
- publicApiV1InvoicesReminderPreview - Preview a payment reminder email
- publicApiV1InvoicesPaymentReceipt - Download the receipt PDF of a payment
- publicApiV1InvoicesReschedule - Reschedule an invoice
- publicApiV1InvoicesPaymentsRevert - Revert an invoice payment
- publicApiV1InvoicesSchedule - Schedule an invoice
- publicApiV1InvoicesSend - Send invoice by email
- publicApiV1InvoicesSendReminder - Send a payment reminder
- publicApiV1InvoicesSubstituteSimplified - Substitute simplified invoices with full invoice
- publicApiV1InvoicesUnschedule - Unschedule an invoice
- publicApiV1InvoicesUnsend - Unsend an invoice
- publicApiV1InvoicesVoid - Void an invoice
Invoices.FaceSubmissions
- publicApiV1InvoicesFaceSubmissionsList - List invoice FACe submissions
- publicApiV1InvoicesFaceSubmissionsSubmit - Submit invoice to FACe
Invoices.Quarterly
- publicApiV1InvoicesQuarterlyAvailable - List quarters to export
- publicApiV1InvoicesQuarterlyDownloadZip - Generate quarterly ZIP archive
- publicApiV1InvoicesQuarterlySendEmail - Email quarterly ZIP to accountant
ManagedAccounts
- publicApiV1ManagedAccountsList - List managed accounts
- publicApiV1ManagedAccountsCreate - Provision a managed account
- publicApiV1ManagedAccountsProvisioningPreview - Preview the provisioning of a managed account
- publicApiV1ManagedAccountsShow - Retrieve a managed account
ManagedAccounts.AccessLevel
- publicApiV1ManagedAccountsAccessLevelUpdate - Change the access level on a managed account
ManagedAccounts.ClaimTokens
- publicApiV1ManagedAccountsClaimTokensCreate - Reissue the claim voucher of a managed account
ManagedAccounts.Imports
- publicApiV1ManagedAccountsImportsCreate - Apply a bulk import of managed accounts
- publicApiV1ManagedAccountsImportsTemplate - Download the bulk import template
- publicApiV1ManagedAccountsImportsPreview - Preview a bulk import of managed accounts
ManagedAccounts.Management
- publicApiV1ManagedAccountsManagementEnd - End the management of an account
ManagedAccounts.Plan
- publicApiV1ManagedAccountsPlanUpdate - Change the plan of a managed account
- publicApiV1ManagedAccountsPlanPreview - Preview a managed account plan change
MonthlyTimeRecordCloses
- publicApiV1MonthlyTimeRecordClosesCreate - Close a monthly time record
- publicApiV1MonthlyTimeRecordClosesList - List all monthly time record closes
- publicApiV1MonthlyTimeRecordClosesExport - Download the closed register (RD-ley 8/2019)
- publicApiV1MonthlyTimeRecordClosesPayrollExport - Download the payroll export of a closed month
- publicApiV1MonthlyTimeRecordClosesReport - Retrieve the report of a closed period
- publicApiV1MonthlyTimeRecordClosesReopen - Reopen a monthly time record close
- publicApiV1MonthlyTimeRecordClosesSeal - Seal a monthly time record register
- publicApiV1MonthlyTimeRecordClosesSealShow - Retrieve the seal of a monthly register
- publicApiV1MonthlyTimeRecordClosesShow - Retrieve a monthly time record close
Notifications
- publicApiV1NotificationsList - List notifications
- publicApiV1NotificationsMarkAllRead - Mark all notifications as read
- publicApiV1NotificationsRead - Mark a notification as read
PaymentMethods
- publicApiV1PaymentMethodsList - List payment methods
Payouts
- publicApiV1PayoutsShow - Retrieve a Stripe payout
- publicApiV1PayoutsList - List Stripe payouts
PayrollExportFormats
- publicApiV1PayrollExportFormatsList - List the supported payroll export formats
Presence
- publicApiV1PresenceShow - Retrieve an employee’s live presence
- publicApiV1PresenceLive - Get the live team presence
- publicApiV1PresenceDaily - List office/remote presence declarations
PriceLists
- publicApiV1PriceListsCreate - Create a price list
- publicApiV1PriceListsList - List price lists
- publicApiV1PriceListsDelete - Delete a price list
- publicApiV1PriceListsShow - Retrieve a price list
- publicApiV1PriceListsUpdate - Update a price list
- publicApiV1PriceListsOptions - List active price list options
- publicApiV1PriceListsResolve - Resolve a catalog price
- publicApiV1PriceListsResolveMany - Resolve many catalog prices
PriceLists.Items
- publicApiV1PriceListsItemsDelete - Delete a price list item
- publicApiV1PriceListsItemsList - List price list items
- publicApiV1PriceListsItemsUpsert - Upsert a price list item
- publicApiV1PriceListsItemsPurgeRetired - Permanently delete a retired price list item
- publicApiV1PriceListsItemsReassignRetired - Reassign a retired price list item
Products
- publicApiV1ProductsBulkDelete - Delete multiple products in bulk
- publicApiV1ProductsBulkStatus - Bulk change product active state
- publicApiV1ProductsBulkUpdateStock - Update stock for many products
- publicApiV1ProductsCreate - Create a product
- publicApiV1ProductsList - List all products
- publicApiV1ProductsDelete - Delete a product
- publicApiV1ProductsShow - Retrieve a product
- publicApiV1ProductsUpdate - Update a product
- publicApiV1ProductsFindByExternalId - Find a product by external ID
- publicApiV1ProductsFindBySku - Find a product by SKU
- publicApiV1ProductsLowStockReport - List products below the stock threshold
- publicApiV1ProductsActivities - List product activity timeline
- publicApiV1ProductsSalesAnalytics - Get product sales analytics
- publicApiV1ProductsStats - Get product stats
- publicApiV1ProductsResolveSelection - Resolve a catalog selection
- publicApiV1ProductsSearch - Search products
- publicApiV1ProductsToggleActive - Toggle product active state
- publicApiV1ProductsUpdateStock - Update product stock
Products.BaseUnitReplacement
- publicApiV1ProductsBaseUnitReplacementPreview - Preview a base unit replacement
- publicApiV1ProductsBaseUnitReplacementCreate - Replace a product by changing its base unit
Products.Configurations
- publicApiV1ProductsConfigurationsList - List product commercial combinations
- publicApiV1ProductsConfigurationsImpactPreview - Preview the impact of restricting a catalog
Products.Gallery
- publicApiV1ProductsGalleryDelete - Remove a gallery image from a product
- publicApiV1ProductsGalleryDownload - Download a product gallery image binary
- publicApiV1ProductsGalleryUpload - Upload a gallery image to a product
Products.Presentations
- publicApiV1ProductsPresentationsCreate - Create a product presentation
- publicApiV1ProductsPresentationsList - List product presentations
- publicApiV1ProductsPresentationsDelete - Delete a product presentation
- publicApiV1ProductsPresentationsUpdate - Update a product presentation
Products.ProductOptions
- publicApiV1ProductsOptionsList - List product option groups
Products.StockMovements
- publicApiV1ProductsStockMovementsList - List stock movements of a product
Products.SupplierOffers
- publicApiV1ProductsSupplierOffersCreate - Create a supplier offer
- publicApiV1ProductsSupplierOffersList - List supplier offers
- publicApiV1ProductsSupplierOffersDelete - Delete a supplier offer
- publicApiV1ProductsSupplierOffersUpdate - Update a supplier offer
- publicApiV1ProductsSupplierOffersPreferred - Set the preferred supplier offer
Products.Variants
- publicApiV1ProductsVariantsCreate - Create a product variant
- publicApiV1ProductsVariantsList - List product variants
- publicApiV1ProductsVariantsDelete - Delete a product variant
- publicApiV1ProductsVariantsUpdate - Update a product variant
Products.Video
- publicApiV1ProductsVideoDelete - Remove the product video
- publicApiV1ProductsVideoUpload - Upload a video to a product
- publicApiV1ProductsVideoDownload - Download the product video binary
Proformas
- publicApiV1ProformasAccept - Accept a proforma
- publicApiV1ProformasBulkDelete - Bulk delete proformas
- publicApiV1ProformasBulkPdf - Bulk download proforma PDFs
- publicApiV1ProformasBulkSend - Bulk send proformas
- publicApiV1ProformasBulkStatus - Bulk change proforma status
- publicApiV1ProformasConvert - Convert proforma to invoice
- publicApiV1ProformasCreate - Create a proforma
- publicApiV1ProformasList - List all proformas
- publicApiV1ProformasDelete - Delete a proforma
- publicApiV1ProformasShow - Retrieve a proforma
- publicApiV1ProformasUpdate - Update a proforma
- publicApiV1ProformasPdf - Download proforma PDF
- publicApiV1ProformasDuplicate - Duplicate a proforma
- publicApiV1ProformasFindByExternalId - Find a proforma by external ID
- publicApiV1ProformasPublicLinkGet - Retrieve proforma public link
- publicApiV1ProformasPublicLinkUpdate - Update proforma public link
- publicApiV1ProformasStats - Get proforma stats
- publicApiV1ProformasStatuses - List proforma statuses
- publicApiV1ProformasReject - Reject a proforma
- publicApiV1ProformasSend - Send proforma by email
Projects
- publicApiV1ProjectsArchive - Archive a project
- publicApiV1ProjectsCreate - Create a project
- publicApiV1ProjectsList - List projects
- publicApiV1ProjectsDelete - Delete a project
- publicApiV1ProjectsShow - Retrieve a project
- publicApiV1ProjectsUpdate - Update a project
- publicApiV1ProjectsFindByKey - Find a project by key
- publicApiV1ProjectsUnarchive - Unarchive a project
Projects.Columns
- publicApiV1ProjectsColumnsCreate - Create a project column
- publicApiV1ProjectsColumnsList - List project columns
- publicApiV1ProjectsColumnsDelete - Delete a project column
- publicApiV1ProjectsColumnsUpdate - Update a project column
- publicApiV1ProjectsColumnsReorder - Reorder project columns
Projects.CustomFields
- publicApiV1ProjectsCustomFieldsCreate - Create a project custom field
- publicApiV1ProjectsCustomFieldsList - List project custom fields
- publicApiV1ProjectsCustomFieldsDelete - Delete a project custom field
- publicApiV1ProjectsCustomFieldsUpdate - Update a project custom field
Projects.Tasks
- publicApiV1ProjectsTasksExport - Export project tasks
- publicApiV1ProjectsTasksImport - Import tasks into a project
Projects.TimeInvoices
- publicApiV1ProjectsTimeInvoicesCreate - Invoice project time
- publicApiV1ProjectsTimeInvoicesPreview - Preview a project time invoice
Projects.TimeSummary
- publicApiV1ProjectsTimeSummaryShow - Retrieve a project time summary
PurchaseInvoices
- publicApiV1PurchaseInvoicesAttachFile - Attach a file to an expense
- publicApiV1PurchaseInvoicesBulkDelete - Bulk delete expenses
- publicApiV1PurchaseInvoicesBulkStatus - Bulk change expense status
- publicApiV1PurchaseInvoicesCreate - Create an expense
- publicApiV1PurchaseInvoicesList - List all expenses
- publicApiV1PurchaseInvoicesDelete - Delete an expense
- publicApiV1PurchaseInvoicesShow - Retrieve an expense
- publicApiV1PurchaseInvoicesUpdate - Update an expense
- publicApiV1PurchaseInvoicesDeleteFile - Remove an expense file
- publicApiV1PurchaseInvoicesFile - Download the original expense file
- publicApiV1PurchaseInvoicesPaymentReceipt - Download the receipt PDF of an expense payment
- publicApiV1PurchaseInvoicesFindByExternalId - Find an expense by external ID
- publicApiV1PurchaseInvoicesStats - Get expense stats
- publicApiV1PurchaseInvoicesExpenseCategories - List expense categories
- publicApiV1PurchaseInvoicesOverdue - List overdue expenses
- publicApiV1PurchaseInvoicesPending - List pending expenses
- publicApiV1PurchaseInvoicesListPayments - List expense payments
- publicApiV1PurchaseInvoicesRegisterPayment - Register an expense payment
- publicApiV1PurchaseInvoicesMarkPaid - Mark expense as paid
PurchaseScanEmails
- publicApiV1PurchaseScanEmailsList - List purchase scanner emails
PurchaseScans
- publicApiV1PurchaseScansArchive - Archive a purchase scan
- publicApiV1PurchaseScansShow - Retrieve a purchase scan
- publicApiV1PurchaseScansConvert - Create the expense from a scan
- publicApiV1PurchaseScansSource - Download the original document
- publicApiV1PurchaseScansStats - Get purchase scanner stats
- publicApiV1PurchaseScansDuplicateResolution - Resolve a duplicate purchase scan
- publicApiV1PurchaseScansRestore - Restore an archived purchase scan
- publicApiV1PurchaseScansRetry - Retry a failed purchase scan
- publicApiV1PurchaseScansReview - Save the review of a purchase scan
- publicApiV1PurchaseScansList - List purchase scans
- publicApiV1PurchaseScansCreate - Upload documents to the purchase scanner
Quotes
- publicApiV1QuotesAccept - Accept a quote
- publicApiV1QuotesBulkDelete - Bulk delete quotes
- publicApiV1QuotesBulkPdf - Bulk download quote PDFs
- publicApiV1QuotesBulkSend - Bulk send quotes
- publicApiV1QuotesBulkStatus - Bulk change quote status
- publicApiV1QuotesConvert - Convert quote to invoice
- publicApiV1QuotesCreate - Create a quote
- publicApiV1QuotesList - List all quotes
- publicApiV1QuotesDelete - Delete a quote
- publicApiV1QuotesShow - Retrieve a quote
- publicApiV1QuotesUpdate - Update a quote
- publicApiV1QuotesPdf - Download quote PDF
- publicApiV1QuotesDuplicate - Duplicate a quote
- publicApiV1QuotesFindByExternalId - Find a quote by external ID
- publicApiV1QuotesPublicLinkGet - Retrieve quote public link
- publicApiV1QuotesPublicLinkUpdate - Update quote public link
- publicApiV1QuotesStats - Get quote stats
- publicApiV1QuotesStatuses - List quote statuses
- publicApiV1QuotesReject - Reject a quote
- publicApiV1QuotesSend - Send quote by email
RecurringInvoices
- publicApiV1RecurringInvoicesActivate - Activate recurring invoice
- publicApiV1RecurringInvoicesBulkDelete - Bulk delete recurring invoices
- publicApiV1RecurringInvoicesBulkStatus - Bulk change recurring invoice status
- publicApiV1RecurringInvoicesCancel - Cancel recurring invoice
- publicApiV1RecurringInvoicesCreate - Create a recurring invoice
- publicApiV1RecurringInvoicesList - List all recurring invoices
- publicApiV1RecurringInvoicesDelete - Delete a recurring invoice
- publicApiV1RecurringInvoicesShow - Retrieve a recurring invoice
- publicApiV1RecurringInvoicesUpdate - Update a recurring invoice
- publicApiV1RecurringInvoicesFindByExternalId - Find a recurring invoice by external ID
- publicApiV1RecurringInvoicesGenerate - Generate an invoice from a recurring template
- publicApiV1RecurringInvoicesStats - Retrieve recurring invoice stats
- publicApiV1RecurringInvoicesActivities - List recurring invoice activity
- publicApiV1RecurringInvoicesLogs - List recurring invoice execution logs
- publicApiV1RecurringInvoicesPause - Pause recurring invoice
- publicApiV1RecurringInvoicesPreview - Preview upcoming recurring invoice dates
- publicApiV1RecurringInvoicesResume - Resume recurring invoice
- publicApiV1RecurringInvoicesSkip - Skip the next recurring invoice generation
Series
- publicApiV1SeriesArchive - Archive a series
- publicApiV1SeriesBootstrap - Bootstrap the default series of a company
- publicApiV1SeriesCreate - Create a series
- publicApiV1SeriesList - List all series
- publicApiV1SeriesFindByCode - Find a series by code
- publicApiV1SeriesDefault - Get the default series for a document type
- publicApiV1SeriesActivities - List series activity timeline
- publicApiV1SeriesStats - Get series stats
- publicApiV1SeriesActive - List active series by document type
- publicApiV1SeriesSetDefault - Mark a series as default for its type
- publicApiV1SeriesShow - Retrieve a series
- publicApiV1SeriesUpdate - Update a series
- publicApiV1SeriesUnarchive - Unarchive a series
Shopify.Stores
- publicApiV1ShopifyStoresConnectionTest - Test a Shopify store connection
Stores
- publicApiV1StoresCreate - Connect a store
- publicApiV1StoresIndex - List connected stores
- publicApiV1StoresDisconnect - Disconnect a store
- publicApiV1StoresShow - Retrieve a connected store
- publicApiV1StoresUpdate - Update store settings
StripeAutoinvoicing.Accounts
- publicApiV1StripeAutoinvoicingAccountsDisconnect - Disconnect a connected Stripe account
- publicApiV1StripeAutoinvoicingAccountsShow - Retrieve a connected Stripe account
- publicApiV1StripeAutoinvoicingAccountsUpdate - Update a connected Stripe account
- publicApiV1StripeAutoinvoicingAccountsList - List connected Stripe accounts
StripeAutoinvoicing.Accounts.ChargeRules
- publicApiV1StripeAutoinvoicingAccountsChargeRulesCreate - Create a charge treatment rule
- publicApiV1StripeAutoinvoicingAccountsChargeRulesList - List charge treatment rules of a connected Stripe account
- publicApiV1StripeAutoinvoicingAccountsChargeRulesDelete - Delete a charge treatment rule
- publicApiV1StripeAutoinvoicingAccountsChargeRulesUpdate - Update a charge treatment rule
- publicApiV1StripeAutoinvoicingAccountsChargeRulesReorder - Reorder the charge treatment rules
StripeAutoinvoicing.Accounts.NonInvoicedCharges
- publicApiV1StripeAutoinvoicingAccountsNonInvoicedChargesList - List non-invoiced charges of a connected Stripe account
StripeAutoinvoicing.Authorizations
- publicApiV1StripeAutoinvoicingAuthorizationsCreate - Start a Stripe Connect authorization
StripeAutoinvoicing.Config
- publicApiV1StripeAutoinvoicingConfigShow - Retrieve Stripe autoinvoicing config
- publicApiV1StripeAutoinvoicingConfigUpdate - Update Stripe autoinvoicing config
StripeAutoinvoicing.Correctives
- publicApiV1StripeAutoinvoicingCorrectivesList - List Stripe autoinvoiced correctives
StripeAutoinvoicing.Payments
- publicApiV1StripeAutoinvoicingPaymentsList - List Stripe autoinvoiced charges
TaskLabels
- publicApiV1TaskLabelsCreate - Create a task label
- publicApiV1TaskLabelsList - List task labels
- publicApiV1TaskLabelsDelete - Delete a task label
- publicApiV1TaskLabelsShow - Retrieve a task label
- publicApiV1TaskLabelsUpdate - Update a task label
Tasks
- publicApiV1TasksAssign - Assign a task
- publicApiV1TasksBulkStatus - Bulk change task status
- publicApiV1TasksBulkDelete - Bulk delete tasks
- publicApiV1TasksBulkUpdate - Bulk update tasks
- publicApiV1TasksStatus - Change task status
- publicApiV1TasksCreate - Create a task
- publicApiV1TasksSearch - Search tasks
- publicApiV1TasksDelete - Delete a task
- publicApiV1TasksShow - Retrieve a task
- publicApiV1TasksUpdate - Update a task
- publicApiV1TasksDuplicate - Duplicate a task
- publicApiV1TasksFindByKey - Find a task by key
- publicApiV1TasksLinked - List tasks linked to an entity
- publicApiV1TasksReposition - Reposition a task
- publicApiV1TasksMove - Move a task to another project
- publicApiV1TasksUnassign - Unassign a task
Tasks.Activities
- publicApiV1TasksActivitiesList - List task activity
Tasks.Attachments
- publicApiV1TasksAttachmentsDelete - Delete a task attachment
- publicApiV1TasksAttachmentsShow - Retrieve a task attachment
- publicApiV1TasksAttachmentsDownload - Download a task attachment
- publicApiV1TasksAttachmentsList - List task attachments
- publicApiV1TasksAttachmentsCreate - Upload a task attachment
Tasks.Comments
- publicApiV1TasksCommentsCreate - Create a task comment
- publicApiV1TasksCommentsList - List task comments
- publicApiV1TasksCommentsDelete - Delete a task comment
- publicApiV1TasksCommentsUpdate - Update a task comment
Tasks.CustomFields
- publicApiV1TasksCustomFieldsSet - Set a task custom field value
Tasks.EntityLinks
- publicApiV1TasksEntityLinksCreate - Link a task to an entity
- publicApiV1TasksEntityLinksList - List task entity links
- publicApiV1TasksEntityLinksDelete - Unlink a task from an entity
Tasks.ExternalLinks
- publicApiV1TasksExternalLinksCreate - Create a task external link
- publicApiV1TasksExternalLinksList - List task external links
- publicApiV1TasksExternalLinksDelete - Delete a task external link
Tasks.Labels
- publicApiV1TasksLabelsAssign - Assign a label to a task
- publicApiV1TasksLabelsUnassign - Remove a label from a task
Tasks.Relations
- publicApiV1TasksRelationsCreate - Create a task relation
- publicApiV1TasksRelationsList - List task relations
- publicApiV1TasksRelationsDelete - Delete a task relation
Tasks.TimeEntries
- publicApiV1TasksTimeEntriesDelete - Delete a task time entry
- publicApiV1TasksTimeEntriesShow - Retrieve a task time entry
- publicApiV1TasksTimeEntriesUpdate - Update a task time entry
- publicApiV1TasksTimeEntriesList - List task time entries
- publicApiV1TasksTimeEntriesCreate - Create a task time entry
Tasks.Timer
- publicApiV1TasksTimerStart - Start a task timer
Tasks.UploadLinks
- publicApiV1TasksUploadLinksCreate - Create a task upload link
TaskTimers
- publicApiV1TaskTimersCurrent - Retrieve the running task timer
- publicApiV1TaskTimersStop - Stop the running task timer
TaxCatalog
- publicApiV1TaxCatalogShow - Retrieve the tax catalog
Taxes
- publicApiV1TaxesCalculate - Calculate a tax over a base amount
- publicApiV1TaxesCalculateTotals - Calculate totals for a set of lines
- publicApiV1TaxesIsInUse - Check whether a tax is in use
- publicApiV1TaxesCreate - Create a tax
- publicApiV1TaxesList - List all taxes
- publicApiV1TaxesDelete - Delete a tax
- publicApiV1TaxesShow - Retrieve a tax
- publicApiV1TaxesUpdate - Update a tax
- publicApiV1TaxesActive - List active taxes
- publicApiV1TaxesDefaults - Get default taxes for a document type
- publicApiV1TaxesStats - Get tax stats
- publicApiV1TaxesByType - List taxes filtered by type
- publicApiV1TaxesForPurchases - List taxes applicable to purchases
- publicApiV1TaxesForSales - List taxes applicable to sales
- publicApiV1TaxesSetDefault - Mark a tax as the default for its type
- publicApiV1TaxesSetDefaultForDocument - Set tax default for a document type
- publicApiV1TaxesToggle - Toggle tax active state
TaxReports
- publicApiV1TaxReportsDownload - Download tax report file
- publicApiV1TaxReportsFindByPeriod - Find a tax report by period
- publicApiV1TaxReportsGenerate130 - Generate Modelo 130
- publicApiV1TaxReportsGenerate303 - Generate Modelo 303
- publicApiV1TaxReportsGenerate347 - Generate Modelo 347
- publicApiV1TaxReportsActivities - List tax report activities
- publicApiV1TaxReportsStats - Retrieve tax report stats
- publicApiV1TaxReportsHistory - List tax report history
- publicApiV1TaxReportsPreview - Preview a tax report
TimeBalances
- publicApiV1TimeBalancesEmployee - Retrieve an employee’s time balance for a period
- publicApiV1TimeBalancesMonthlySheet - Retrieve an employee’s monthly time sheet
- publicApiV1TimeBalancesTeamSummary - Retrieve the team time balance summary
TimeCorrections
- publicApiV1TimeCorrectionsApprove - Approve a time entry correction
- publicApiV1TimeCorrectionsList - List all time entry corrections
- publicApiV1TimeCorrectionsCreate - Request a time entry correction
- publicApiV1TimeCorrectionsReject - Reject a time entry correction
- publicApiV1TimeCorrectionsShow - Retrieve a time entry correction
TimeEntries
- publicApiV1TimeEntriesClockIn - Clock in an employee
- publicApiV1TimeEntriesClockOut - Clock out an employee
- publicApiV1TimeEntriesCurrent - Retrieve an employee’s current workday state
- publicApiV1TimeEntriesList - List all time entries
- publicApiV1TimeEntriesPause - Start a pause
- publicApiV1TimeEntriesManual - Record a manual retroactive entry
- publicApiV1TimeEntriesResume - Resume from a pause
- publicApiV1TimeEntriesShow - Retrieve a time entry
TimeEntries.Chain
- publicApiV1TimeEntriesChainValidate - Validate the time record hash chain
TimeTrackingSettings
- publicApiV1TimeTrackingSettingsShow - Retrieve the time tracking settings
- publicApiV1TimeTrackingSettingsUpdate - Update the time tracking settings
TransportDocuments
- publicApiV1TransportDocumentsCancel - Cancel a transport document
- publicApiV1TransportDocumentsClose - Close a transport document
- publicApiV1TransportDocumentsCreate - Create a transport document
- publicApiV1TransportDocumentsIndex - List all transport documents
- publicApiV1TransportDocumentsDelete - Delete a draft transport document
- publicApiV1TransportDocumentsShow - Retrieve a transport document
- publicApiV1TransportDocumentsUpdate - Update a draft transport document
- publicApiV1TransportDocumentsIssuanceProof - Download transport document issuance proof
- publicApiV1TransportDocumentsPdf - Download transport document PDF
- publicApiV1TransportDocumentsEvidence - List transport document issuance evidence
- publicApiV1TransportDocumentsQr - Download transport document QR code
- publicApiV1TransportDocumentsStatuses - List transport document statuses
- publicApiV1TransportDocumentsIssue - Issue a transport document
- publicApiV1TransportDocumentsModify - Modify an issued transport document
- publicApiV1TransportDocumentsReopen - Reopen a transport document
- publicApiV1TransportDocumentsSend - Send a transport document by email
- publicApiV1TransportDocumentsSupersede - Mark a transport document as superseded
Users
- publicApiV1UsersMe - Retrieve the current user
- publicApiV1UsersList - List users
Verifactu
- publicApiV1VerifactuConfig - Retrieve VeriFactu config
- publicApiV1VerifactuStats - Get VeriFactu stats
Verifactu.AeatAccess
- publicApiV1VerifactuAeatAccessList - List AEAT access records
- publicApiV1VerifactuAeatAccessShow - Retrieve an AEAT access record
Verifactu.Certificates
- publicApiV1VerifactuCertificatesActivate - Activate a company certificate
- publicApiV1VerifactuCertificatesActive - Retrieve the active certificate
- publicApiV1VerifactuCertificatesList - List company certificates
- publicApiV1VerifactuCertificatesUpload - Upload a company certificate
- publicApiV1VerifactuCertificatesRevoke - Revoke a company certificate
Verifactu.Chain
- publicApiV1VerifactuChainValidate - Validate the VeriFactu hash chain
Verifactu.Declaracion
- publicApiV1VerifactuDeclaracionHistory - List declaración responsable history
- publicApiV1VerifactuDeclaracionCurrent - Retrieve the current declaración responsable
Verifactu.Events
- publicApiV1VerifactuEventsSummary - Get VeriFactu event summary
- publicApiV1VerifactuEventsList - List VeriFactu events
- publicApiV1VerifactuEventsRetry - Retry a VeriFactu event
- publicApiV1VerifactuEventsShow - Retrieve a VeriFactu event
Verifactu.Records
- publicApiV1VerifactuRecordsFindByCsv - Find a VeriFactu record by AEAT CSV
- publicApiV1VerifactuRecordsFindByHuella - Find a VeriFactu record by hash
- publicApiV1VerifactuRecordsFindByInvoiceNumber - Find a VeriFactu record by invoice number
- publicApiV1VerifactuRecordsActivities - List VeriFactu record activity timeline
- publicApiV1VerifactuRecordsList - List VeriFactu records
- publicApiV1VerifactuRecordsRetryBlocked - Retry every blocked VeriFactu record
- publicApiV1VerifactuRecordsRetry - Retry VeriFactu transmission
- publicApiV1VerifactuRecordsShow - Retrieve a VeriFactu record
- publicApiV1VerifactuRecordsSubsanar - Subsanar a VeriFactu record
Verifactu.Representation
- publicApiV1VerifactuRepresentationShow - Retrieve the active representation
- publicApiV1VerifactuRepresentationRegister - Register a representation
- publicApiV1VerifactuRepresentationRevoke - Revoke the active representation
Verifactu.Settings
- publicApiV1VerifactuSettingsUpdate - Update VeriFactu settings
WebhookEndpoints
- publicApiV1WebhookEndpointsCreate - Create a webhook endpoint
- publicApiV1WebhookEndpointsList - List all webhook endpoints
- publicApiV1WebhookEndpointsDelete - Delete a webhook endpoint
- publicApiV1WebhookEndpointsShow - Retrieve a webhook endpoint
- publicApiV1WebhookEndpointsUpdate - Update a webhook endpoint
- publicApiV1WebhookEndpointsPing - Ping webhook endpoint
- publicApiV1WebhookEndpointsRotateSecret - Rotate webhook secret
- publicApiV1WebhookEndpointsTestEvent - Send a test event
WebhookEndpoints.Deliveries
- publicApiV1WebhookEndpointsDeliveriesList - List webhook deliveries
- publicApiV1WebhookEndpointsDeliveriesReplay - Replay webhook delivery
- publicApiV1WebhookEndpointsDeliveriesShow - Retrieve webhook delivery
Woocommerce.Stores
- publicApiV1WoocommerceStoresConnectionTest - Test a WooCommerce store connection
WorkSchedules
- publicApiV1WorkSchedulesArchive - Archive a work schedule
- publicApiV1WorkSchedulesAssign - Assign a schedule to an employee
- publicApiV1WorkSchedulesCreate - Create a work schedule
- publicApiV1WorkSchedulesList - List all work schedules
- publicApiV1WorkSchedulesEmployeeSchedule - Get an employee’s schedule on a date
- publicApiV1WorkSchedulesStats - Get work schedule stats
- publicApiV1WorkSchedulesAssignments - List a schedule’s assignments
- publicApiV1WorkSchedulesShow - Retrieve a work schedule
- publicApiV1WorkSchedulesUpdate - Update a work schedule
- publicApiV1WorkSchedulesUnarchive - Unarchive a work schedule
- publicApiV1WorkSchedulesUnassign - Unassign a schedule from an employee
Retries
Some of the endpoints in this SDK support retries. If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API. However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.
To change the default retry strategy for a single API call, simply provide an Options object built with a RetryConfig object to the call:
declare(strict_types=1); require 'vendor/autoload.php'; use Brick\DateTime\LocalDate; use Factuarea\Sdk; use Factuarea\Sdk\Models\Components; use Factuarea\Sdk\Utils\Retry; $sdk = Sdk\Factuarea::builder() ->setSecurity( new Components\Security( bearerAuth: '<YOUR_BEARER_TOKEN_HERE>', ) ) ->build(); $response = $sdk->account->publicApiV1AccountBilling( company: 'Gerlach - Schroeder', factuareaVersion: LocalDate::parse('2026-06-01'), options: Utils\Options->builder()->setRetryConfig( new Retry\RetryConfigBackoff( initialInterval: 1, maxInterval: 50, exponent: 1.1, maxElapsedTime: 100, retryConnectionErrors: false, ))->build() ); if ($response->object !== null) { // handle response }
If you'd like to override the default retry strategy for all operations that support retries, you can pass a RetryConfig object to the SDKBuilder->setRetryConfig function when initializing the SDK:
declare(strict_types=1); require 'vendor/autoload.php'; use Brick\DateTime\LocalDate; use Factuarea\Sdk; use Factuarea\Sdk\Models\Components; use Factuarea\Sdk\Utils\Retry; $sdk = Sdk\Factuarea::builder() ->setRetryConfig( new Retry\RetryConfigBackoff( initialInterval: 1, maxInterval: 50, exponent: 1.1, maxElapsedTime: 100, retryConnectionErrors: false, ) ) ->setSecurity( new Components\Security( bearerAuth: '<YOUR_BEARER_TOKEN_HERE>', ) ) ->build(); $response = $sdk->account->publicApiV1AccountBilling( company: 'Gerlach - Schroeder', factuareaVersion: LocalDate::parse('2026-06-01') ); if ($response->object !== null) { // handle response }
Error Handling
Handling errors in this SDK should largely match your expectations. All operations return a response object or throw an exception.
By default an API error will raise a Errors\APIException exception, which has the following properties:
| Property | Type | Description |
|---|---|---|
$message |
string | The error message |
$statusCode |
int | The HTTP status code |
$rawResponse |
?\Psr\Http\Message\ResponseInterface | The raw HTTP response |
$body |
string | The response content |
When custom error responses are specified for an operation, the SDK may also throw their associated exception. You can refer to respective Errors tables in SDK docs for more details on possible exception types for each operation. For example, the publicApiV1AccountBilling method throws the following exceptions:
| Error Type | Status Code | Content Type |
|---|---|---|
| Errors\Error | 400, 401, 403, 404, 429 | application/json |
| Errors\Error | 500 | application/json |
| Errors\APIException | 4XX, 5XX | */* |
Example
declare(strict_types=1); require 'vendor/autoload.php'; use Brick\DateTime\LocalDate; use Factuarea\Sdk; use Factuarea\Sdk\Models\Components; use Factuarea\Sdk\Models\Errors; $sdk = Sdk\Factuarea::builder() ->setSecurity( new Components\Security( bearerAuth: '<YOUR_BEARER_TOKEN_HERE>', ) ) ->build(); try { $response = $sdk->account->publicApiV1AccountBilling( company: 'Gerlach - Schroeder', factuareaVersion: LocalDate::parse('2026-06-01') ); if ($response->object !== null) { // handle response } } catch (Errors\ErrorThrowable $e) { // handle $e->$container data throw $e; } catch (Errors\ErrorThrowable $e) { // handle $e->$container data throw $e; } catch (Errors\APIException $e) { // handle default exception throw $e; }
Server Selection
Override Server URL Per-Client
The default server can be overridden globally using the setServerUrl(string $serverUrl) builder method when initializing the SDK client instance. For example:
declare(strict_types=1); require 'vendor/autoload.php'; use Brick\DateTime\LocalDate; use Factuarea\Sdk; use Factuarea\Sdk\Models\Components; $sdk = Sdk\Factuarea::builder() ->setServerURL('https://api.factuarea.com/v1') ->setSecurity( new Components\Security( bearerAuth: '<YOUR_BEARER_TOKEN_HERE>', ) ) ->build(); $response = $sdk->account->publicApiV1AccountBilling( company: 'Gerlach - Schroeder', factuareaVersion: LocalDate::parse('2026-06-01') ); if ($response->object !== null) { // handle response }