Entidad · quotation_templates
Quotation Template Schema
Campos
Quotation Template Schema
Reusable quotation without customer data (ADR 1304)
name
Name in the template list
1–200 caracteres
description
Internal note what the template is for (never printed)
máx. 1000 caracteresValor por defecto: nulladmite null
title
Quotation title
máx. 200 caracteresValor por defecto: nulladmite null
introText
Cover-letter text above the positions
máx. 20000 caracteresValor por defecto: nulladmite null
positions
máx. 300 elementosValor por defecto: []
positionType
Valores
ITEMTEXTSECTION_HEADERSUBTOTALarticleId
PatrónValor por defecto: nulladmite null
articleNumber
máx. 100 caracteresValor por defecto: nulladmite null
name
máx. 300 caracteresValor por defecto: nulladmite null
description
máx. 10000 caracteresValor por defecto: nulladmite null
unitName
máx. 100 caracteresValor por defecto: nulladmite null
quantity
PatrónValor por defecto: nulladmite null
unitPriceNet
PatrónValor por defecto: nulladmite null
discountPercent
PatrónValor por defecto: nulladmite null
vatRate
PatrónValor por defecto: nulladmite null
accountCode
máx. 50 caracteresValor por defecto: nulladmite null
billingInterval
Valores
MONTHLYQUARTERLYSEMI_ANNUALYEARLYONE_TIMEnullValor por defecto: nulladmite null
setupFee
PatrónValor por defecto: nulladmite null
optional
admite null
alternative
admite null
validityDays
Days from creation until validUntil; null = tenant default (30)
1 – 366Valor por defecto: nulladmite null
documentLanguage
Document language of quotations created from it; null = customer/tenant
Valores
deenesfrnlnulladmite null
paymentTermId
PatrónValor por defecto: nulladmite null
currencyCode
PatrónValor por defecto: "EUR"
defaultVatRate
PatrónValor por defecto: "19"
headerDiscount
PatrónValor por defecto: nulladmite null
sourceKind
What the template was made from (no reference to the source record)
Valores
QUOTATIONINVOICECOPYMANUALnullValor por defecto: nulladmite null
Ningún campo coincide con el filtro.
Endpoints estándar
Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:
GET /api/v1/quotation_templates— Lista, paginada y filtrableGET /api/v1/quotation_templates/<id>— Una entidadPOST /api/v1/quotation_templates— CrearPATCH /api/v1/quotation_templates/<id>— Actualización parcialDELETE /api/v1/quotation_templates/<id>— Eliminación lógicaGET /api/v1/quotation_templates/<id>/timeline— Auditoría y actividades