GolfManager Logo V3 API
Version 2025-10-22

Invoicing Models

Factura

Endpoints

Retrieve by ID

GET https://dev.v3manager.com/api/model/invoice/[id]

Retrieve many

GET https://dev.v3manager.com/api/model/invoice

Create

POST https://dev.v3manager.com/api/model/invoice

Update

POST https://dev.v3manager.com/api/model/invoice/[id]

Delete

DELETE https://dev.v3manager.com/api/model/invoice/[id]

Fields

Name Label Type Required Readonly
id Referencia int no yes
type Tipo int yes no
customer Cliente int no no
paidFor Pagado a int no no
name Nombre o razón social string no no
taxNumber NIF string no no
address Dirección text no no
street Calle string no no
street2 Calle 2 string no no
zipCode Código postal string no no
city Ciudad string no no
regionName Región string no no
country País int no no
countryIsoCode Código país string no no
countryName País string no no
company Empresa int no no
companyName Nombre Empresa string no no
companyTaxNumber NIF Empresa string no no
companyAddress Dirección Empresa text no no
companyStreet Calle Empresa string no no
companyStreet2 Calle 2 Empresa string no no
companyZipCode Código postal Empresa string no no
companyCity Ciudad Empresa string no no
companyRegionName Región Empresa string no no
companyCountry País Empresa int no no
companyCountryIsoCode Código país Empresa string no no
companyCountryName País Empresa string no no
companyPhone Teléfono Empresa string no no
guid string yes yes
number Número de factura string no yes
sequenceNumber Numero int no no
counter Serie int no no
totalBeforeTaxes Total sin impuestos currency yes yes
total Total currency yes yes
pending Pendiente currency yes yes
discounts Descuentos currency yes yes
companyInfo Información de la empresa text no no
date Fecha date no no
dueDate Fecha de vencimiento date no yes
lines Líneas InvoiceLine[] yes no
taxExempt Exento de impuestos bool yes no
taxes InvoiceTax[] no no
publicComments Observaciones públicas text no no
comments Observaciones text no no
isCreditNote Es anulación bool yes yes
isInternal Es interno bool yes yes
isReceipt Es recibo bool yes yes
isProforma Es proforma bool yes yes
isSummary Es global bool yes yes
isReplace Factura de canje bool yes no
manual Creado manualmente bool yes yes
online Creado online bool yes yes
printed Impreso bool yes yes
purchaseOrder Número de pedido string no no
status Estado select yes yes
paymentCondition Condiciones de pago select no yes
paymentStatus Estado de pago select no yes
sendStatus Estado de envio select no yes
paymentMethods Formas de pago string no yes
initialized bool yes yes
convertedTo Convertida a int no yes
summaryInvoice Global int no yes
source Original int no yes
convertedFrom int no yes
originalNumber Número original string no yes
skipValidations Ignorar validaciones bool yes no
convertibleInto int no no
pricesTaxIncluded bool yes no
discountColumn bool yes no
taxColumn bool yes no
convertibleIntoName string no no
relations Invoice[] no no
document blob no yes
paymentMethod int yes no
logo string yes no
copyNumber string yes no
payments InvoicePayment[] yes no
discountTotal float yes no
customerStreet1 string yes no
customerStreet2 string yes no
customerCity string yes no
customerRegion string yes no
customerZipcode string yes no
customerCountry string yes no
companyEmail string yes no
companyWeb string yes no
companyCost string yes no
currency string yes no
copyLabels any[] yes no
numberOfCopies int yes no
invoiceFooterText string yes no
taxTotal float yes no
skipRecalculate bool yes no
customerMemberCode string yes no
data any yes no
created Fecha de creación datetime no yes
createUser Creado por int no yes
updated Fecha de actualización datetime no yes
updateUser Actualizado por int no yes

Values for status

Value Name
0 Borrador
1 Confirmada
2 Anulada

Values for paymentCondition

Value Name
0 Pronto pago
1 15 días
2 30 días
3 60 días
4 90 días

Values for paymentStatus

Value Name
0 Pendiente de pago
1 Parcialmente pagado
2 Pagado

Values for sendStatus

Value Name
1 Pendiente de envío
2 Enviado
3 Error en el envío

Línea de factura

Endpoints

Retrieve by ID

GET https://dev.v3manager.com/api/model/invoiceLine/[id]

Retrieve many

GET https://dev.v3manager.com/api/model/invoiceLine

Create

POST https://dev.v3manager.com/api/model/invoiceLine

Update

POST https://dev.v3manager.com/api/model/invoiceLine/[id]

Delete

DELETE https://dev.v3manager.com/api/model/invoiceLine/[id]

Fields

