Actions196
- Address Actions
- Contact Actions
- Credit Note Actions
- Customer Actions
- Delivery Note Actions
- Delivery Terms Actions
- Employee Actions
- Goods Receipt Actions
- Invoice Actions
- Liability Actions
- Offer Actions
- Payment Method Actions
- Payment Terms Group Actions
- Production Actions
- Product Actions
- Proforma Invoice Actions
- Project Actions
- Purchase Order Actions
- Purchase Price Actions
- Return Actions
- Sales Channel Actions
- Sales Order Actions
- Sales Price Actions
- Shipment Actions
- Shipping Method Actions
- Storage Location Actions
- Supplier Actions
- Tag Actions
- Warehouse Actions
- Webhook Actions
Credit Note → Set Write Protection
AI-generatedSummary
Set write protection on a specified credit note in Xentral, making it immutable or locked for further editing via the API.
Inputs
- Credit Note ID (required) — The unique identifier of the credit note to apply write protection to.
- Max Pages — Limits the maximum number of API pages to fetch when returning multiple records; applicable only when retrieving all records with returnAll set to true. Defaults to 1000 pages.
Output shape
a single updated credit note record, confirming that write protection has been applied
The operation requires the Credit Note ID as input and returns the updated credit note. Max Pages parameter affects only bulk fetch operations and is not applicable to this single update operation. Error handling follows Xentral API conventions.
Examples
Example 1: Applying write protection to credit note with ID '12345' to prevent further modifications.
Provide '12345' as Credit Note ID. Max Pages is unused.