POST CreateSupportDocumentWithNewSupplier

Crea un documento soporte , y al proveedor.

Request Information

URI Parameters

None.

Body Parameters

Información para generar el documento soporte

SupportDocumentWithSupplier
NameDescriptionTypeAdditional information
supplier

Supplier

Required

sendToDian

Indica si el documento se debe enviar a la DIAN. Sino, el envío se hará después. El estado se podrá consultar con GetDocumentStatus. Por defecto: true.

boolean

Optional

emailForRejectionNotification

Email al que se debe notificar si se rechaza el documento

string

String length: inclusive between 0 and 100

sendAlertTo

Correos electrónicos a los que se debe notificar la generación del documento. Por defecto, se usan los correos de los contactos del adquirente. Si se usa este campo, se ignorarán los correos de los contactos. Obligatorio cuando se trata de un documento a consumidor final. Pueden enviarse varios correos, separados por ;

string

String length: inclusive between 0 and 500

operationTypeCode

Código tipo de operación

string

Required

String length: inclusive between 0 and 10

invoiceTypeCode

Código tipo de factura 01 para factura de Venta Nacional 02 para factura de exportación 03 para factura por contingencia facturador 04 para factura por contingencia DIAN

string

Required

String length: inclusive between 0 and 10

issueDate

Fecha de emisión

date

Required

Range: inclusive between 1/1/2000 and 1/1/5000

prefix

prefijo para el cual se realizara la factura

string

String length: inclusive between 0 and 5

documentNumber

numeración del prefijo

string

String length: inclusive between 0 and 45

relatedDocumentPrefix

Contingencia facturador: prefijo original que se quería usar. El prefijo de contingencia debe ir en el campo Prefix

string

String length: inclusive between 0 and 5

relatedDocumentNumber

Contingencia facturador: número original que se quería usar. El número de contingencia debe ir en el campo InvoiceNumber

string

String length: inclusive between 0 and 45

ContactsContracts

ContactsContracts.

string

Optional

Contacts

Contacts.

string

Optional

additionalAcquirers

Listado de adquirentes, si se quiere facturar a varios. Los porcentajes deben sumar 100%. El adquirente de documentTypeCodeAcquirer y documentNumberAcquirer, se usará como adquirente principal, y debe estar incluido en esta lista

Collection of AdditionalAcquirer

Optional

supportDocumentAdditionals

Listado de información adicional para el documento soporte

Collection of SupportDocumentAdditional

Optional

fiscalLocationAcquirer

Localización fiscal del adquirente. Sólo aplica para consumidor final.

Location

Optional

physicalLocationAcquirer

Localización fisica del adquirente.

Location

Optional

physicalLocationCompany

Localización fisica del adquirente.

Location

Optional

currencyCode

Código de la moneda

string

Required

String length: inclusive between 0 and 3

currencyCodeLocal

Código de la moneda local independiente de el codigo de moneda de cambio

string

Optional

valueTRM

Valor TRM de la moneda

decimal number

Range: inclusive between 0 and 1E+18

dateTRM

Fecha del TRM

date

Optional

anexo

Documento .zip convertido en base64

string

Optional

startInvoicePeriod

Fecha de inicio del periodo de facturación

date

Optional

endInvoicePeriod

Fecha final del periodo de facturación

date

Optional

paymentMethodCode

Código de método de pago

string

Required

String length: inclusive between 0 and 10

paymentMeanCode

Código de medio de pago

string

Required

String length: inclusive between 0 and 10

paymentId

Identificador de pago

string

String length: inclusive between 0 and 200

expirationDate

Fecha de vencimiento

date

Required

Range: inclusive between 1/1/2000 and 1/1/5000

observations

Observaciones

Observations

Optional

items

Lista de productos

Collection of Item

Required

allowancesOrCharges

Cargos y Descuentos

Collection of AllowancesOrCharges

Optional

prepaidPayments

Anticipos

Collection of PrepaidPayment

Optional

xmlAdditionals

Adicionales de XML

Collection of XmlAdditional

Optional

roundingAmount

Valor de redondeo de la factura, si aplica

decimal number

Optional

total

Total de la factura

decimal number

Required

Range: inclusive between 0 and 1E+18

totalLocal

Total con retenciones para moneda local. Campo opcional. Valor por defecto 0

decimal number

Range: inclusive between 0 and 1E+18

subtotal

Subtotal

decimal number

Required

Range: inclusive between 0 and 1E+18

subtotalLocal

Valor de Subtotal para moneda local

decimal number

Range: inclusive between 0 and 1E+18

taxesTotal

Total de impuestos

