Actions88
- Purchase Credit Note Actions
- Purchase Invoice Actions
- Purchase Delivery Note Actions
- Purchase Down Payment Actions
- Purchase Order Actions
- Purchase Quotation Actions
- Purchase Request Actions
- Purchase Return Actions
- Purchase Tax Invoice Actions
Overview
This node integrates with the SAP Service Layer to manage various purchase-related documents, including Purchase Tax Invoices. Specifically, for the Purchase Tax Invoice resource and the Reopen operation, it allows users to reopen a previously closed or canceled purchase tax invoice by its unique identifier (DocEntry). This is useful in scenarios where a purchase tax invoice needs to be reactivated for further processing or correction after being closed.
Practical examples:
- Reopening a purchase tax invoice that was mistakenly closed to allow additional edits.
- Reactivating a canceled purchase tax invoice to resume processing or auditing.
Properties
| Name | Meaning |
|---|---|
| DocEntry | The unique numeric identifier of the Purchase Tax Invoice document to be reopened. |
Output
The node outputs a JSON object representing the response from the SAP Service Layer API after attempting to reopen the specified purchase tax invoice. This typically includes the updated state of the document or confirmation of the action performed.
If an error occurs, the output JSON will contain an error field with the error message describing what went wrong.
No binary data output is involved.
Dependencies
- Requires connection credentials to the SAP Service Layer API, including:
- Base URL of the SAP Service Layer endpoint.
- Username and password for authentication.
- Company database identifier.
- The node performs a login request to obtain session cookies used for subsequent API calls.
- The SAP Service Layer must support the POST method on the
/PurchaseTaxInvoices({DocEntry})/Reopenendpoint.
Troubleshooting
- Authentication errors: If login fails, verify the provided username, password, and company database are correct.
- Invalid DocEntry: Ensure the
DocEntrynumber corresponds to an existing purchase tax invoice; otherwise, the API may return a not found or similar error. - Permission issues: The user account must have sufficient permissions to reopen purchase tax invoices.
- Network or SSL errors: The node disables strict SSL verification (
rejectUnauthorized: false), but network connectivity and firewall settings should allow access to the SAP Service Layer endpoint. - API errors: Any error returned by the SAP Service Layer will be included in the output's
errorfield. Review the message for details.
Links and References
- SAP Business One Service Layer Documentation
- SAP Service Layer API Reference (example link, check your version)
This summary focuses on the "Purchase Tax Invoice" resource and the "Reopen" operation as requested.