1. DianServices
Bilidox
  • Raíz
    • TestService
      • valuesGetAll
      • valuesS3GetItem
      • valuesDBGetItem
      • countersDBGetItem
    • DianServices
      • NumberingRangeGetAll
        GET
      • StatusZipGetAll
        GET
      • DocumentGetItem (invoice)
        GET
      • DocumentGetItem (support)
        GET
      • DocumentGetItemPayroll
        GET
      • CustomerPartyGetItem
        GET
      • DocumentNotesGetAll
        GET
      • DocumentEventsGetAll
        GET
      • SendMailCreate
        POST
      • TestSetCreate
        POST
      • InvoiceCreate
        POST
      • InvoiceCreate Test
        POST
      • InvoiceCreate Copy OK
        POST
      • CreditnoteCreate
        POST
      • CreditnoteCreate Copy
        POST
      • EquivalentCreate
        POST
      • EquivalentCreate Copy
        POST
      • EquivalentSpdCreate
        POST
      • EquivalentSpdCreate Copy
        POST
      • SupportCreate
        POST
      • SupportCreate Copy
        POST
      • PayrollCreate
        POST
      • PayrollCreate Copy
        POST
      • EventCreate
        POST
      • EventCreate ProviderRadian
        POST
    • S3File
      • fileUrlGetItem
      • filePdfGetItem
      • fileXmlGetItem
      • fileCreate
    • DDBRepositories
      • typesGetAll
      • typesGetAllTaxes
    • DDBProvider
      • providerGetAll
      • providersGetItem
      • providersCreate
      • providersUpdate
    • DDBCompany
      • companyGetAll
      • companyGetItem
      • companyGetItemCounter
      • companyCreate
      • companyUpdate
      • companyUpdateAttach
    • DDBCounter
      • counterGetAll
      • counterGetItem
    • DDBCertificate
      • certificateGetAll
      • certificateGetItem
      • certificateFileGetItem
      • certificateCreate
      • certificateUpdate
    • DDBDocument
      • documentGetAll
      • documentGetItem
    • DDBPurchaseOrder
      • purchaseorderGetAll
      • purchaseorderGetItem
      • purchaseorderPaymentGetPayu
      • purchaseorderPaymentGetWompi
      • purchaseorderCreate
      • purchaseorderCreatePayment
      • purchaseorderCreatePayment Wompi
      • purchaseorderUpdate
    • DDBSoftware
      • softwareGetAll
      • softwareGetItem
      • softwareCreate
      • softwareUpdate
    • DDBNumeration
      • numerationGetAll
      • numerationGetItem
      • numerationCreate
      • numerationUpdate
    • DDBEmployee
      • employeeGetAll
      • employeeGetItem
      • employeeCreate
      • employeeUpdate
    • DDBCustomer
      • customerGetAll
      • customerGetItem
      • customerCreate
      • customerUpdate
    • DDBSupplier
      • supplierGetAll
      • supplierGetItem
      • supplierCreate
      • supplierUpdate
    • DDBItem
      • itemGetAll
      • itemGetItem
      • itemCreate
      • itemUpdate
    • DDBUser
      • userOauth
      • userGetAll
      • userGetItem
      • userCreate
      • userCreateIntegrations
      • userUpdate
      • userChangePassword
      • userForgotPassword
      • userResetPassword
    • DDBSecurity
      • tokenCreate
      • tokenCreateIntegrations
  1. DianServices

InvoiceCreate Copy OK

POST
/v1/dian/invoices/

Solicitud

Autorización
Proporciona tu token bearer en el encabezado
Authorization
al realizar solicitudes a recursos protegidos.
Ejemplo:
Authorization: Bearer ********************
Parámetros de consulta

Parámetros del Body application/json

Ejemplos

Respuestas

🟢200
application/json
Bodyapplication/json