decimal number

Required

Range: inclusive between 0 and 1E+18

taxesTotalLocal

Total de impuestos para moneda local

decimal number

Range: inclusive between 0 and 1E+18

totalWithRetes

Total con retenciones. Campo opcional. Valor por defecto 0

decimal number

Optional

sectorAdditionals

Adicionales del sector

SectorAdditionals

Optional

bussinesLine

Línea de negocio a mostrar en el asunto

string

String length: inclusive between 0 and 500

note

Nota para ser visualizada en la representación gráfica

string

String length: inclusive between 0 and 768

Request Formats

application/json, text/json

Sample:
{
  "documentTypeCodeSupplier": "sample string 1",
  "documentNumberSupplier": "sample string 2",
  "supplier": {
    "fullName": "sample string 1",
    "documentNumber": "sample string 2",
    "documentTypeCode": "sample string 3",
    "code": "sample string 4",
    "juridicalOrganizationCode": "sample string 5",
    "regimenTypeCode": "sample string 6",
    "tributaryDetail": "sample string 7",
    "users": [
      {
        "FullName": "sample string 1",
        "Email": "sample string 2",
        "PhoneNumber": "sample string 3"
      },
      {
        "FullName": "sample string 1",
        "Email": "sample string 2",
        "PhoneNumber": "sample string 3"
      }
    ],
    "fiscalLocation": {
      "countryCode": "sample string 1",
      "state": "sample string 2",
      "city": "sample string 3",
      "postalZone": "sample string 4",
      "address": "sample string 5"
    },
    "Email": "sample string 8",
    "PhoneNumber": "sample string 9",
    "DocumentNumberCheck": "sample string 10",
    "physicalLocation": {
      "countryCode": "sample string 1",
      "state": "sample string 2",
      "city": "sample string 3",
      "postalZone": "sample string 4",
      "address": "sample string 5"
    },
    "active": true
  },
  "sendToDian": true,
  "emailForRejectionNotification": "sample string 3",
  "sendAlertTo": "sample string 4",
  "operationTypeCode": "sample string 5",
  "invoiceTypeCode": "sample string 6",
  "issueDate": "2024-12-21T13:26:33.3902547-05:00",
  "prefix": "sample string 8",
  "documentNumber": "sample string 9",
  "relatedDocumentPrefix": "sample string 10",
  "relatedDocumentNumber": "sample string 11",
  "ContactsContracts": "sample string 12",
  "Contacts": "sample string 13",
  "additionalAcquirers": [
    {
      "Name": "sample string 1",
      "DocumentTypeCode": "sample string 2",
      "DocumentNumber": "sample string 3",
      "DocumentNumberCheck": "sample string 4",
      "MerchantRegister": "sample string 5",
      "ParticipationPercent": 1.0
    },
    {
      "Name": "sample string 1",
      "DocumentTypeCode": "sample string 2",
      "DocumentNumber": "sample string 3",
      "DocumentNumberCheck": "sample string 4",
      "MerchantRegister": "sample string 5",
      "ParticipationPercent": 1.0
    }
  ],
  "supportDocumentAdditionals": [
    {
      "Codigo": "sample string 1",
      "Descripcion": "sample string 2",
      "Observacion": "sample string 3",
      "SubTotal": 1.0,
      "Total": 4.0
    },
    {
      "Codigo": "sample string 1",
      "Descripcion": "sample string 2",
      "Observacion": "sample string 3",
      "SubTotal": 1.0,
      "Total": 4.0
    }
  ],
  "fiscalLocationAcquirer": {
    "countryCode": "sample string 1",
    "state": "sample string 2",
    "city": "sample string 3",
    "postalZone": "sample string 4",
    "address": "sample string 5"
  },
  "physicalLocationAcquirer": {
    "countryCode": "sample string 1",
    "state": "sample string 2",
    "city": "sample string 3",
    "postalZone": "sample string 4",
    "address": "sample string 5"
  },
  "physicalLocationCompany": {
    "countryCode": "sample string 1",
    "state": "sample string 2",
    "city": "sample string 3",
    "postalZone": "sample string 4",
    "address": "sample string 5"
  },
  "currencyCode": "sample string 14",
  "currencyCodeLocal": "sample string 15",
  "valueTRM": 16.0,
  "dateTRM": "2024-12-21T13:26:33.3902547-05:00",
  "anexo": "sample string 17",
  "startInvoicePeriod": "2024-12-21T13:26:33.3902547-05:00",
  "endInvoicePeriod": "2024-12-21T13:26:33.3902547-05:00",
  "paymentMethodCode": "sample string 18",
  "paymentMeanCode": "sample string 19",
  "paymentId": "sample string 20",
  "expirationDate": "2024-12-21T13:26:33.3902547-05:00",
  "observations": {
    "observation1": "sample string 1",
    "observation2": "sample string 2",
    "observation3": "sample string 3",
    "observation4": "sample string 4",
    "observation5": "sample string 5",
    "observation6": "sample string 6",
    "observation7": "sample string 7",
    "observation8": "sample string 8",
    "observation9": "sample string 9",
    "observation10": "sample string 10",
    "observation11": "sample string 11"
  },
  "items": [
    {
      "description": "sample string 1",
      "quantity": 2.0,
      "priceAmount": 3.0,
      "note": "sample string 4",
      "schemeTypeCode": "sample string 5",
      "scheme": "sample string 6",
      "quantityCode": "sample string 7",
      "brandName": "sample string 8",
      "modelName": "sample string 9",
      "transportRecordTypeId": 1,
      "mandateTypeId": 1,
      "pricingReferenceCode": "sample string 10",
      "pricingReferenceAmount": 11.0,
      "subtotal": 12.0,
      "observations": {
        "observation1": "sample string 1",
        "observation2": "sample string 2",
        "observation3": "sample string 3",
        "observation4": "sample string 4"
      },
      "allowancesOrCharges": [
        {
          "codeType": "sample string 1",
          "motive": "sample string 2",
          "codeAllowanceDIAN": "sample string 3",
          "amount": 4.0,
          "observations": "sample string 5"
        },
        {
          "codeType": "sample string 1",
          "motive": "sample string 2",
          "codeAllowanceDIAN": "sample string 3",
          "amount": 4.0,
          "observations": "sample string 5"
        }
      ],
      "taxesAndRetentions": [
        {
          "code": "sample string 1",
          "baseG": 2.0,
          "factor": 3.0,
          "total": 4.0
        },
        {
          "code": "sample string 1",
          "baseG": 2.0,
          "factor": 3.0,
          "total": 4.0
        }
      ],
      "mandateDocumentNumber": "sample string 13",
      "mandateVerificationDigit": "sample string 14",
      "additionalItemProperties": [
        {
          "Name": "sample string 1",
          "Value": "sample string 2",
          "ValueQuantity": 1,
          "unitCode": "sample string 3",
          "TransportRemittanceId": 1,
          "transportRemittanceCode": "sample string 4"
        },
        {
          "Name": "sample string 1",
          "Value": "sample string 2",
          "ValueQuantity": 1,
          "unitCode": "sample string 3",
          "TransportRemittanceId": 1,
          "transportRemittanceCode": "sample string 4"
        }
      ],
      "invoicePeriod": {
        "StartDate": "2024-12-21T13:26:33.3902547-05:00",
        "DescriptionCode": 2
      }
    },
    {
      "description": "sample string 1",
      "quantity": 2.0,
      "priceAmount": 3.0,
      "note": "sample string 4",
      "schemeTypeCode": "sample string 5",
      "scheme": "sample string 6",
      "quantityCode": "sample string 7",
      "brandName": "sample string 8",
      "modelName": "sample string 9",
      "transportRecordTypeId": 1,
      "mandateTypeId": 1,
      "pricingReferenceCode": "sample string 10",
      "pricingReferenceAmount": 11.0,
      "subtotal": 12.0,
      "observations": {
        "observation1": "sample string 1",
        "observation2": "sample string 2",
        "observation3": "sample string 3",
        "observation4": "sample string 4"
      },
      "allowancesOrCharges": [
        {
          "codeType": "sample string 1",
          "motive": "sample string 2",
          "codeAllowanceDIAN": "sample string 3",
          "amount": 4.0,
          "observations": "sample string 5"
        },
        {
          "codeType": "sample string 1",
          "motive": "sample string 2",
          "codeAllowanceDIAN": "sample string 3",
          "amount": 4.0,
          "observations": "sample string 5"
        }
      ],
      "taxesAndRetentions": [
        {
          "code": "sample string 1",
          "baseG": 2.0,
          "factor": 3.0,
          "total": 4.0
        },
        {
          "code": "sample string 1",
          "baseG": 2.0,
          "factor": 3.0,
          "total": 4.0
        }
      ],
      "mandateDocumentNumber": "sample string 13",
      "mandateVerificationDigit": "sample string 14",
      "additionalItemProperties": [
        {
          "Name": "sample string 1",
          "Value": "sample string 2",
          "ValueQuantity": 1,
          "unitCode": "sample string 3",
          "TransportRemittanceId": 1,
          "transportRemittanceCode": "sample string 4"
        },
        {
          "Name": "sample string 1",
          "Value": "sample string 2",
          "ValueQuantity": 1,
          "unitCode": "sample string 3",
          "TransportRemittanceId": 1,
          "transportRemittanceCode": "sample string 4"
        }
      ],
      "invoicePeriod": {
        "StartDate": "2024-12-21T13:26:33.3902547-05:00",
        "DescriptionCode": 2
      }
    }
  ],
  "allowancesOrCharges": [
    {
      "codeType": "sample string 1",
      "motive": "sample string 2",
      "codeAllowanceDIAN": "sample string 3",
      "amount": 4.0,
      "observations": "sample string 5"
    },
    {
      "codeType": "sample string 1",
      "motive": "sample string 2",
      "codeAllowanceDIAN": "sample string 3",
      "amount": 4.0,
      "observations": "sample string 5"
    }
  ],
  "prepaidPayments": [
    {
      "Identifier": "sample string 1",
      "Instruction": "sample string 2",
      "receiptDate": "2024-12-21T13:26:33.3902547-05:00",
      "Amount": 4.0
    },
    {
      "Identifier": "sample string 1",
      "Instruction": "sample string 2",
      "receiptDate": "2024-12-21T13:26:33.3902547-05:00",
      "Amount": 4.0
    }
  ],
  "xmlAdditionals": [
    {
      "Code": "sample string 1",
      "Value": "sample string 2",
      "IssueDate": "2024-12-21T13:26:33.3902547-05:00",
      "Cufe": "sample string 3"
    },
    {
      "Code": "sample string 1",
      "Value": "sample string 2",
      "IssueDate": "2024-12-21T13:26:33.3902547-05:00",
      "Cufe": "sample string 3"
    }
  ],
  "roundingAmount": 1.0,
  "total": 22.0,
  "totalLocal": 23.0,
  "subtotal": 24.0,
  "subtotalLocal": 25.0,
  "taxesTotal": 26.0,
  "taxesTotalLocal": 27.0,
  "totalWithRetes": 28.0,
  "sectorAdditionals": {
    "SectorName": "sample string 1",
    "AdditionalCollections": [
      {
        "CollectionName": "sample string 1",
        "Additionals": [
          {
            "Name": "sample string 1",
            "Value": "sample string 2"
          },
          {
            "Name": "sample string 1",
            "Value": "sample string 2"
          }
        ]
      },
      {
        "CollectionName": "sample string 1",
        "Additionals": [
          {
            "Name": "sample string 1",
            "Value": "sample string 2"
          },
          {
            "Name": "sample string 1",
            "Value": "sample string 2"
          }
        ]
      }
    ]
  },
  "bussinesLine": "sample string 29",
  "note": "sample string 30"
}

