🖨️ Document/Receipt Print Errors
This section covers API behavior, limitations, error diagnostics, and resolution steps for document creation failures resulting from database digital signature errors.
Note
- A negative
print_status(e.g.,-70,-41,-42,-808,-801,-40) indicates a digital signature or output verification issue.- When a digital signature error occurs, the original document artifact cannot be directly retrieved with an original link.
- The document can only be recovered as a copy (or reproduced after canceling the original record).
Print Status & Signature Overview
When a document creation request encounters a digital signature failure in the database subsystem:
- The document record is created: The database generates the internal document record, calculates totals, and assigns a sequential
document_number. - The document link is suppressed: Because digital signature verification failed,
document_linkreturns as an empty string""to prevent distribution of an unauthenticated file. - Recovery limitation: The original document cannot be retrieved with its primary signed link. The document can only be recovered as a copy or reproduced after resolving the database certificate or password issue.
Error Response Structure
In the event of a print status or signature error, the API returns an HTTP 200 OK status with a negative print_status integer inside the data payload object.
Response Payload Example
{
"error_code": 0,
"client_message": "",
"debug_message": "",
"data": {
"document_type": 1,
"document_number": 1,
"customer_id": 0,
"document_identity": "00000000-0000-0000-0000-000000000000",
"document_link": "",
"print_status": -70,
"amount": 1,
"confirmation_number": 0
}
}Response Field Details
| Field | Type | Description |
|---|---|---|
document_type | integer | The numerical type identifier of the generated document. |
document_number | integer | The assigned document sequential number in the system. |
document_identity | string (UUID) | Unique global identity tracking the document in the database. |
document_link | string | Empty (""). Withheld due to signature verification failure. |
print_status | integer | Negative integer (e.g., -70, -41, -42, -808, -801, -40). Specifies the system failure code. |
Error Code Glossary
print_status Code | Category | Root Cause |
|---|---|---|
0 | Success / Ready | Document signed successfully. document_link contains a valid URL. |
-70, -41 | Credential Mismatch | Signature password does not match the signature user certificate in the database settings. |
-42 | Subscription Expired | Digital signature subscription ended or payment was not renewed. |
-808 | Logo Dimension Error (Legacy) | Business logo parameter exceeded maximum allowed dimensions during digital signing. (Resolved) |
-801, -40 | Missing Certificate | Digital signature certificate was not created or configured for the database. |
< 0 (Other) | Subsystem Failure | General printing or signature subsystem failure. |
Solutions & Remediation
Resolving Credential Mismatches (-70, -41)
-70, -41)These errors occur when the signature password does not match the signature certificate assigned to the database. To fix this, use one of the following methods:
- Manual Entry in Online System: Log into Invoice Online (חשבונית אונליין), create a document manually, attempt to send it via email, and input the signature password when prompted by the system.
- One-Time API Parameter: Include the signature password directly in a single API document creation request using the
signature_pinparameter. - Support Escalation: Email your signature password to our support team so we can update it in your database configuration.
Resolving Expired Subscriptions (-42)
-42)This error indicates that the digital signature service subscription associated with the account has expired or terminated.
- Support Escalation: Contact our support team via email to renew the digital signature service plan and reactivate system signing permissions.
Resolving Logo Issues (-808)
-808)
Legacy Error Notice: This issue has been resolved in system updates and should no longer appear. If historical logs contain-808, it was caused by business logo parameters exceeding required size limits during digital signature document creation.
If encountered on older builds:
- Re-upload The Logo: Log into Invoice Online (חשבונית אונליין) and re-upload the logo file (PNG format preferred, JPG is also accepted) within the supported dimensions:
- Small Logo: 2.5 × 2.5 cm (118px × 118px)
- Header Replacement Logo: 4 × 19 cm (900px × 190px)
Resolving Missing Certificates (-801, -40)
-801, -40)These errors indicate that a digital signature certificate has not been generated or bound to your database.
- Email Settings Verification: Log into Invoice Online (חשבונית אונליין) and navigate to Email Settings to Verify and complete the digital certificate configuration.
- Support Escalation: If adjusting the email settings does not resolve the issue, contact our support team via email for manual certificate issuance and setup.
Handling & Recovery Workflow
-
Detect Status Error
- Identify negative
print_statusin API payload. - Check the API response payload. If
print_statusis negative (e.g.,-70,-41,-42,-808,-801,-40) anddocument_linkis"", capturedocument_typeanddocument_number.
- Identify negative
-
Fix Signature Configuration
- Apply resolution steps for error code.
- For
-70/-41, update credentials viasignature_pin, Invoice Online, or support. - For
-42, contact support to renew the subscription. - For
-808, resize and re-upload the logo in Invoice Online. - For
-801/-40, verify Email Settings in Invoice Online or contact support.
-
Recover or Reproduce
- Option A: Recover as Copy / Option B: Cancel & Reproduce.
- Recover Existing Document: Fetch the document as a copy via the document copy endpoint (original link cannot be restored).
- Produce Fresh Document: Void the original record using
Document.Canceland re-submitDocument.Newto issue a primary document with a valid signature.
Technical Escalation & Support
If any other unlisted errors occur or if automated resolution steps fail, please reach out directly to support:
- iCREDIT Phone Support: Call
03-7466300(Extension 3) - API Technical Support: Email
[email protected]
Updated 1 day ago