Name Label Type Required Readonly
id Referencia int no yes
invoice Factura int yes yes
invoiceStatus Estado de factura int yes no
description Descripción string yes no
product Producto int no no
price Precio currency yes no
priceBeforeTaxes Precio sin impuestos currency yes no
units Unidades float yes no
minutes Minutos int yes no
taxes Impuestos InvoiceLineTax[] yes no
tax Impuesto string no no
discountRate % Descuento percent yes no
taxRate % Impuestos percent yes no
taxAmount Importe del impuesto currency yes yes
totalBeforeTaxes Total sin impuestos currency yes no
total Total currency yes no
canceled Anulada bool yes yes
credited Abonado currency yes no
allowPaymentPending Permitir pendiente de pago bool yes no
parentLine int no no
uuid any yes no
parentUuid any yes no
parent InvoiceLine no no
useDate Fecha de uso datetime no no
timeout Caducidad datetime no yes
supply Suplido bool yes no
hasChildren bool yes no
source Línea original int no no
sourceInvoice Factura original string yes no
sale Venta int no no
fkModel fkModel no yes
fkId int no no
parentFkModel fkModel no yes
parentFkId int no yes
options any[] yes no
created Fecha de creación datetime no yes
createUser Creado por int no yes
updated Fecha de actualización datetime no yes
updateUser Actualizado por int no yes

Pago de factura

Endpoints

Retrieve by ID

GET https://dev.v3manager.com/api/model/invoicePayment/[id]

Retrieve many

GET https://dev.v3manager.com/api/model/invoicePayment

Fields

Name Label Type Required Readonly
id Referencia int no yes
receipt Recibo int no no
invoice Factura int yes no
paymentMethod Forma de pago int yes no
payment Cobro int no no
amount Cantidad currency yes no
comments Observaciones text no no
isFTR De factura recibo bool yes no
salePayment int no no
customer Cliente int yes no
customerName Cliente string yes no
created Fecha de creación datetime no yes
createUser Creado por int no yes
updated Fecha de actualización datetime no yes
updateUser Actualizado por int no yes
deleted Eliminado bool no yes

Recibo

Endpoints

Retrieve by ID

GET https://dev.v3manager.com/api/model/invoiceReceipt/[id]

Retrieve many

GET https://dev.v3manager.com/api/model/invoiceReceipt

Fields

Name Label Type Required Readonly
id Referencia int no yes
customer Cliente int no no
number Número de recibo string yes no
sequenceNumber Número int yes no
amount Cantidad currency yes no
comments Observaciones text no no
payments InvoicePayment[] yes no
isFTR De factura recibo bool yes no
created Fecha de creación datetime no yes
createUser Creado por int no yes
updated Fecha de actualización datetime no yes
updateUser Actualizado por int no yes
deleted Eliminado bool no yes

Serie de factura

Endpoints

Retrieve by ID

GET https://dev.v3manager.com/api/model/invoiceCounter/[id]

Retrieve many

GET https://dev.v3manager.com/api/model/invoiceCounter

Create

POST https://dev.v3manager.com/api/model/invoiceCounter

Update

POST https://dev.v3manager.com/api/model/invoiceCounter/[id]

Delete

DELETE https://dev.v3manager.com/api/model/invoiceCounter/[id]

Fields

Name Label Type Required Readonly
id Referencia int no yes
company Empresa int no no
type Tipo int yes no
format Formato string no no
zeros Ceros a la izquierda int yes no
prefix Prefijo bool yes no
initialValue Valor inicial int no no
lastValue Último valor int yes no
lastDate Última fecha date no no
reset Reiniciar select no no
created Fecha de creación datetime no yes
createUser Creado por int no yes
updated Fecha de actualización datetime no yes
updateUser Actualizado por int no yes
deleted Eliminado bool no yes

Values for reset

Value Name
1 Año

Tipo de Factura

Endpoints

Retrieve by ID

GET https://dev.v3manager.com/api/model/invoiceType/[id]

Retrieve many

GET https://dev.v3manager.com/api/model/invoiceType

Create

POST https://dev.v3manager.com/api/model/invoiceType

Update

POST https://dev.v3manager.com/api/model/invoiceType/[id]

Delete

DELETE https://dev.v3manager.com/api/model/invoiceType/[id]

Fields

Name Label Type Required Readonly
id Referencia int no yes
code Código string no no
name Nombre string yes no
reverseType Cancelación por int no no
convertibleInto Convertible en int no no
isReceipt Factura recibo bool yes no
isCreditNote Factura rectificativa bool yes no
isProforma Factura proforma bool yes no
isInternal Documento interno bool yes no
isSummary Factura global bool yes no
isReplace Factura de canje bool yes no
preventNegative Impedir total negativo bool yes no
preventPositive Impedir total positivo bool yes no
preventPositiveLines Impedir líneas positivas bool yes no
preventNegativeLines Impedir líneas negativas bool yes no
skipValidations Ignorar validaciones bool yes no
maxAmount Límite máximo currency no no
customerRequired Cliente obligatorio bool yes no
taxNumberRequired CIF obligatorio bool yes no
addressRequired Dirección obligatoria bool yes no
allowReceipts Permite recibos bool yes no
template Plantilla de factura A4 int no no
created Fecha de creación datetime no yes
createUser Creado por int no yes
updated Fecha de actualización datetime no yes
updateUser Actualizado por int no yes
deleted Eliminado bool no yes