application/xml, text/xml

Sample:
<SupportDocumentWithSupplier xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models">
  <Contacts>sample string 13</Contacts>
  <ContactsContracts>sample string 12</ContactsContracts>
  <additionalAcquirers xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models.Requests.Transverse">
    <d2p1:AdditionalAcquirer>
      <d2p1:DocumentNumber>sample string 3</d2p1:DocumentNumber>
      <d2p1:DocumentNumberCheck>sample string 4</d2p1:DocumentNumberCheck>
      <d2p1:DocumentTypeCode>sample string 2</d2p1:DocumentTypeCode>
      <d2p1:MerchantRegister>sample string 5</d2p1:MerchantRegister>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:ParticipationPercent>1</d2p1:ParticipationPercent>
    </d2p1:AdditionalAcquirer>
    <d2p1:AdditionalAcquirer>
      <d2p1:DocumentNumber>sample string 3</d2p1:DocumentNumber>
      <d2p1:DocumentNumberCheck>sample string 4</d2p1:DocumentNumberCheck>
      <d2p1:DocumentTypeCode>sample string 2</d2p1:DocumentTypeCode>
      <d2p1:MerchantRegister>sample string 5</d2p1:MerchantRegister>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:ParticipationPercent>1</d2p1:ParticipationPercent>
    </d2p1:AdditionalAcquirer>
  </additionalAcquirers>
  <allowancesOrCharges>
    <AllowancesOrCharges>
      <amount>4</amount>
      <codeAllowanceDIAN>sample string 3</codeAllowanceDIAN>
      <codeType>sample string 1</codeType>
      <motive>sample string 2</motive>
      <observations>sample string 5</observations>
    </AllowancesOrCharges>
    <AllowancesOrCharges>
      <amount>4</amount>
      <codeAllowanceDIAN>sample string 3</codeAllowanceDIAN>
      <codeType>sample string 1</codeType>
      <motive>sample string 2</motive>
      <observations>sample string 5</observations>
    </AllowancesOrCharges>
  </allowancesOrCharges>
  <anexo>sample string 17</anexo>
  <bussinesLine>sample string 29</bussinesLine>
  <currencyCode>sample string 14</currencyCode>
  <currencyCodeLocal>sample string 15</currencyCodeLocal>
  <dateTRM>2024-12-21T13:26:33.3902547-05:00</dateTRM>
  <documentNumber>sample string 9</documentNumber>
  <documentNumberSupplier>sample string 2</documentNumberSupplier>
  <documentTypeCodeSupplier>sample string 1</documentTypeCodeSupplier>
  <emailForRejectionNotification>sample string 3</emailForRejectionNotification>
  <endInvoicePeriod>2024-12-21T13:26:33.3902547-05:00</endInvoicePeriod>
  <expirationDate>2024-12-21T13:26:33.3902547-05:00</expirationDate>
  <fiscalLocationAcquirer>
    <address>sample string 5</address>
    <city>sample string 3</city>
    <countryCode>sample string 1</countryCode>
    <postalZone>sample string 4</postalZone>
    <state>sample string 2</state>
  </fiscalLocationAcquirer>
  <invoiceTypeCode>sample string 6</invoiceTypeCode>
  <issueDate>2024-12-21T13:26:33.3902547-05:00</issueDate>
  <items>
    <Item>
      <additionalItemProperties xmlns:d4p1="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models.Requests.Transverse">
        <d4p1:AdditionalItemProperty>
          <d4p1:Name>sample string 1</d4p1:Name>
          <d4p1:TransportRemittanceId>1</d4p1:TransportRemittanceId>
          <d4p1:Value>sample string 2</d4p1:Value>
          <d4p1:ValueQuantity>1</d4p1:ValueQuantity>
          <d4p1:transportRemittanceCode>sample string 4</d4p1:transportRemittanceCode>
          <d4p1:unitCode>sample string 3</d4p1:unitCode>
        </d4p1:AdditionalItemProperty>
        <d4p1:AdditionalItemProperty>
          <d4p1:Name>sample string 1</d4p1:Name>
          <d4p1:TransportRemittanceId>1</d4p1:TransportRemittanceId>
          <d4p1:Value>sample string 2</d4p1:Value>
          <d4p1:ValueQuantity>1</d4p1:ValueQuantity>
          <d4p1:transportRemittanceCode>sample string 4</d4p1:transportRemittanceCode>
          <d4p1:unitCode>sample string 3</d4p1:unitCode>
        </d4p1:AdditionalItemProperty>
      </additionalItemProperties>
      <allowancesOrCharges>
        <AllowancesOrCharges>
          <amount>4</amount>
          <codeAllowanceDIAN>sample string 3</codeAllowanceDIAN>
          <codeType>sample string 1</codeType>
          <motive>sample string 2</motive>
          <observations>sample string 5</observations>
        </AllowancesOrCharges>
        <AllowancesOrCharges>
          <amount>4</amount>
          <codeAllowanceDIAN>sample string 3</codeAllowanceDIAN>
          <codeType>sample string 1</codeType>
          <motive>sample string 2</motive>
          <observations>sample string 5</observations>
        </AllowancesOrCharges>
      </allowancesOrCharges>
      <brandName>sample string 8</brandName>
      <description>sample string 1</description>
      <invoicePeriod>
        <DescriptionCode>2</DescriptionCode>
        <StartDate>2024-12-21T13:26:33.3902547-05:00</StartDate>
      </invoicePeriod>
      <mandateDocumentNumber>sample string 13</mandateDocumentNumber>
      <mandateTypeId>1</mandateTypeId>
      <mandateVerificationDigit>sample string 14</mandateVerificationDigit>
      <modelName>sample string 9</modelName>
      <note>sample string 4</note>
      <observations>
        <observation1>sample string 1</observation1>
        <observation2>sample string 2</observation2>
        <observation3>sample string 3</observation3>
        <observation4>sample string 4</observation4>
      </observations>
      <priceAmount>3</priceAmount>
      <pricingReferenceAmount>11</pricingReferenceAmount>
      <pricingReferenceCode>sample string 10</pricingReferenceCode>
      <quantity>2</quantity>
      <quantityCode>sample string 7</quantityCode>
      <scheme>sample string 6</scheme>
      <schemeTypeCode>sample string 5</schemeTypeCode>
      <subtotal>12</subtotal>
      <taxesAndRetentions>
        <Tax>
          <baseG>2</baseG>
          <code>sample string 1</code>
          <factor>3</factor>
          <total>4</total>
        </Tax>
        <Tax>
          <baseG>2</baseG>
          <code>sample string 1</code>
          <factor>3</factor>
          <total>4</total>
        </Tax>
      </taxesAndRetentions>
      <transportRecordTypeId>1</transportRecordTypeId>
    </Item>
    <Item>
      <additionalItemProperties xmlns:d4p1="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models.Requests.Transverse">
        <d4p1:AdditionalItemProperty>
          <d4p1:Name>sample string 1</d4p1:Name>
          <d4p1:TransportRemittanceId>1</d4p1:TransportRemittanceId>
          <d4p1:Value>sample string 2</d4p1:Value>
          <d4p1:ValueQuantity>1</d4p1:ValueQuantity>
          <d4p1:transportRemittanceCode>sample string 4</d4p1:transportRemittanceCode>
          <d4p1:unitCode>sample string 3</d4p1:unitCode>
        </d4p1:AdditionalItemProperty>
        <d4p1:AdditionalItemProperty>
          <d4p1:Name>sample string 1</d4p1:Name>
          <d4p1:TransportRemittanceId>1</d4p1:TransportRemittanceId>
          <d4p1:Value>sample string 2</d4p1:Value>
          <d4p1:ValueQuantity>1</d4p1:ValueQuantity>
          <d4p1:transportRemittanceCode>sample string 4</d4p1:transportRemittanceCode>
          <d4p1:unitCode>sample string 3</d4p1:unitCode>
        </d4p1:AdditionalItemProperty>
      </additionalItemProperties>
      <allowancesOrCharges>
        <AllowancesOrCharges>
          <amount>4</amount>
          <codeAllowanceDIAN>sample string 3</codeAllowanceDIAN>
          <codeType>sample string 1</codeType>
          <motive>sample string 2</motive>
          <observations>sample string 5</observations>
        </AllowancesOrCharges>
        <AllowancesOrCharges>
          <amount>4</amount>
          <codeAllowanceDIAN>sample string 3</codeAllowanceDIAN>
          <codeType>sample string 1</codeType>
          <motive>sample string 2</motive>
          <observations>sample string 5</observations>
        </AllowancesOrCharges>
      </allowancesOrCharges>
      <brandName>sample string 8</brandName>
      <description>sample string 1</description>
      <invoicePeriod>
        <DescriptionCode>2</DescriptionCode>
        <StartDate>2024-12-21T13:26:33.3902547-05:00</StartDate>
      </invoicePeriod>
      <mandateDocumentNumber>sample string 13</mandateDocumentNumber>
      <mandateTypeId>1</mandateTypeId>
      <mandateVerificationDigit>sample string 14</mandateVerificationDigit>
      <modelName>sample string 9</modelName>
      <note>sample string 4</note>
      <observations>
        <observation1>sample string 1</observation1>
        <observation2>sample string 2</observation2>
        <observation3>sample string 3</observation3>
        <observation4>sample string 4</observation4>
      </observations>
      <priceAmount>3</priceAmount>
      <pricingReferenceAmount>11</pricingReferenceAmount>
      <pricingReferenceCode>sample string 10</pricingReferenceCode>
      <quantity>2</quantity>
      <quantityCode>sample string 7</quantityCode>
      <scheme>sample string 6</scheme>
      <schemeTypeCode>sample string 5</schemeTypeCode>
      <subtotal>12</subtotal>
      <taxesAndRetentions>
        <Tax>
          <baseG>2</baseG>
          <code>sample string 1</code>
          <factor>3</factor>
          <total>4</total>
        </Tax>
        <Tax>
          <baseG>2</baseG>
          <code>sample string 1</code>
          <factor>3</factor>
          <total>4</total>
        </Tax>
      </taxesAndRetentions>
      <transportRecordTypeId>1</transportRecordTypeId>
    </Item>
  </items>
  <note>sample string 30</note>
  <observations>
    <observation1>sample string 1</observation1>
    <observation10>sample string 10</observation10>
    <observation11>sample string 11</observation11>
    <observation2>sample string 2</observation2>
    <observation3>sample string 3</observation3>
    <observation4>sample string 4</observation4>
    <observation5>sample string 5</observation5>
    <observation6>sample string 6</observation6>
    <observation7>sample string 7</observation7>
    <observation8>sample string 8</observation8>
    <observation9>sample string 9</observation9>
  </observations>
  <operationTypeCode>sample string 5</operationTypeCode>
  <paymentId>sample string 20</paymentId>
  <paymentMeanCode>sample string 19</paymentMeanCode>
  <paymentMethodCode>sample string 18</paymentMethodCode>
  <physicalLocationAcquirer>
    <address>sample string 5</address>
    <city>sample string 3</city>
    <countryCode>sample string 1</countryCode>
    <postalZone>sample string 4</postalZone>
    <state>sample string 2</state>
  </physicalLocationAcquirer>
  <physicalLocationCompany>
    <address>sample string 5</address>
    <city>sample string 3</city>
    <countryCode>sample string 1</countryCode>
    <postalZone>sample string 4</postalZone>
    <state>sample string 2</state>
  </physicalLocationCompany>
  <prefix>sample string 8</prefix>
  <prepaidPayments>
    <PrepaidPayment>
      <Amount>4</Amount>
      <Identifier>sample string 1</Identifier>
      <Instruction>sample string 2</Instruction>
      <receiptDate>2024-12-21T13:26:33.3902547-05:00</receiptDate>
    </PrepaidPayment>
    <PrepaidPayment>
      <Amount>4</Amount>
      <Identifier>sample string 1</Identifier>
      <Instruction>sample string 2</Instruction>
      <receiptDate>2024-12-21T13:26:33.3902547-05:00</receiptDate>
    </PrepaidPayment>
  </prepaidPayments>
  <relatedDocumentNumber>sample string 11</relatedDocumentNumber>
  <relatedDocumentPrefix>sample string 10</relatedDocumentPrefix>
  <roundingAmount>1</roundingAmount>
  <sectorAdditionals xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models.Requests.Transverse">
    <d2p1:AdditionalCollections>
      <d2p1:AdditionalCollections>
        <d2p1:Additionals>
          <d2p1:NameValuePair>
            <d2p1:Name>sample string 1</d2p1:Name>
            <d2p1:Value>sample string 2</d2p1:Value>
          </d2p1:NameValuePair>
          <d2p1:NameValuePair>
            <d2p1:Name>sample string 1</d2p1:Name>
            <d2p1:Value>sample string 2</d2p1:Value>
          </d2p1:NameValuePair>
        </d2p1:Additionals>
        <d2p1:CollectionName>sample string 1</d2p1:CollectionName>
      </d2p1:AdditionalCollections>
      <d2p1:AdditionalCollections>
        <d2p1:Additionals>
          <d2p1:NameValuePair>
            <d2p1:Name>sample string 1</d2p1:Name>
            <d2p1:Value>sample string 2</d2p1:Value>
          </d2p1:NameValuePair>
          <d2p1:NameValuePair>
            <d2p1:Name>sample string 1</d2p1:Name>
            <d2p1:Value>sample string 2</d2p1:Value>
          </d2p1:NameValuePair>
        </d2p1:Additionals>
        <d2p1:CollectionName>sample string 1</d2p1:CollectionName>
      </d2p1:AdditionalCollections>
    </d2p1:AdditionalCollections>
    <d2p1:SectorName>sample string 1</d2p1:SectorName>
  </sectorAdditionals>
  <sendAlertTo>sample string 4</sendAlertTo>
  <sendToDian>true</sendToDian>
  <startInvoicePeriod>2024-12-21T13:26:33.3902547-05:00</startInvoicePeriod>
  <subtotal>24</subtotal>
  <subtotalLocal>25</subtotalLocal>
  <supplier i:nil="true" />
  <supportDocumentAdditionals xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models.Requests.Transverse">
    <d2p1:SupportDocumentAdditional>
      <d2p1:Codigo>sample string 1</d2p1:Codigo>
      <d2p1:Descripcion>sample string 2</d2p1:Descripcion>
      <d2p1:Observacion>sample string 3</d2p1:Observacion>
      <d2p1:SubTotal>1</d2p1:SubTotal>
      <d2p1:Total>4</d2p1:Total>
    </d2p1:SupportDocumentAdditional>
    <d2p1:SupportDocumentAdditional>
      <d2p1:Codigo>sample string 1</d2p1:Codigo>
      <d2p1:Descripcion>sample string 2</d2p1:Descripcion>
      <d2p1:Observacion>sample string 3</d2p1:Observacion>
      <d2p1:SubTotal>1</d2p1:SubTotal>
      <d2p1:Total>4</d2p1:Total>
    </d2p1:SupportDocumentAdditional>
  </supportDocumentAdditionals>
  <taxesTotal>26</taxesTotal>
  <taxesTotalLocal>27</taxesTotalLocal>
  <total>22</total>
  <totalLocal>23</totalLocal>
  <totalWithRetes>28</totalWithRetes>
  <valueTRM>16</valueTRM>
  <xmlAdditionals xmlns:d2p1="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models.Requests.Transverse">
    <d2p1:XmlAdditional>
      <d2p1:Code>sample string 1</d2p1:Code>
      <d2p1:Cufe>sample string 3</d2p1:Cufe>
      <d2p1:IssueDate>2024-12-21T13:26:33.3902547-05:00</d2p1:IssueDate>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:XmlAdditional>
    <d2p1:XmlAdditional>
      <d2p1:Code>sample string 1</d2p1:Code>
      <d2p1:Cufe>sample string 3</d2p1:Cufe>
      <d2p1:IssueDate>2024-12-21T13:26:33.3902547-05:00</d2p1:IssueDate>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:XmlAdditional>
  </xmlAdditionals>
  <supplier>
    <DocumentNumberCheck>sample string 10</DocumentNumberCheck>
    <Email>sample string 8</Email>
    <PhoneNumber>sample string 9</PhoneNumber>
    <active>true</active>
    <code>sample string 4</code>
    <documentNumber>sample string 2</documentNumber>
    <documentTypeCode>sample string 3</documentTypeCode>
    <fiscalLocation>
      <address>sample string 5</address>
      <city>sample string 3</city>
      <countryCode>sample string 1</countryCode>
      <postalZone>sample string 4</postalZone>
      <state>sample string 2</state>
    </fiscalLocation>
    <fullName>sample string 1</fullName>
    <juridicalOrganizationCode>sample string 5</juridicalOrganizationCode>
    <physicalLocation>
      <address>sample string 5</address>
      <city>sample string 3</city>
      <countryCode>sample string 1</countryCode>
      <postalZone>sample string 4</postalZone>
      <state>sample string 2</state>
    </physicalLocation>
    <regimenTypeCode>sample string 6</regimenTypeCode>
    <tributaryDetail>sample string 7</tributaryDetail>
    <users>
      <SupplierUser>
        <Email>sample string 2</Email>
        <FullName>sample string 1</FullName>
        <PhoneNumber>sample string 3</PhoneNumber>
      </SupplierUser>
      <SupplierUser>
        <Email>sample string 2</Email>
        <FullName>sample string 1</FullName>
        <PhoneNumber>sample string 3</PhoneNumber>
      </SupplierUser>
    </users>
  </supplier>