Solicitud Ejemplo de Solicitud
Shell
JavaScript
Java
Swift
curl --location '/v1/dian/invoices/?isTest=false&companyId=901084328&providerId=901084328' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "TypeCode": "01",
    "OperationCode": "10",
    "Number": 3,
    "Id": "0",
    "Date": "2025-01-10",
    "DueDate": "2025-01-10",
    "CurrencyCode": "COP",
    "Note": "",
    "OrderReference": {
        "Number": "0",
        "Date": "2025-01-10"
    },
    "NumberingRange": {
        "Id": 18764079400315,
        "Date": "2024-09-12T00:00:00+00:00",
        "Prefix": "EP",
        "FromNumber": 1,
        "TechnicalKey": "6158f7542b91c3deba7ab41dc1199e05c1c04cf509793c27a9d60e305db0cda6",
        "ToNumber": 500,
        "StartDate": "2024-09-12T00:00:00+00:00",
        "EndDate": "2026-09-12T00:00:00+00:00"
    },
    "SoftwareProvider": {
        "TestSetId": "",
        "Origin": "Bilidox"
    },
    "SigningCertificate": {
        "Password": "",
        "Content": ""
    },
    "CompanyParty": {
        "ImageName": "",
        "ImageUrl": "",
        "Id": "901084328",
        "IdentificationType": "31",
        "ProviderId": "901084328",
        "Name": "GRAFOSOFT SAS",
        "PhysicalLocation": {
            "Address": "NATURA ECOPARQUE EMPRESARIAL KM 2 ANILLO VIAL OF 628 T2",
            "CityCode": "68276",
            "SubentityCode": "68",
            "CountryCode": "CO",
            "CountryName": "",
            "PostalZone": ""
        },
        "OrganizationTypeCode": "1",
        "RegimeCode": "",
        "TaxLevelCode": "R-99-PN",
        "TaxResidentCode": "",
        "TaxCode": "",
        "CorporateRegistration": "05-376678-16",
        "IndustryClassificationCode": "",
        "Email": "facturacion@grafosoft.com",
        "Phone": "3108697825"
    },
    "CustomerParty": {
        "Id": "222222222222",
        "IdentificationType": "13",
        "Name": "Consumidor Final",
        "PhysicalLocation": {
            "Address": "",
            "CityCode": "11001",
            "SubentityCode": "11",
            "CountryCode": "CO",
            "CountryName": "",
            "PostalZone": ""
        },
        "OrganizationTypeCode": "2",
        "RegimeCode": "R-99-PN",
        "TaxLevelCode": "R-99-PN",
        "TaxResidentCode": "10",
        "TaxCode": "01",
        "CorporateRegistration": "",
        "IndustryClassificationCode": "",
        "Email": "facturacion@grafosoft.com",
        "Phone": ""
    },
    "PaymentMeans": {
        "Code": "1",
        "Date": "2025-01-10",
        "MethodCode": "10"
    },
    "Items": [
        {
            "Code": "0",
            "Description": "natilla",
            "Quantity": 18,
            "Price": "2000.00",
            "PriceReference": "2000.00",
            "consignmentTransport": null,
            "ThirdPartyIdentification": "",
            "UnitValue": "2000.00",
            "SubtotalAmount": "36000.00",
            "UnitCode": "94",
            "BrandName": "",
            "ModelName": "",
            "Note": "",
            "Discounts": [
                {
                    "Code": "00",
                    "Percentage": "0.00",
                    "Amount": "0.00",
                    "BaseAmount": "36000.00",
                    "Reason": "razon/motivo del descuento"
                }
            ],
            "Charges": [
                {
                    "Code": "02",
                    "Percentage": 0,
                    "Amount": 0,
                    "BaseAmount": 0,
                    "Reason": "razon/motivo del recargo"
                }
            ],
            "Taxes": [
                {
                    "Code": "01",
                    "Amount": "0.00",
                    "Percentage": "0.00",
                    "TaxableAmount": "2000.00",
                    "PerUnitAmount": "0.00",
                    "Concept": "excluded"
                }
            ]
        }
    ],
    "CustomizePrintFormat": {
        "HeaderText": "",
        "FooterText": ""
    },
    "LegalMonetaryTotal": {
        "GrossAmount": "36000.00",
        "TaxExclusiveAmount": "36000.00",
        "TaxInclusiveAmount": "36000.00",
        "DiscountAmount": 0,
        "ChargeAmount": 0,
        "PrepaidAmount": 0,
        "PayableAmount": "36000.00"
    },
    "ConceptCode": "1",
    "DocumentReference": {
        "Number": "",
        "Date": "",
        "TypeCode": "",
        "Uuid": "",
        "SchemeName": ""
    },
    "HealthSectorExtension": null,
    "FileName": "",
    "QrCode": "",
    "PaymentExchangeRate": null,
    "Period": {
        "StartDate": "2025-01-10",
        "EndDate": "2025-01-10"
    },
    "CashRegister": null,
    "BuyerBenefits": null
}'
Respuesta Ejemplo de Respuesta
{}
Modificado en 2025-12-22 19:48:45
Anterior
InvoiceCreate Test
Siguiente
CreditnoteCreate
Built with