API MI Vereda
  • Notificaciones
  • SAI Open
    • Response Billing
Powered by GitBook
On this page

Was this helpful?

  1. SAI Open

Response Billing

Si la consulta de facturación es correcta, Mi Vereda retornará la información en el formato SAI Open mediante un JSON.

PreviousSAI Open

Last updated 2 years ago

Was this helpful?

Response JSON

POST https://services.mivereda.com/rest/account/saiOpen/billing

A continuación se describe el archivo JSON que es retornado por el servicio POST de consulta de facturación para SAI Open

Headers

Name
Type
Description

id

String

Retorna un * para identificar el inicio de una factura

invoiceNumber

Integer

Numero de Factura

invoicePrefix

String

Prefijo de facturación SAI Open

branch

Integer

affiliationNumber

String

Tercero en SAI Open

dateItTakes

String

Fecha de emisión de la factura

dueDate

String

Fecha de vencimiento de la factura

subTotalInvoice

BigDecimal

Subtotal de la factura

totalInvoice

BigDecimal

Total de la factura

discount

BigDecimal

Descuento aplicado

others

BigDecimal

Otros valores facturados

shipTo

Integer

Por defecto 0

salesTax

BigDecimal

Valor IVA

moneyCode

String

Por defecto COP

discountOne

BigDecimal

Retefuente. Por defecto 0

discountTwo

BigDecimal

Reteica. Por defecto 0

discountThree

BigDecimal

Reteiva. Por defecto 0

consumptionTax

BigDecimal

Por defecto 0

otherTax

String

Otro impuesto. Por defecto 0

paymentType

String

Forma de pago

totalToPay

BigDecimal

Total a pagar

Request Body

Name
Type
Description

id

Integer

Consecutivo inicia en 1

itemName

String

Codigo del ITEM en SAI Open

totalUnits

Integer

Cantidad de unidades del item

price

BigDecimal

Precio por unidad

extend

BigDecimal

Valor total. Precio x Unidades

totalDiscount

BigDecimal

Descuento aplicado

consumptionTax

BigDecimal

Por defecto 0

salesUnitCode

String

Por defecto Und

percentTax

BigDecimal

Por defecto 0

valueTax

BigDecimal

Por defecto 0

observation

String

Observación del item

departmentCode

Integer

Por defecto 20

costCenterCode

Integer

Por defecto 21

taxCode

Integer

Por defecto 9 - Exento

notes

String

Nota sobre el item

barCode

String

Vacio por defecto

proyect

String

Vacio por defecto

activity

String

Vacio por defecto

fixedDiscount

BigDecimal

Porcentaje de descuento aplicado

JSON que retorna la consulta