</SupportDocumentWithSupplier>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Indicador de éxito, y listado de errores

AnswerService
NameDescriptionTypeAdditional information
cude

CUDE

string

Optional

cufe

CUFE

string

Optional

result

Estado de aceptación del documento en la DIAN. (true) Aceptado, (false) Rechazado.

boolean

Optional

isPendingDian

Indica si el documento queda pendiente por enviar a la DIAN. (true) Aceptado, (false) Rechazado.

boolean

Optional

sentToDian

Indica si el documento fue enviado a la DIAN

boolean

Optional

isContingency

Indica si el documento fue emitido en contingencia

boolean

Optional

prefix

Indica el prefijo que se usó, para generar el documento

string

Optional

savedInDatabase

Indica si el documento se guardo en la base de datos.

boolean

Optional

documentNumber

Indica el número de documento que se usó

string

Optional

relatedDocumentPrefix

Indica el prefijo del documento referenciado, en caso de que sea contingencia del facturador

string

Optional

relatedDocumentNumber

Indica el número del documento referenciado, en caso de que sea contingencia del facturador

string

Optional

messages

Motivos por el cual se rechaza la factura, o precauciones de la aceptación.

Collection of string

Optional

Response Formats

application/json, text/json

Sample:
{
  "cude": "sample string 1",
  "cufe": "sample string 2",
  "result": true,
  "isPendingDian": true,
  "sentToDian": true,
  "isContingency": true,
  "prefix": "sample string 7",
  "savedInDatabase": true,
  "documentNumber": "sample string 9",
  "relatedDocumentPrefix": "sample string 10",
  "relatedDocumentNumber": "sample string 11",
  "messages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<AnswerService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models">
  <cude>sample string 1</cude>
  <cufe>sample string 2</cufe>
  <documentNumber>sample string 9</documentNumber>
  <isContingency>true</isContingency>
  <isPendingDian>true</isPendingDian>
  <messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </messages>
  <prefix>sample string 7</prefix>
  <relatedDocumentNumber>sample string 11</relatedDocumentNumber>
  <relatedDocumentPrefix>sample string 10</relatedDocumentPrefix>
  <result>true</result>
  <savedInDatabase>true</savedInDatabase>
  <sentToDian>true</sentToDian>
</AnswerService>