{"openapi":"3.0.1","info":{"title":"Outbound Documents","version":"1.6.0.2"},"paths":{"/v2/{virtualOperator}/companies/{companyId}/pdftemplates":{"post":{"tags":["CompanyPdfTemplate"],"summary":"Create pdf template","operationId":"CompanyPdfTemplateControllerCreate","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}},{"name":"companyId","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePdfTemplateInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}}}}},"/v2/{virtualOperator}/companies/{companyId}/pdftemplates/{id}":{"put":{"tags":["CompanyPdfTemplate"],"summary":"Update pdf template","operationId":"CompanyPdfTemplateControllerUpdate","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}},{"name":"companyId","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePdfTemplateInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}}},"/v2/{virtualOperator}/companies/{companyId}/pdftemplates/{id}/default/{isDefault}":{"put":{"tags":["CompanyPdfTemplate"],"summary":"Sets or unsets a pdf template as default","operationId":"CompanyPdfTemplateControllerSetAsDefault","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}},{"name":"companyId","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"isDefault","in":"path","description":"","required":true,"schema":{"type":"boolean"}}],"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocumentdrafts":{"post":{"tags":["DocumentDrafts"],"summary":"Create an document draft","parameters":[{"name":"virtualOperator","in":"path","description":"","schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDocumentDraftInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocumentdrafts/{id}":{"put":{"tags":["DocumentDrafts"],"summary":"Update a document draft","parameters":[{"name":"virtualOperator","in":"path","description":"","schema":{"maxLength":60,"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDocumentDraftInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}},"delete":{"tags":["DocumentDrafts"],"summary":"Delete a document draft","parameters":[{"name":"virtualOperator","in":"path","description":"","schema":{"maxLength":60,"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/posEquivalentDocumentAsync":{"post":{"tags":["EquivalentDocumentType"],"summary":"Creates a POS Equivalent Document asynchronously","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/POSEquivalentDocumentInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/equivalentDocumentAdjustAsync":{"post":{"tags":["EquivalentDocumentType"],"summary":"Creates a Equivalent Document Adjustment asynchronously","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquivalentDocumentAdjustmentInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/equivalentDocumentDebitNoteAsync":{"post":{"tags":["EquivalentDocumentType"],"summary":"Creates a Equivalent Document Adjustment asynchronously","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquivalentDocumentDebitNoteInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/contingencyPOSEquivalentDocument":{"post":{"tags":["EquivalentDocumentType"],"summary":"Creates a Contingency POS Equivalent Document","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContingencyPOSEquivalentDocumentInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResultDtoResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResultDtoResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/equivalentDocumentCude":{"post":{"tags":["EquivalentDocumentType"],"parameters":[{"name":"virtualOperator","in":"path","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CudeInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StringResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StringResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/{id}/equivalentdocumentattachments":{"post":{"tags":["EquivalentDocumentType"],"summary":"Adds a manual attachment to the equivalent document","operationId":"EquivalentDocumentTypeControllerAddAttachment","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUploadInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/sendemailequivalentdocument":{"post":{"tags":["EquivalentDocumentType"],"summary":"Send email notification for document","operationId":"EquivalentDocumentTypeControllerSendEmailNotificationForDocument","parameters":[{"name":"virtualOperator","in":"path","description":"","schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendEmailNotificationInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/{id}/equivalentdocumentregeneratepdf":{"post":{"tags":["EquivalentDocumentType"],"summary":"RegeneratePdf","parameters":[{"name":"virtualOperator","in":"path","description":"","schema":{"maxLength":60,"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/salesInvoice":{"post":{"tags":["InvoiceType"],"summary":"Creates an Invoice","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalesInvoiceInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResultDtoResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResultDtoResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/creditNote":{"post":{"tags":["InvoiceType"],"summary":"Creates a Credit Note","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditNoteInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResultDtoResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResultDtoResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/debitNote":{"post":{"tags":["InvoiceType"],"summary":"Creates a Debit Note","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DebitNoteInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResultDtoResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResultDtoResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/contingencyInvoice":{"post":{"tags":["InvoiceType"],"summary":"Creates a Contingency Invoice","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContingencyInvoiceInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResultDtoResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResultDtoResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/salesInvoiceAsync":{"post":{"tags":["InvoiceType"],"summary":"Creates an Invoice asynchronously","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalesInvoiceInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/creditNoteAsync":{"post":{"tags":["InvoiceType"],"summary":"Creates an Credit Note asynchronously","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditNoteInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/debitNoteAsync":{"post":{"tags":["InvoiceType"],"summary":"Creates an Debit Note asynchronously","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DebitNoteInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/contingencyInvoiceAsync":{"post":{"tags":["InvoiceType"],"summary":"Creates a Contingency Invoice asynchronously","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContingencyInvoiceInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/{id}/attachments":{"post":{"tags":["InvoiceType"],"summary":"Adds a manual attachment to the outbound document","operationId":"InvoiceTypeControllerAddAttachment","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUploadInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/sendemail":{"post":{"tags":["InvoiceType"],"summary":"Send email notification for document","operationId":"InvoiceTypeControllerSendEmailNotificationForDocument","parameters":[{"name":"virtualOperator","in":"path","description":"","schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendEmailNotificationInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/{id}/regeneratepdf":{"post":{"tags":["InvoiceType"],"summary":"RegeneratePdf","parameters":[{"name":"virtualOperator","in":"path","description":"","schema":{"maxLength":60,"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/{id}/tacitlyaccept":{"post":{"tags":["InvoiceType"],"summary":"","parameters":[{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"virtualOperator","in":"path","description":"","schema":{"maxLength":60,"type":"string"}}],"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/cufe":{"post":{"tags":["InvoiceType"],"parameters":[{"name":"virtualOperator","in":"path","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CufeInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StringResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StringResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/cude":{"post":{"tags":["InvoiceType"],"parameters":[{"name":"virtualOperator","in":"path","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CudeInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StringResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StringResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/replaceDocumentPdf":{"post":{"tags":["InvoiceType"],"parameters":[{"name":"virtualOperator","in":"path","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplaceDocumentInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StringResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StringResultMessage"}}}}}}},"/v2/{virtualOperator}/public/outbounddocuments/{token}/accept":{"post":{"tags":["PublicDocuments"],"summary":"","parameters":[{"name":"token","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"virtualOperator","in":"path","description":"","schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptDocumentInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}}},"/v2/{virtualOperator}/public/outbounddocuments/{token}/reject":{"post":{"tags":["PublicDocuments"],"summary":"","parameters":[{"name":"token","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"virtualOperator","in":"path","description":"","schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RejectDocumentInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}}},"/v2/{virtualOperator}/public/outbounddocuments/{token}/receive":{"post":{"tags":["PublicDocuments"],"summary":"","parameters":[{"name":"token","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"virtualOperator","in":"path","description":"","schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}}},"/v2/{virtualOperator}/public/outbounddocuments/{companyId}/signdocument/{rootElement}":{"post":{"tags":["PublicDocuments"],"parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"rootElement","in":"path","required":true,"schema":{"type":"string"}},{"name":"virtualOperator","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string","format":"byte"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByteArrayResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ByteArrayResultMessage"}}}}}}},"/v2/{virtualOperator}/qualificationoutbounddocuments/posEquivalentDocumentAsync":{"post":{"tags":["QualificationDocuments"],"summary":"Submit an invoice for qualification","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/POSEquivalentDocumentInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualificationDocumentResultDtoResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualificationDocumentResultDtoResultMessage"}}}}}}},"/v2/{virtualOperator}/qualificationoutbounddocuments/salesInvoiceAsync":{"post":{"tags":["QualificationDocuments"],"summary":"Submit an invoice for qualification","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalesInvoiceInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualificationDocumentResultDtoResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualificationDocumentResultDtoResultMessage"}}}}}}},"/v2/{virtualOperator}/qualificationoutbounddocuments/creditNoteAsync":{"post":{"tags":["QualificationDocuments"],"summary":"Submit a credit note for qualification","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditNoteInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualificationDocumentResultDtoResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualificationDocumentResultDtoResultMessage"}}}}}}},"/v2/{virtualOperator}/qualificationoutbounddocuments/debitNoteAsync":{"post":{"tags":["QualificationDocuments"],"summary":"Submit a debit note for qualification","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DebitNoteInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualificationDocumentResultDtoResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualificationDocumentResultDtoResultMessage"}}}}}}},"/v2/{virtualOperator}/companies/{companyId}/qualificationseries":{"post":{"tags":["QualificationSerie"],"summary":"Create a new qualification serie","operationId":"CreateQualificationSerie","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}},{"name":"companyId","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualificationSerieCreateInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}}}}},"/v2/{virtualOperator}/companies/{companyId}/qualificationseries/{id}":{"put":{"tags":["QualificationSerie"],"summary":"Update a qualification serie","operationId":"UpdateQualificationSerie","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"companyId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualificationSerieUpdateInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}}},"/v2/{virtualOperator}/companies/{companyId}/series":{"post":{"tags":["Serie"],"summary":"Create a new serie","operationId":"CreateSerie","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}},{"name":"companyId","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SerieCreateInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}}}}},"/v2/{virtualOperator}/companies/{companyId}/series/{id}":{"put":{"tags":["Serie"],"summary":"Update serie","operationId":"UpdateSerie","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"companyId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SerieUpdateInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}}},"/v2/{virtualOperator}/companies/{companyId}/series/{id}/activate":{"put":{"tags":["Serie"],"summary":"Activate serie","operationId":"ActivateSerie","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"companyId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}}},"/v2/{virtualOperator}/companies/{companyId}/series/{id}/inactivate":{"put":{"tags":["Serie"],"summary":"Disable serie","operationId":"InactivateSerie","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"companyId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/supportDocument":{"post":{"tags":["SupportDocumentType"],"summary":"Creates a Support Document","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportDocumentInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResultDtoResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResultDtoResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/supportDocumentAdjust":{"post":{"tags":["SupportDocumentType"],"summary":"Creates an Support Document Adjustment","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportDocumentAdjustmentInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResultDtoResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentResultDtoResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/supportDocumentAsync":{"post":{"tags":["SupportDocumentType"],"summary":"Creates a Support Document asynchronously","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportDocumentInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/supportDocumentAdjustAsync":{"post":{"tags":["SupportDocumentType"],"summary":"Creates a Support Document Adjustment asynchronously","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportDocumentAdjustmentInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}}}}},"/v2/{virtualOperator}/outbounddocuments/cuds":{"post":{"tags":["SupportDocumentType"],"parameters":[{"name":"virtualOperator","in":"path","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CudsInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StringResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StringResultMessage"}}}}}}},"/v2/pdftemplates":{"post":{"tags":["SystemPdfTemplate"],"summary":"Create pdf template","operationId":"SystemPdfTemplateControllerCreate","requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePdfTemplateInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}}}}},"/v2/pdftemplates/{id}":{"put":{"tags":["SystemPdfTemplate"],"summary":"Update pdf template","operationId":"SystemPdfTemplateControllerUpdate","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePdfTemplateInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}},"delete":{"tags":["SystemPdfTemplate"],"summary":"Delete pdf system template","operationId":"Delete","parameters":[{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}}},"/v2/tools/testPdfTemplate":{"post":{"tags":["Tools"],"operationId":"TestPdfTemplate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestPdfTemplateInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentFileResultMessage"}}}},"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentFileResultMessage"}}}}}}},"/v2/{virtualOperator}/pdftemplates":{"post":{"tags":["VirtualOperatorPdfTemplate"],"summary":"Create pdf template","operationId":"VirtualOperatorPdfTemplateControllerCreate","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}}],"requestBody":{"description":"","content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/CreatePdfTemplateInputDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/CreatePdfTemplateInputDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CreatePdfTemplateInputDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CreatePdfTemplateInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}},"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}},"text/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}},"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}},"application/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}},"text/json":{"schema":{"$ref":"#/components/schemas/GuidResultMessage"}}}}}}},"/v2/{virtualOperator}/pdftemplates/{id}":{"put":{"tags":["VirtualOperatorPdfTemplate"],"summary":"Update pdf template","operationId":"VirtualOperatorPdfTemplateControllerUpdate","parameters":[{"name":"virtualOperator","in":"path","description":"","required":true,"schema":{"maxLength":60,"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"","content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/UpdatePdfTemplateInputDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePdfTemplateInputDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UpdatePdfTemplateInputDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UpdatePdfTemplateInputDto"}}}},"responses":{"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}},"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}},"text/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}},"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}},"text/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}},"delete":{"tags":["VirtualOperatorPdfTemplate"],"operationId":"DeleteVirtualOperatorPdfTemplate","parameters":[{"name":"virtualOperator","in":"path","required":true,"schema":{"maxLength":60,"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}},"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}},"text/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}},"200":{"description":"Success","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}},"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}},"text/json":{"schema":{"$ref":"#/components/schemas/BooleanResultMessage"}}}}}}}},"components":{"schemas":{"AcceptDocumentInputDto":{"type":"object","properties":{"Reason":{"maxLength":500,"type":"string"}},"additionalProperties":false},"AdditionalCustomerPartyInputDto":{"required":["Identification","Name","ParticipationPercentage"],"type":"object","properties":{"Name":{"maxLength":450,"type":"string","description":"Name of commercial establishment."},"CommercialRegistrationNumber":{"maxLength":50,"type":"string","description":"Commercial Registration Number"},"Identification":{"$ref":"#/components/schemas/IdentificationInputDto"},"ParticipationPercentage":{"type":"string","description":"Participation Percentage"}},"additionalProperties":false,"description":"Data structure which can describe an additional customer"},"AddressInputDto":{"required":["AddressLine","CityCode","Country","DepartmentName","PostalCode"],"type":"object","properties":{"DepartmentName":{"maxLength":2,"type":"string","description":"Country state, department.; (New DIAN 2 Property)"},"DepartmentCode":{"maxLength":50,"type":"string","description":"(New DIAN 2 Property)"},"CityCode":{"maxLength":5,"type":"string","description":"(New DIAN 2 Property)"},"CityName":{"maxLength":50,"type":"string","description":"City name; (New DIAN 2 Property)"},"AddressLine":{"maxLength":450,"type":"string","description":"Free text to set an address"},"PostalCode":{"maxLength":50,"type":"string","description":"Postal code; (Updated DIAN 2 Property)"},"Country":{"type":"string","description":"Country code. In Colombia is 'CO'"}},"additionalProperties":false,"description":"Object representing an Address"},"AllowanceChargeInputDto":{"required":["Amount","BaseAmount","ChargeIndicator","SequenceIndicator"],"type":"object","properties":{"ChargeIndicator":{"type":"string","description":"True if is charge. Default is false"},"BaseAmount":{"type":"string","description":"Amount for allowance or charge calculation; (Updated DIAN 2 Property)"},"ReasonCode":{"type":"string","description":"Code for allowance or charge. See DataElements.AllowanceChargeCodeType"},"Reason":{"maxLength":400,"type":"string","description":"Mandatory if invoice is internacional"},"Amount":{"type":"string","description":"Ammount of allowance or charge"},"Percentage":{"type":"string","description":"Percentage applied to base amount"},"SequenceIndicator":{"type":"string","description":"Calculation sequence indicator"}},"additionalProperties":false,"description":"Allowance Charge"},"AuditEventType":{"enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59],"type":"integer","format":"int32"},"BooleanResultMessage":{"type":"object","properties":{"IsValid":{"type":"boolean"},"Warnings":{"type":"array","items":{"$ref":"#/components/schemas/ValidationWarning"}},"Errors":{"type":"array","items":{"$ref":"#/components/schemas/ValidationError"}},"ResultData":{"type":"boolean"},"ResultCode":{"type":"integer","format":"int32"}},"additionalProperties":false},"BuyerBenefitsInputDto":{"required":["BuyerIdentificationDocumentNumber","BuyerIdentificationName","Points"],"type":"object","properties":{"BuyerIdentificationDocumentNumber":{"type":"string"},"BuyerIdentificationName":{"type":"string"},"Points":{"type":"string"}},"additionalProperties":false},"ByteArrayResultMessage":{"type":"object","properties":{"IsValid":{"type":"boolean"},"Warnings":{"type":"array","items":{"$ref":"#/components/schemas/ValidationWarning"}},"Errors":{"type":"array","items":{"$ref":"#/components/schemas/ValidationError"}},"ResultData":{"type":"string","format":"byte"},"ResultCode":{"type":"integer","format":"int32"}},"additionalProperties":false},"CarIndustryInputDto":{"type":"object","properties":{"MotorNumber":{"minLength":50,"type":"string"},"ChassisNumber":{"minLength":50,"type":"string"},"CylinderCapacity":{"minLength":50,"type":"string"},"SerieNumber":{"minLength":50,"type":"string"},"Year":{"type":"integer","format":"int32"},"Class":{"minLength":50,"type":"string"},"Color":{"minLength":50,"type":"string"},"Manifest":{"minLength":100,"type":"string"}},"additionalProperties":false},"ContingencyInvoiceInputDto":{"required":["BillingPeriod","CorrelationDocumentId","Currency","CustomerParty","DeliveryDate","DueDate","IssueDate","IssuerParty","Lines","SerieExternalKey","TaxSubTotals","TaxTotals","Total"],"type":"object","properties":{"DeliveryTerms":{"$ref":"#/components/schemas/DeliveryTermInputDto"},"WithholdingTaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/WithholdingTaxSubTotalInputDto"},"description":"Information used to report withholding taxes sub totals (partials)"},"WithholdingTaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/WithholdingTaxTotalInputDto"},"description":"Information used to report the sum of withholding taxes by tax category"},"ExportInvoiceAdditionalData":{"$ref":"#/components/schemas/ExportInvoiceAdditionalDataInputDto"},"IssuerParty":{"$ref":"#/components/schemas/PartyResumeInputDto"},"CustomerParty":{"$ref":"#/components/schemas/CustomerPartyInputDto"},"Lines":{"type":"array","items":{"$ref":"#/components/schemas/LineInputDto"},"description":"Sales Invoice lines"},"DeliveryDate":{"type":"string","description":"Bill Delivery Date. Format {yyyy-mm-dd}"},"SeriePrefix":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the prefix must be present.\r\nSerie validations will be applied."},"SerieNumber":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the SerieNumber must be present.\r\nSerie validations will be applied."},"Notes":{"type":"array","items":{"type":"string"},"description":"Additional information: Free text on the document"},"Currency":{"type":"string","description":"Currency code. Colombia is 'COP'"},"TaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxSubTotalInputDto"},"description":"Information used to report tax sub totals (partials)"},"TaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxTotalInputDto"},"description":"Information used to report the sum of taxes by tax category"},"Total":{"$ref":"#/components/schemas/LegalMonetaryTotalInputDto"},"IssueDate":{"type":"string","description":"Date issue of the invoice for tax purposes. Format {yyyy-MM-ddTHH:mm:ss}"},"DueDate":{"type":"string","description":"Bill Due Date. Format {yyyy-mm-dd}"},"ExternalReference":{"maxLength":50,"type":"string","description":"External Reference"},"CorrelationDocumentId":{"maxLength":50,"type":"string","description":"Unique identifier for the document. This Id is used to prevent document duplication."},"SerieExternalKey":{"type":"string","description":"Unique identifier for the serie. This identifier is generated by the system when the serie is created\r\nand must be sent back on document creation to select wich serie will be used"},"AdditionalNotificationEmails":{"type":"array","items":{"type":"string"},"description":"List of adicional emails to be notified"},"DocumentReferences":{"type":"array","items":{"$ref":"#/components/schemas/DocumentReferenceInputDto"},"description":"Document references"},"GraphicalRepresentationCustomFields":{"type":"array","items":{"$ref":"#/components/schemas/CustomFieldInputDto"},"description":"Document's Graphical Representation Custom Fields"},"Attachments":{"type":"array","items":{"$ref":"#/components/schemas/DocumentAttachmentInputDto"},"description":"Document downloadable attachments"},"PdfData":{"$ref":"#/components/schemas/OutboundDocumentPdfInputDto"},"PrepaidPayments":{"type":"array","items":{"$ref":"#/components/schemas/PrepaidPaymentInputDto"},"description":"Information on the prepaid amount and date"},"PaymentExchangeRate":{"$ref":"#/components/schemas/PaymentExchangeRateInputDto"},"PaymentMeans":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMeanInputDto"},"description":"Document payment means"},"PaymentTerms":{"type":"array","items":{"$ref":"#/components/schemas/PaymentTermInputDto"},"description":"Document payment terms"},"AllowanceCharges":{"type":"array","items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Document allowances and charges"},"OperationType":{"type":"string","description":"Operation type. If not present, the default is Standard; (New DIAN 2 Property)"},"AdditionalCustomers":{"type":"array","items":{"$ref":"#/components/schemas/AdditionalCustomerPartyInputDto"},"description":"Additional Customers"},"HealthcareData":{"$ref":"#/components/schemas/HealthcareInputDto"},"BillingPeriod":{"$ref":"#/components/schemas/PeriodInputDto"},"ExistingCufe":{"type":"string","description":"CUFE extracted from XML"}},"additionalProperties":false,"description":"Represents a Contingency Invoice input DTO."},"ContingencyPOSEquivalentDocumentInputDto":{"required":["BillingPeriod","CorrelationDocumentId","Currency","CustomerParty","DeliveryDate","DueDate","IssueDate","IssuerParty","Lines","SerieExternalKey","TaxSubTotals","TaxTotals","Total"],"type":"object","properties":{"DeliveryTerms":{"$ref":"#/components/schemas/DeliveryTermInputDto"},"WithholdingTaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/WithholdingTaxSubTotalInputDto"},"description":"Information used to report withholding taxes sub totals (partials)"},"WithholdingTaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/WithholdingTaxTotalInputDto"},"description":"Information used to report the sum of withholding taxes by tax category"},"BuyerBenefits":{"$ref":"#/components/schemas/BuyerBenefitsInputDto"},"POSInformation":{"$ref":"#/components/schemas/POSInformationInputDto"},"SoftwareMaker":{"$ref":"#/components/schemas/SoftwareMakerInputDto"},"IssuerParty":{"$ref":"#/components/schemas/PartyResumeInputDto"},"CustomerParty":{"$ref":"#/components/schemas/CustomerPartyInputDto"},"Lines":{"type":"array","items":{"$ref":"#/components/schemas/LineInputDto"},"description":"Sales Invoice lines"},"DeliveryDate":{"type":"string","description":"Bill Delivery Date. Format {yyyy-mm-dd}"},"SeriePrefix":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the prefix must be present.\r\nSerie validations will be applied."},"SerieNumber":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the SerieNumber must be present.\r\nSerie validations will be applied."},"Notes":{"type":"array","items":{"type":"string"},"description":"Additional information: Free text on the document"},"Currency":{"type":"string","description":"Currency code. Colombia is 'COP'"},"TaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxSubTotalInputDto"},"description":"Information used to report tax sub totals (partials)"},"TaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxTotalInputDto"},"description":"Information used to report the sum of taxes by tax category"},"Total":{"$ref":"#/components/schemas/LegalMonetaryTotalInputDto"},"IssueDate":{"type":"string","description":"Date issue of the invoice for tax purposes. Format {yyyy-MM-ddTHH:mm:ss}"},"DueDate":{"type":"string","description":"Bill Due Date. Format {yyyy-mm-dd}"},"ExternalReference":{"maxLength":50,"type":"string","description":"External Reference"},"CorrelationDocumentId":{"maxLength":50,"type":"string","description":"Unique identifier for the document. This Id is used to prevent document duplication."},"SerieExternalKey":{"type":"string","description":"Unique identifier for the serie. This identifier is generated by the system when the serie is created\r\nand must be sent back on document creation to select wich serie will be used"},"AdditionalNotificationEmails":{"type":"array","items":{"type":"string"},"description":"List of adicional emails to be notified"},"DocumentReferences":{"type":"array","items":{"$ref":"#/components/schemas/DocumentReferenceInputDto"},"description":"Document references"},"GraphicalRepresentationCustomFields":{"type":"array","items":{"$ref":"#/components/schemas/CustomFieldInputDto"},"description":"Document's Graphical Representation Custom Fields"},"Attachments":{"type":"array","items":{"$ref":"#/components/schemas/DocumentAttachmentInputDto"},"description":"Document downloadable attachments"},"PdfData":{"$ref":"#/components/schemas/OutboundDocumentPdfInputDto"},"PrepaidPayments":{"type":"array","items":{"$ref":"#/components/schemas/PrepaidPaymentInputDto"},"description":"Information on the prepaid amount and date"},"PaymentExchangeRate":{"$ref":"#/components/schemas/PaymentExchangeRateInputDto"},"PaymentMeans":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMeanInputDto"},"description":"Document payment means"},"PaymentTerms":{"type":"array","items":{"$ref":"#/components/schemas/PaymentTermInputDto"},"description":"Document payment terms"},"AllowanceCharges":{"type":"array","items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Document allowances and charges"},"OperationType":{"type":"string","description":"Operation type. If not present, the default is Standard; (New DIAN 2 Property)"},"AdditionalCustomers":{"type":"array","items":{"$ref":"#/components/schemas/AdditionalCustomerPartyInputDto"},"description":"Additional Customers"},"HealthcareData":{"$ref":"#/components/schemas/HealthcareInputDto"},"BillingPeriod":{"$ref":"#/components/schemas/PeriodInputDto"},"ExistingCufe":{"type":"string","description":"CUFE extracted from XML"}},"additionalProperties":false,"description":"Represents a Contingency POS Equivalent Document input DTO."},"CreateDocumentDraftInputDto":{"required":["CompanyId","Content","CustomerIdentificationCode","CustomerName","DocumentType","IssuerIdentificationCode","IssuerName","Name"],"type":"object","properties":{"Name":{"maxLength":100,"type":"string","description":"The name that will be used for the user identify the document draft"},"Content":{"maxLength":1048576,"type":"string","description":"The content of the draft"},"DocumentType":{"type":"string","description":"The document type"},"DocumentSubType":{"type":"string","description":"The document sub type"},"IssuerIdentificationCode":{"maxLength":1048576,"type":"string","description":"The identification code of the issuer"},"IssuerName":{"maxLength":100,"type":"string","description":"The name of the issuer"},"CustomerIdentificationCode":{"maxLength":100,"type":"string","description":"The identification code of the customer"},"CustomerName":{"maxLength":100,"type":"string","description":"The customer name"},"CompanyId":{"type":"string","description":"The company where the document draft is saved","format":"uuid"}},"additionalProperties":false},"CreatePdfTemplateInputDto":{"required":["Content","DocumentType","Name"],"type":"object","properties":{"Name":{"type":"string","description":"Name of the template to be presented to user"},"DocumentType":{"type":"string","description":"Document type to which this template is applicable"},"DocumentSubType":{"type":"string","description":"Document sub type to which this template is applicable"},"Content":{"type":"string","description":"Template."}},"additionalProperties":false},"CreditNoteInputDto":{"required":["BillingPeriod","CorrelationDocumentId","Currency","CustomerParty","DeliveryDate","DueDate","IssueDate","IssuerParty","Lines","ReasonCredit","SerieExternalKey","TaxSubTotals","TaxTotals","Total"],"type":"object","properties":{"ReasonCredit":{"type":"string","description":"Reason Credit. The value must be one of this ['ReturnGoods', 'CancellationInvoice', 'TotalReduction', 'TotalDiscount', 'Termination', 'Others']"},"PaymentMethod":{"type":"string","description":"Bill payment method.\r\nThe value must be one of this ['Cash', 'Cheque', 'Bank', 'Transfer', 'BankDeposit']"},"IssuerParty":{"$ref":"#/components/schemas/PartyResumeInputDto"},"CustomerParty":{"$ref":"#/components/schemas/CustomerPartyInputDto"},"Lines":{"type":"array","items":{"$ref":"#/components/schemas/LineInputDto"},"description":"Sales Invoice lines"},"DocumentSubType":{"$ref":"#/components/schemas/DocumentSubTypes"},"DeliveryDate":{"type":"string","description":"Bill Delivery Date. Format {yyyy-mm-dd}"},"SeriePrefix":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the prefix must be present.\r\nSerie validations will be applied."},"SerieNumber":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the SerieNumber must be present.\r\nSerie validations will be applied."},"Notes":{"type":"array","items":{"type":"string"},"description":"Additional information: Free text on the document"},"Currency":{"type":"string","description":"Currency code. Colombia is 'COP'"},"TaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxSubTotalInputDto"},"description":"Information used to report tax sub totals (partials)"},"TaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxTotalInputDto"},"description":"Information used to report the sum of taxes by tax category"},"Total":{"$ref":"#/components/schemas/LegalMonetaryTotalInputDto"},"IssueDate":{"type":"string","description":"Date issue of the invoice for tax purposes. Format {yyyy-MM-ddTHH:mm:ss}"},"DueDate":{"type":"string","description":"Bill Due Date. Format {yyyy-mm-dd}"},"ExternalReference":{"maxLength":50,"type":"string","description":"External Reference"},"CorrelationDocumentId":{"maxLength":50,"type":"string","description":"Unique identifier for the document. This Id is used to prevent document duplication."},"SerieExternalKey":{"type":"string","description":"Unique identifier for the serie. This identifier is generated by the system when the serie is created\r\nand must be sent back on document creation to select wich serie will be used"},"AdditionalNotificationEmails":{"type":"array","items":{"type":"string"},"description":"List of adicional emails to be notified"},"DocumentReferences":{"type":"array","items":{"$ref":"#/components/schemas/DocumentReferenceInputDto"},"description":"Document references"},"GraphicalRepresentationCustomFields":{"type":"array","items":{"$ref":"#/components/schemas/CustomFieldInputDto"},"description":"Document's Graphical Representation Custom Fields"},"Attachments":{"type":"array","items":{"$ref":"#/components/schemas/DocumentAttachmentInputDto"},"description":"Document downloadable attachments"},"PdfData":{"$ref":"#/components/schemas/OutboundDocumentPdfInputDto"},"PrepaidPayments":{"type":"array","items":{"$ref":"#/components/schemas/PrepaidPaymentInputDto"},"description":"Information on the prepaid amount and date"},"PaymentExchangeRate":{"$ref":"#/components/schemas/PaymentExchangeRateInputDto"},"PaymentMeans":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMeanInputDto"},"description":"Document payment means"},"PaymentTerms":{"type":"array","items":{"$ref":"#/components/schemas/PaymentTermInputDto"},"description":"Document payment terms"},"AllowanceCharges":{"type":"array","items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Document allowances and charges"},"OperationType":{"type":"string","description":"Operation type. If not present, the default is Standard; (New DIAN 2 Property)"},"AdditionalCustomers":{"type":"array","items":{"$ref":"#/components/schemas/AdditionalCustomerPartyInputDto"},"description":"Additional Customers"},"HealthcareData":{"$ref":"#/components/schemas/HealthcareInputDto"},"BillingPeriod":{"$ref":"#/components/schemas/PeriodInputDto"},"ExistingCufe":{"type":"string","description":"CUFE extracted from XML"}},"additionalProperties":false,"description":"Represents an CreditNote input DTO."},"CudeInputDto":{"required":["CustomerDocumentNumber","DocumentNumber","IssueDate","IssuerNitNumber","SupplierTimeZoneCode","TotalGrossAmount","TotalIca","TotalInc","TotalIva","TotalPayableAmount"],"type":"object","properties":{"IssueDate":{"type":"string","description":"Document issue date"},"CustomerDocumentNumber":{"type":"string","description":"Customer document number"},"IssuerNitNumber":{"type":"string","description":"Issuer Nit number"},"DocumentNumber":{"type":"string","description":"Document number"},"TotalIva":{"type":"string","description":"Sum of IVAs tax amount"},"TotalInc":{"type":"string","description":"Sum of INCs tax amount"},"TotalIca":{"type":"string","description":"Sum of ICAs tax amount"},"TotalGrossAmount":{"type":"string","description":"Total document gross amount"},"TotalPayableAmount":{"type":"string","description":"Total document payable amount"},"SupplierTimeZoneCode":{"type":"string","description":"Supplier timezone code"}},"additionalProperties":false},"CudsInputDto":{"required":["CustomerDocumentNumber","CustomerTimeZoneCode","DocumentNumber","IssueDate","SupplierDocumentNumber","TotalGrossAmount","TotalPayableAmount","TotalTaxes"],"type":"object","properties":{"DocumentNumber":{"type":"string","description":"Document number"},"IssueDate":{"type":"string","description":"Document issue date"},"TotalGrossAmount":{"type":"string","description":"Total document gross amount"},"TotalTaxes":{"type":"string","description":"Total of tax amount"},"TotalPayableAmount":{"type":"string","description":"Total document payable amount"},"SupplierDocumentNumber":{"type":"string","description":"Supplier Nit number"},"CustomerDocumentNumber":{"type":"string","description":"Customer document number"},"CustomerTimeZoneCode":{"type":"string","description":"Customer timezone code"}},"additionalProperties":false},"CufeInputDto":{"required":["CustomerDocumentNumber","DocumentNumber","IssueDate","IssuerNitNumber","SerieTechnicalKey","SupplierTimeZoneCode","TotalGrossAmount","TotalIca","TotalInc","TotalIva","TotalPayableAmount"],"type":"object","properties":{"IssueDate":{"type":"string","description":"Document issue date"},"CustomerDocumentNumber":{"type":"string","description":"Customer document number"},"IssuerNitNumber":{"type":"string","description":"Issuer Nit number"},"SerieTechnicalKey":{"type":"string","description":"Serie technical key"},"DocumentNumber":{"type":"string","description":"Document number"},"TotalIva":{"type":"string","description":"Sum of IVAs tax amount"},"TotalInc":{"type":"string","description":"Sum of INC tax amount"},"TotalIca":{"type":"string","description":"Sum of ICAs tax amount"},"TotalGrossAmount":{"type":"string","description":"Total document gross amount"},"TotalPayableAmount":{"type":"string","description":"Total document payable amount"},"SupplierTimeZoneCode":{"type":"string","description":"Supplier timezone code"}},"additionalProperties":false},"CustomFieldInputDto":{"required":["Key","Value"],"type":"object","properties":{"Key":{"type":"string","description":"Key"},"Value":{"type":"string","description":"Value"},"LineId":{"type":"string","description":"If this pair relates to a line, specify the line number"}},"additionalProperties":false},"CustomerPartyInputDto":{"required":["Address","Identification","LegalType","ResponsabilityTypes","TaxScheme"],"type":"object","properties":{"IsFinalConsumer":{"type":"boolean","description":"Is customer a final consumer; (New DIAN 2 Property)"},"Telephone":{"maxLength":20,"type":"string","description":"Telefone"},"TeleFax":{"type":"string","description":"TeleFax"},"DocumentContacts":{"type":"array","items":{"$ref":"#/components/schemas/DocumentContactInputDto"},"description":"Party contacts related to current document"},"Gln":{"maxLength":13,"type":"string","description":"Party GLN"},"LegalType":{"type":"string","description":"Document type identification. The value must be one of this: ['Natural', 'Legal']"},"Identification":{"$ref":"#/components/schemas/IdentificationInputDto"},"Name":{"maxLength":450,"type":"string","description":"Name of commercial establishment. \r\nRequired if LegalType = Legal"},"WebsiteUrl":{"maxLength":250,"type":"string","description":"Website url"},"Email":{"maxLength":200,"type":"string","description":"Email address"},"Address":{"$ref":"#/components/schemas/AddressInputDto"},"TaxScheme":{"type":"string","description":"Describe the tax scheme."},"Person":{"$ref":"#/components/schemas/PersonInputDto"},"Industry":{"maxLength":100,"type":"string","description":"Industry"},"ResponsabilityTypes":{"type":"array","items":{"type":"string"},"description":"Responsability Types; (New DIAN 2 Property)"}},"additionalProperties":false,"description":"Data structure which can describe the issuer or customer"},"DebitNoteInputDto":{"required":["BillingPeriod","CorrelationDocumentId","Currency","CustomerParty","DeliveryDate","DueDate","IssueDate","IssuerParty","Lines","ReasonDebit","SerieExternalKey","TaxSubTotals","TaxTotals","Total"],"type":"object","properties":{"ReasonDebit":{"type":"string","description":"Reason Debit. The value must be one of this ['Interests', 'ExpensesReceivable', 'AmountChange']"},"PaymentMethod":{"type":"string","description":"Bill payment method.\r\nThe value must be one of this ['Cash', 'Cheque', 'Bank', 'Transfer', 'BankDeposit']"},"IssuerParty":{"$ref":"#/components/schemas/PartyResumeInputDto"},"CustomerParty":{"$ref":"#/components/schemas/CustomerPartyInputDto"},"Lines":{"type":"array","items":{"$ref":"#/components/schemas/LineInputDto"},"description":"Sales Invoice lines"},"DocumentSubType":{"$ref":"#/components/schemas/DocumentSubTypes"},"DeliveryDate":{"type":"string","description":"Bill Delivery Date. Format {yyyy-mm-dd}"},"SeriePrefix":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the prefix must be present.\r\nSerie validations will be applied."},"SerieNumber":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the SerieNumber must be present.\r\nSerie validations will be applied."},"Notes":{"type":"array","items":{"type":"string"},"description":"Additional information: Free text on the document"},"Currency":{"type":"string","description":"Currency code. Colombia is 'COP'"},"TaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxSubTotalInputDto"},"description":"Information used to report tax sub totals (partials)"},"TaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxTotalInputDto"},"description":"Information used to report the sum of taxes by tax category"},"Total":{"$ref":"#/components/schemas/LegalMonetaryTotalInputDto"},"IssueDate":{"type":"string","description":"Date issue of the invoice for tax purposes. Format {yyyy-MM-ddTHH:mm:ss}"},"DueDate":{"type":"string","description":"Bill Due Date. Format {yyyy-mm-dd}"},"ExternalReference":{"maxLength":50,"type":"string","description":"External Reference"},"CorrelationDocumentId":{"maxLength":50,"type":"string","description":"Unique identifier for the document. This Id is used to prevent document duplication."},"SerieExternalKey":{"type":"string","description":"Unique identifier for the serie. This identifier is generated by the system when the serie is created\r\nand must be sent back on document creation to select wich serie will be used"},"AdditionalNotificationEmails":{"type":"array","items":{"type":"string"},"description":"List of adicional emails to be notified"},"DocumentReferences":{"type":"array","items":{"$ref":"#/components/schemas/DocumentReferenceInputDto"},"description":"Document references"},"GraphicalRepresentationCustomFields":{"type":"array","items":{"$ref":"#/components/schemas/CustomFieldInputDto"},"description":"Document's Graphical Representation Custom Fields"},"Attachments":{"type":"array","items":{"$ref":"#/components/schemas/DocumentAttachmentInputDto"},"description":"Document downloadable attachments"},"PdfData":{"$ref":"#/components/schemas/OutboundDocumentPdfInputDto"},"PrepaidPayments":{"type":"array","items":{"$ref":"#/components/schemas/PrepaidPaymentInputDto"},"description":"Information on the prepaid amount and date"},"PaymentExchangeRate":{"$ref":"#/components/schemas/PaymentExchangeRateInputDto"},"PaymentMeans":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMeanInputDto"},"description":"Document payment means"},"PaymentTerms":{"type":"array","items":{"$ref":"#/components/schemas/PaymentTermInputDto"},"description":"Document payment terms"},"AllowanceCharges":{"type":"array","items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Document allowances and charges"},"OperationType":{"type":"string","description":"Operation type. If not present, the default is Standard; (New DIAN 2 Property)"},"AdditionalCustomers":{"type":"array","items":{"$ref":"#/components/schemas/AdditionalCustomerPartyInputDto"},"description":"Additional Customers"},"HealthcareData":{"$ref":"#/components/schemas/HealthcareInputDto"},"BillingPeriod":{"$ref":"#/components/schemas/PeriodInputDto"},"ExistingCufe":{"type":"string","description":"CUFE extracted from XML"}},"additionalProperties":false,"description":"Represents an DebitNote input DTO."},"DeliveryInputDto":{"type":"object","properties":{"DeliveryLocation":{"$ref":"#/components/schemas/DeliveryLocationInputDto"}},"additionalProperties":false,"description":"Delivery data"},"DeliveryLocationInputDto":{"type":"object","properties":{"Id":{"maxLength":200,"type":"string","description":"Global Location Number"},"Description":{"maxLength":200,"type":"string","description":"Delivery description"}},"additionalProperties":false,"description":"Delivery data"},"DeliveryTermInputDto":{"type":"object","properties":{"SpecialTerms":{"maxLength":200,"type":"string","description":"Special Terms"},"IncotermCode":{"maxLength":200,"type":"string","description":"Loss Risk Responsibility Code"},"DeliveryCode":{"maxLength":200,"type":"string","description":"Delivery Location Code"},"DeliveryDescription":{"maxLength":200,"type":"string","description":"Delivery Description"}},"additionalProperties":false},"DocumentAttachmentInputDto":{"required":["Content","ContentType","Filename"],"type":"object","properties":{"ContentType":{"maxLength":5000000,"type":"string","description":"File content type"},"Filename":{"maxLength":100,"type":"string","description":"Filename"},"Content":{"maxLength":5000000,"type":"string","description":"File content. \r\nIf file is a text file, the resultant byte[] should be converted using UTF-8","format":"byte"}},"additionalProperties":false,"description":"Data structure to upload a file"},"DocumentContactInputDto":{"required":["Type"],"type":"object","properties":{"Code":{"type":"string","description":"Code"},"Name":{"type":"string","description":"Name of the contact"},"Telephone":{"maxLength":20,"type":"string","description":"Telefone of the contact"},"Telefax":{"maxLength":20,"type":"string","description":"Telefax of the contact"},"Email":{"maxLength":200,"type":"string","description":"E-mail of the contact"},"Note":{"type":"string","description":"Note"},"Type":{"type":"string","description":"Type of the contact. See DataElements.ContactTypes"}},"additionalProperties":false,"description":"Data structure which can describe the others contacts of issuer or customer related to document"},"DocumentFile":{"type":"object","properties":{"Id":{"type":"string","format":"uuid"},"DocumentId":{"type":"string","format":"uuid"},"FileName":{"type":"string"},"Description":{"type":"string"},"DocumentFormat":{"$ref":"#/components/schemas/DocumentFormat"},"Content":{"type":"string","format":"byte"},"CreationDate":{"type":"string","format":"date-time"}},"additionalProperties":false},"DocumentFileResultMessage":{"type":"object","properties":{"IsValid":{"type":"boolean"},"Warnings":{"type":"array","items":{"$ref":"#/components/schemas/ValidationWarning"}},"Errors":{"type":"array","items":{"$ref":"#/components/schemas/ValidationError"}},"ResultData":{"$ref":"#/components/schemas/DocumentFile"},"ResultCode":{"type":"integer","format":"int32"}},"additionalProperties":false},"DocumentFormat":{"enum":[1,2,3,4],"type":"integer","format":"int32"},"DocumentLineReferenceInputDto":{"required":["DocumentReferred","DocumentReferredLineNumber","IssueDate","Type"],"type":"object","properties":{"DocumentReferred":{"maxLength":100,"type":"string","description":"Document number referred. Example: PRUE98745631"},"IssueDate":{"type":"string","description":"Referred document date"},"Type":{"type":"string","description":"Type of document reference. See DataElements.DocLineReferenceTypes"},"DocumentReferredLineNumber":{"type":"string","description":"Line number of document being referred"}},"additionalProperties":false,"description":"Referece to a line in another document"},"DocumentReferenceInputDto":{"required":["DocumentReferred","DocumentReferredCUFE","IssueDate","Type"],"type":"object","properties":{"DocumentReferred":{"maxLength":100,"type":"string","description":"Document number referred. Example: PRUE98745631"},"IssueDate":{"type":"string","description":"Date when refered to invoice"},"Type":{"type":"string","description":"Type of document reference. See DataElements.DocReferenceType"},"OtherReferenceTypeId":{"maxLength":100,"type":"string","description":"If Type=OtherReference use this field to set the custom type ID"},"OtherReferenceTypeDescription":{"maxLength":100,"type":"string","description":"If Type=OtherReference use this field to set the custom description of the reference"},"DocumentReferredCUFE":{"type":"string","description":"If Type=InvoiceReference this is required; (New DIAN 2 Property)"}},"additionalProperties":false,"description":"Referece to another document"},"DocumentResultDto":{"type":"object","properties":{"Id":{"type":"string","description":"Id of the document","format":"uuid"},"CorrelationDocumentId":{"type":"string","description":"Correlation Document Id received from input{ get; set; }"},"CUFE":{"type":"string","description":"Document CUFE"},"Content":{"type":"string","description":"Document","format":"byte"},"ContentType":{"type":"string","description":"Content-type of Content"}},"additionalProperties":false},"DocumentResultDtoResultMessage":{"type":"object","properties":{"IsValid":{"type":"boolean"},"Warnings":{"type":"array","items":{"$ref":"#/components/schemas/ValidationWarning"}},"Errors":{"type":"array","items":{"$ref":"#/components/schemas/ValidationError"}},"ResultData":{"$ref":"#/components/schemas/DocumentResultDto"},"ResultCode":{"type":"integer","format":"int32"}},"additionalProperties":false},"DocumentSubTypes":{"enum":[0,1,2,3],"type":"integer","format":"int32"},"DocumentTypes":{"enum":[0,3,4,5,20,93,94,95],"type":"integer","format":"int32"},"EquivalentDocumentAdjustmentInputDto":{"required":["BillingPeriod","CorrelationDocumentId","Currency","CustomerParty","DeliveryDate","DueDate","IssueDate","IssuerParty","Lines","ReasonCredit","SerieExternalKey","TaxSubTotals","TaxTotals","Total"],"type":"object","properties":{"DeliveryTerms":{"$ref":"#/components/schemas/DeliveryTermInputDto"},"WithholdingTaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/WithholdingTaxSubTotalInputDto"},"description":"Information used to report withholding taxes sub totals (partials)"},"WithholdingTaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/WithholdingTaxTotalInputDto"},"description":"Information used to report the sum of withholding taxes by tax category"},"ReasonCredit":{"type":"string","description":"Reason Credit. The value must be one of this ['ReturnGoods', 'CancellationInvoice', 'TotalReduction', 'TotalDiscount', 'Termination', 'Others']"},"PaymentMethod":{"type":"string","description":"Bill payment method.\r\nThe value must be one of this ['Cash', 'Cheque', 'Bank', 'Transfer', 'BankDeposit']"},"IssuerParty":{"$ref":"#/components/schemas/PartyResumeInputDto"},"CustomerParty":{"$ref":"#/components/schemas/CustomerPartyInputDto"},"Lines":{"type":"array","items":{"$ref":"#/components/schemas/LineInputDto"},"description":"Sales Invoice lines"},"DocumentSubType":{"$ref":"#/components/schemas/DocumentSubTypes"},"DeliveryDate":{"type":"string","description":"Bill Delivery Date. Format {yyyy-mm-dd}"},"SeriePrefix":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the prefix must be present.\r\nSerie validations will be applied."},"SerieNumber":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the SerieNumber must be present.\r\nSerie validations will be applied."},"Notes":{"type":"array","items":{"type":"string"},"description":"Additional information: Free text on the document"},"Currency":{"type":"string","description":"Currency code. Colombia is 'COP'"},"TaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxSubTotalInputDto"},"description":"Information used to report tax sub totals (partials)"},"TaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxTotalInputDto"},"description":"Information used to report the sum of taxes by tax category"},"Total":{"$ref":"#/components/schemas/LegalMonetaryTotalInputDto"},"IssueDate":{"type":"string","description":"Date issue of the invoice for tax purposes. Format {yyyy-MM-ddTHH:mm:ss}"},"DueDate":{"type":"string","description":"Bill Due Date. Format {yyyy-mm-dd}"},"ExternalReference":{"maxLength":50,"type":"string","description":"External Reference"},"CorrelationDocumentId":{"maxLength":50,"type":"string","description":"Unique identifier for the document. This Id is used to prevent document duplication."},"SerieExternalKey":{"type":"string","description":"Unique identifier for the serie. This identifier is generated by the system when the serie is created\r\nand must be sent back on document creation to select wich serie will be used"},"AdditionalNotificationEmails":{"type":"array","items":{"type":"string"},"description":"List of adicional emails to be notified"},"DocumentReferences":{"type":"array","items":{"$ref":"#/components/schemas/DocumentReferenceInputDto"},"description":"Document references"},"GraphicalRepresentationCustomFields":{"type":"array","items":{"$ref":"#/components/schemas/CustomFieldInputDto"},"description":"Document's Graphical Representation Custom Fields"},"Attachments":{"type":"array","items":{"$ref":"#/components/schemas/DocumentAttachmentInputDto"},"description":"Document downloadable attachments"},"PdfData":{"$ref":"#/components/schemas/OutboundDocumentPdfInputDto"},"PrepaidPayments":{"type":"array","items":{"$ref":"#/components/schemas/PrepaidPaymentInputDto"},"description":"Information on the prepaid amount and date"},"PaymentExchangeRate":{"$ref":"#/components/schemas/PaymentExchangeRateInputDto"},"PaymentMeans":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMeanInputDto"},"description":"Document payment means"},"PaymentTerms":{"type":"array","items":{"$ref":"#/components/schemas/PaymentTermInputDto"},"description":"Document payment terms"},"AllowanceCharges":{"type":"array","items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Document allowances and charges"},"OperationType":{"type":"string","description":"Operation type. If not present, the default is Standard; (New DIAN 2 Property)"},"AdditionalCustomers":{"type":"array","items":{"$ref":"#/components/schemas/AdditionalCustomerPartyInputDto"},"description":"Additional Customers"},"HealthcareData":{"$ref":"#/components/schemas/HealthcareInputDto"},"BillingPeriod":{"$ref":"#/components/schemas/PeriodInputDto"},"ExistingCufe":{"type":"string","description":"CUFE extracted from XML"}},"additionalProperties":false,"description":"Represents a Equivalent Document Note input DTO."},"EquivalentDocumentDebitNoteInputDto":{"required":["BillingPeriod","CorrelationDocumentId","Currency","CustomerParty","DeliveryDate","DueDate","IssueDate","IssuerParty","Lines","ReasonDebit","SerieExternalKey","TaxSubTotals","TaxTotals","Total"],"type":"object","properties":{"ReasonDebit":{"type":"string","description":"Reason Debit. The value must be one of this ['Interests', 'ExpensesReceivable', 'AmountChange']"},"PaymentMethod":{"type":"string","description":"Bill payment method.\r\nThe value must be one of this ['Cash', 'Cheque', 'Bank', 'Transfer', 'BankDeposit']"},"IssuerParty":{"$ref":"#/components/schemas/PartyResumeInputDto"},"CustomerParty":{"$ref":"#/components/schemas/CustomerPartyInputDto"},"Lines":{"type":"array","items":{"$ref":"#/components/schemas/LineInputDto"},"description":"Sales Invoice lines"},"DocumentSubType":{"$ref":"#/components/schemas/DocumentSubTypes"},"DeliveryDate":{"type":"string","description":"Bill Delivery Date. Format {yyyy-mm-dd}"},"SeriePrefix":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the prefix must be present.\r\nSerie validations will be applied."},"SerieNumber":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the SerieNumber must be present.\r\nSerie validations will be applied."},"Notes":{"type":"array","items":{"type":"string"},"description":"Additional information: Free text on the document"},"Currency":{"type":"string","description":"Currency code. Colombia is 'COP'"},"TaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxSubTotalInputDto"},"description":"Information used to report tax sub totals (partials)"},"TaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxTotalInputDto"},"description":"Information used to report the sum of taxes by tax category"},"Total":{"$ref":"#/components/schemas/LegalMonetaryTotalInputDto"},"IssueDate":{"type":"string","description":"Date issue of the invoice for tax purposes. Format {yyyy-MM-ddTHH:mm:ss}"},"DueDate":{"type":"string","description":"Bill Due Date. Format {yyyy-mm-dd}"},"ExternalReference":{"maxLength":50,"type":"string","description":"External Reference"},"CorrelationDocumentId":{"maxLength":50,"type":"string","description":"Unique identifier for the document. This Id is used to prevent document duplication."},"SerieExternalKey":{"type":"string","description":"Unique identifier for the serie. This identifier is generated by the system when the serie is created\r\nand must be sent back on document creation to select wich serie will be used"},"AdditionalNotificationEmails":{"type":"array","items":{"type":"string"},"description":"List of adicional emails to be notified"},"DocumentReferences":{"type":"array","items":{"$ref":"#/components/schemas/DocumentReferenceInputDto"},"description":"Document references"},"GraphicalRepresentationCustomFields":{"type":"array","items":{"$ref":"#/components/schemas/CustomFieldInputDto"},"description":"Document's Graphical Representation Custom Fields"},"Attachments":{"type":"array","items":{"$ref":"#/components/schemas/DocumentAttachmentInputDto"},"description":"Document downloadable attachments"},"PdfData":{"$ref":"#/components/schemas/OutboundDocumentPdfInputDto"},"PrepaidPayments":{"type":"array","items":{"$ref":"#/components/schemas/PrepaidPaymentInputDto"},"description":"Information on the prepaid amount and date"},"PaymentExchangeRate":{"$ref":"#/components/schemas/PaymentExchangeRateInputDto"},"PaymentMeans":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMeanInputDto"},"description":"Document payment means"},"PaymentTerms":{"type":"array","items":{"$ref":"#/components/schemas/PaymentTermInputDto"},"description":"Document payment terms"},"AllowanceCharges":{"type":"array","items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Document allowances and charges"},"OperationType":{"type":"string","description":"Operation type. If not present, the default is Standard; (New DIAN 2 Property)"},"AdditionalCustomers":{"type":"array","items":{"$ref":"#/components/schemas/AdditionalCustomerPartyInputDto"},"description":"Additional Customers"},"HealthcareData":{"$ref":"#/components/schemas/HealthcareInputDto"},"BillingPeriod":{"$ref":"#/components/schemas/PeriodInputDto"},"ExistingCufe":{"type":"string","description":"CUFE extracted from XML"}},"additionalProperties":false,"description":"Represents an Equivalent Document Debit Note input DTO."},"ExportInvoiceAdditionalDataInputDto":{"type":"object","properties":{"Interoperabilidad":{"type":"array","items":{"$ref":"#/components/schemas/InteroperabilidadInputDto"},"description":"Interoperabilidad"},"TotalesCop":{"$ref":"#/components/schemas/TotalesCopInputDto"}},"additionalProperties":false},"ExtendedLineInputDto":{"required":["GrossAmount","InvoicePeriod","Item","NetAmount","Number","Quantity","QuantityUnitOfMeasure","UnitPrice"],"type":"object","properties":{"InvoicePeriod":{"$ref":"#/components/schemas/InvoicePeriodInputDto"},"Number":{"type":"string","description":"Line number"},"AccountingCostCode":{"maxLength":20,"type":"string","description":"The Buyer's accounting code applied to the line"},"Quantity":{"type":"string","description":"Item quantity"},"QuantityUnitOfMeasure":{"type":"string","description":"Unit of measure of the bill item"},"TaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxSubTotalInputDto"},"description":"Information used to report tax sub totals (partials)"},"TaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxTotalInputDto"},"description":"Information used to report the sum of taxes by tax category"},"ExcludeVat":{"type":"string","description":"True if a line is tax exempted. Otherwise False."},"WithholdingTaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/WithholdingTaxSubTotalInputDto"},"description":"Information used to report withholding taxes sub totals (partials)"},"WithholdingTaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/WithholdingTaxTotalInputDto"},"description":"Information used to report the sum of withholding taxes by tax category"},"UnitPrice":{"type":"string","description":"Unit price of item"},"GrossAmount":{"type":"string","description":"Gross amount. Quantity x unit price. Exclude allowances and charges"},"NetAmount":{"type":"string","description":"Net amount. Quantity x unit price. Include allowances and charges"},"AllowanceCharges":{"type":"array","items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Allowances and Charges applied to the line"},"DocumentReferences":{"type":"array","items":{"$ref":"#/components/schemas/DocumentReferenceInputDto"},"description":"Documents refered applied to the line"},"DocumentLineReferences":{"type":"array","items":{"$ref":"#/components/schemas/DocumentLineReferenceInputDto"},"description":"Document lines references applied to the line"},"Item":{"$ref":"#/components/schemas/ItemInputDto"},"Note":{"maxLength":5000,"type":"string","description":"Line's note"},"Delivery":{"$ref":"#/components/schemas/DeliveryInputDto"},"Transport":{"$ref":"#/components/schemas/TransportInputDto"}},"additionalProperties":false},"FileUploadInputDto":{"type":"object","properties":{"ContentType":{"type":"string","description":"File content type"},"Filename":{"type":"string","description":"Filename"},"Content":{"type":"string","description":"File content. \r\nIf file is a text file, the resultant byte[] should be converted using UTF-8","format":"byte"}},"additionalProperties":false,"description":"Data structure to upload a file"},"GasAndOilInputDto":{"type":"object","properties":{"PropertyName":{"type":"string"},"PropertyValue":{"type":"string"}},"additionalProperties":false},"GuidResultMessage":{"type":"object","properties":{"IsValid":{"type":"boolean"},"Warnings":{"type":"array","items":{"$ref":"#/components/schemas/ValidationWarning"}},"Errors":{"type":"array","items":{"$ref":"#/components/schemas/ValidationError"}},"ResultData":{"type":"string","format":"uuid"},"ResultCode":{"type":"integer","format":"int32"}},"additionalProperties":false},"HealthcareCollectionInputDto":{"required":["Name"],"type":"object","properties":{"Name":{"type":"string","description":"The collection name will be setted on schemeName attribute of Collection Xml tag."},"NameValues":{"type":"array","items":{"$ref":"#/components/schemas/HealthcareNameValueInputDto"},"description":"The collection of Name/Values pairs.\r\nFor the values of the identifiers (Keys/Names), refer to official healthcare document."}},"additionalProperties":false,"description":"Represents a collection on mapped Xml document."},"HealthcareInputDto":{"type":"object","properties":{"Name":{"type":"string","description":"Type"},"Value":{"type":"string","description":"Resolutions"},"Collections":{"type":"array","items":{"$ref":"#/components/schemas/HealthcareCollectionInputDto"},"description":"Collections. Mapped to Collection's tag on final XML."}},"additionalProperties":false,"description":"Healthcare services information"},"HealthcareNameValueInputDto":{"required":["Name"],"type":"object","properties":{"Name":{"type":"string","description":"This will be mapped to Name in AdditionaInformation"},"Value":{"type":"string","description":"This will be mapped to Value in AdditionaInformation"},"CodeListName":{"type":"string","description":"If filled, this will be mapped to the attribute schemeName of the Value Xml tag, in AdditionaInformation"},"CodeListCode":{"type":"string","description":"If filled, this will be mapped to the attribute schemeID of the Value Xml tag, in AdditionaInformation"}},"additionalProperties":false,"description":"Key value pair. This will be mapped to AdditionaInformation."},"IdentificationInputDto":{"required":["CountryCode","DocumentNumber","DocumentType"],"type":"object","properties":{"DocumentNumber":{"maxLength":24,"type":"string"},"DocumentType":{"type":"string"},"CountryCode":{"type":"string"},"CheckDigit":{"maxLength":1,"type":"string"}},"additionalProperties":false},"InteroperabilidadInputDto":{"required":["Name","Value"],"type":"object","properties":{"Name":{"maxLength":100,"type":"string"},"Value":{"maxLength":100,"type":"string"}},"additionalProperties":false},"InvoicePeriodInputDto":{"required":["Description","DescriptionCode","From"],"type":"object","properties":{"From":{"type":"string","description":"From. Date Format {yyyy-mm-dd}"},"DescriptionCode":{"type":"string","description":"Invoice Period Description COde"},"Description":{"type":"string","description":"Invoice Period Description"}},"additionalProperties":false},"ItemInputDto":{"required":["Description","IncomePurposeCode"],"type":"object","properties":{"Gtin":{"maxLength":50,"type":"string","description":"Item identification GTIN"},"BuyerItemIdentification":{"maxLength":50,"type":"string","description":"Item code assigned by buyer"},"SellerItemIdentification":{"maxLength":50,"type":"string","description":"Item code assigned by seller = SKU, Mandatory if Seller Contract Code is filled"},"SellerContractCode":{"maxLength":40,"type":"string","description":"'Mandato' contract identifier"},"SerialNumber":{"maxLength":20,"type":"string","description":"SerialNumber"},"Description":{"maxLength":300,"minLength":5,"type":"string","description":"Item description"},"BrandName":{"maxLength":20,"type":"string","description":"Brand name"},"ModelName":{"maxLength":20,"type":"string","description":"Model name"},"PackQuantity":{"maxLength":19,"type":"string","description":"Number of packages"},"PackUnitOfMeasure":{"type":"string","description":"Unit of measure"},"UnitsPerPackage":{"maxLength":19,"type":"string","description":"Number of items per package"},"GasAndOilProperties":{"type":"array","items":{"$ref":"#/components/schemas/GasAndOilInputDto"}},"Height":{"maxLength":19,"type":"string","description":"Height of item"},"HeightUnitOfMeasure":{"type":"string","description":"Unit of measure used.\r\nhttp://www.datypic.com/sc/ubl20/a-unitCode-4.html"},"Width":{"maxLength":19,"type":"string","description":"Width of item"},"WidthUnitOfMeasure":{"type":"string","description":"Unit of measure used.\r\nhttp://www.datypic.com/sc/ubl20/a-unitCode-4.html"},"Depth":{"maxLength":19,"type":"string","description":"Depth of item"},"DepthUnitOfMeasure":{"type":"string","description":"Unit of measure used.\r\nhttp://www.datypic.com/sc/ubl20/a-unitCode-4.html"},"Volume":{"maxLength":19,"type":"string","description":"Volume of item"},"VolumeUnitOfMeasure":{"type":"string","description":"Unit of measure used.\r\nhttp://www.datypic.com/sc/ubl20/a-unitCode-4.html"},"LotNumber":{"maxLength":20,"type":"string","description":"lot number"},"ExpiryDate":{"type":"string","description":"Expiry Date"},"CarIndustry":{"$ref":"#/components/schemas/CarIndustryInputDto"},"MandatedAgent":{"$ref":"#/components/schemas/MandatedAgentInputDto"},"IncomePurposeCode":{"type":"string","description":"Income Purpose Code"}},"additionalProperties":false},"LegalMonetaryTotalInputDto":{"required":["GrossAmount","PayableAmount","TaxableAmount","TotalBillableAmount"],"type":"object","properties":{"GrossAmount":{"maxLength":22,"type":"string","description":"Sum of gross amount of all lines, before taxes"},"TotalBillableAmount":{"maxLength":19,"type":"string","description":"(New DIAN 2 Property)"},"TotalBillableRoundingAmount":{"maxLength":19,"type":"string","description":"(New DIAN 2 Property)"},"PayableAmount":{"maxLength":22,"type":"string","description":"Value to pay: Gross amount + Total taxes - taxes withheld"},"TaxableAmount":{"maxLength":22,"type":"string","description":"Base amount for tax calculation (Gross amount + Charges - Allawances)"},"AllowancesTotalAmount":{"maxLength":22,"type":"string","description":"Sum of all allwances"},"ChargesTotalAmount":{"maxLength":22,"type":"string","description":"Sum of all charges"},"PrePaidTotalAmount":{"maxLength":22,"type":"string","description":"Sum of all pre paid values"}},"additionalProperties":false},"LineInputDto":{"required":["GrossAmount","Item","NetAmount","Number","Quantity","QuantityUnitOfMeasure","UnitPrice"],"type":"object","properties":{"Number":{"type":"string","description":"Line number"},"AccountingCostCode":{"maxLength":20,"type":"string","description":"The Buyer's accounting code applied to the line"},"Quantity":{"type":"string","description":"Item quantity"},"QuantityUnitOfMeasure":{"type":"string","description":"Unit of measure of the bill item"},"TaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxSubTotalInputDto"},"description":"Information used to report tax sub totals (partials)"},"TaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxTotalInputDto"},"description":"Information used to report the sum of taxes by tax category"},"ExcludeVat":{"type":"string","description":"True if a line is tax exempted. Otherwise False."},"WithholdingTaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/WithholdingTaxSubTotalInputDto"},"description":"Information used to report withholding taxes sub totals (partials)"},"WithholdingTaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/WithholdingTaxTotalInputDto"},"description":"Information used to report the sum of withholding taxes by tax category"},"UnitPrice":{"type":"string","description":"Unit price of item"},"GrossAmount":{"type":"string","description":"Gross amount. Quantity x unit price. Exclude allowances and charges"},"NetAmount":{"type":"string","description":"Net amount. Quantity x unit price. Include allowances and charges"},"AllowanceCharges":{"type":"array","items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Allowances and Charges applied to the line"},"DocumentReferences":{"type":"array","items":{"$ref":"#/components/schemas/DocumentReferenceInputDto"},"description":"Documents refered applied to the line"},"DocumentLineReferences":{"type":"array","items":{"$ref":"#/components/schemas/DocumentLineReferenceInputDto"},"description":"Document lines references applied to the line"},"Item":{"$ref":"#/components/schemas/ItemInputDto"},"Note":{"maxLength":5000,"type":"string","description":"Line's note"},"Delivery":{"$ref":"#/components/schemas/DeliveryInputDto"},"Transport":{"$ref":"#/components/schemas/TransportInputDto"}},"additionalProperties":false,"description":"Document line"},"MandatedAgentInputDto":{"required":["Identification"],"type":"object","properties":{"Identification":{"$ref":"#/components/schemas/IdentificationInputDto"}},"additionalProperties":false},"OutboundDocumentPdfInputDto":{"type":"object","properties":{"Pdf":{"maxLength":5000000,"type":"string","description":"Graphical representation of the document in pdf format","format":"byte"},"PdfTemplateKey":{"type":"string","description":"Template key"}},"additionalProperties":false},"POSEquivalentDocumentInputDto":{"required":["BillingPeriod","CorrelationDocumentId","Currency","CustomerParty","DeliveryDate","DueDate","IssueDate","IssuerParty","Lines","SerieExternalKey","TaxSubTotals","TaxTotals","Total"],"type":"object","properties":{"DeliveryTerms":{"$ref":"#/components/schemas/DeliveryTermInputDto"},"WithholdingTaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/WithholdingTaxSubTotalInputDto"},"description":"Information used to report withholding taxes sub totals (partials)"},"WithholdingTaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/WithholdingTaxTotalInputDto"},"description":"Information used to report the sum of withholding taxes by tax category"},"BuyerBenefits":{"$ref":"#/components/schemas/BuyerBenefitsInputDto"},"POSInformation":{"$ref":"#/components/schemas/POSInformationInputDto"},"SoftwareMaker":{"$ref":"#/components/schemas/SoftwareMakerInputDto"},"IssuerParty":{"$ref":"#/components/schemas/PartyResumeInputDto"},"CustomerParty":{"$ref":"#/components/schemas/CustomerPartyInputDto"},"Lines":{"type":"array","items":{"$ref":"#/components/schemas/LineInputDto"},"description":"Sales Invoice lines"},"DocumentSubType":{"$ref":"#/components/schemas/DocumentSubTypes"},"DeliveryDate":{"type":"string","description":"Bill Delivery Date. Format {yyyy-mm-dd}"},"SeriePrefix":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the prefix must be present.\r\nSerie validations will be applied."},"SerieNumber":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the SerieNumber must be present.\r\nSerie validations will be applied."},"Notes":{"type":"array","items":{"type":"string"},"description":"Additional information: Free text on the document"},"Currency":{"type":"string","description":"Currency code. Colombia is 'COP'"},"TaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxSubTotalInputDto"},"description":"Information used to report tax sub totals (partials)"},"TaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxTotalInputDto"},"description":"Information used to report the sum of taxes by tax category"},"Total":{"$ref":"#/components/schemas/LegalMonetaryTotalInputDto"},"IssueDate":{"type":"string","description":"Date issue of the invoice for tax purposes. Format {yyyy-MM-ddTHH:mm:ss}"},"DueDate":{"type":"string","description":"Bill Due Date. Format {yyyy-mm-dd}"},"ExternalReference":{"maxLength":50,"type":"string","description":"External Reference"},"CorrelationDocumentId":{"maxLength":50,"type":"string","description":"Unique identifier for the document. This Id is used to prevent document duplication."},"SerieExternalKey":{"type":"string","description":"Unique identifier for the serie. This identifier is generated by the system when the serie is created\r\nand must be sent back on document creation to select wich serie will be used"},"AdditionalNotificationEmails":{"type":"array","items":{"type":"string"},"description":"List of adicional emails to be notified"},"DocumentReferences":{"type":"array","items":{"$ref":"#/components/schemas/DocumentReferenceInputDto"},"description":"Document references"},"GraphicalRepresentationCustomFields":{"type":"array","items":{"$ref":"#/components/schemas/CustomFieldInputDto"},"description":"Document's Graphical Representation Custom Fields"},"Attachments":{"type":"array","items":{"$ref":"#/components/schemas/DocumentAttachmentInputDto"},"description":"Document downloadable attachments"},"PdfData":{"$ref":"#/components/schemas/OutboundDocumentPdfInputDto"},"PrepaidPayments":{"type":"array","items":{"$ref":"#/components/schemas/PrepaidPaymentInputDto"},"description":"Information on the prepaid amount and date"},"PaymentExchangeRate":{"$ref":"#/components/schemas/PaymentExchangeRateInputDto"},"PaymentMeans":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMeanInputDto"},"description":"Document payment means"},"PaymentTerms":{"type":"array","items":{"$ref":"#/components/schemas/PaymentTermInputDto"},"description":"Document payment terms"},"AllowanceCharges":{"type":"array","items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Document allowances and charges"},"OperationType":{"type":"string","description":"Operation type. If not present, the default is Standard; (New DIAN 2 Property)"},"AdditionalCustomers":{"type":"array","items":{"$ref":"#/components/schemas/AdditionalCustomerPartyInputDto"},"description":"Additional Customers"},"HealthcareData":{"$ref":"#/components/schemas/HealthcareInputDto"},"BillingPeriod":{"$ref":"#/components/schemas/PeriodInputDto"},"ExistingCufe":{"type":"string","description":"CUFE extracted from XML"}},"additionalProperties":false,"description":"Represents a POS Equivalent Document input DTO."},"POSInformationInputDto":{"required":["InventoryBoxLocation","InventoryBoxPlate","InventoryBoxType","SalesCode","SalesSubTotal","VendorName"],"type":"object","properties":{"InventoryBoxPlate":{"type":"string"},"InventoryBoxLocation":{"type":"string"},"VendorName":{"type":"string"},"InventoryBoxType":{"type":"string"},"SalesCode":{"type":"string"},"SalesSubTotal":{"type":"string"}},"additionalProperties":false},"PartyFullInputDto":{"required":["Address","Identification","LegalType","ResponsabilityTypes","TaxScheme"],"type":"object","properties":{"Telephone":{"maxLength":20,"type":"string","description":"Telefone"},"TeleFax":{"type":"string","description":"TeleFax"},"DocumentContacts":{"type":"array","items":{"$ref":"#/components/schemas/DocumentContactInputDto"},"description":"Party contacts related to current document"},"Gln":{"maxLength":13,"type":"string","description":"Party GLN"},"LegalType":{"type":"string","description":"Document type identification. The value must be one of this: ['Natural', 'Legal']"},"Identification":{"$ref":"#/components/schemas/IdentificationInputDto"},"Name":{"maxLength":450,"type":"string","description":"Name of commercial establishment. \r\nRequired if LegalType = Legal"},"WebsiteUrl":{"maxLength":250,"type":"string","description":"Website url"},"Email":{"maxLength":200,"type":"string","description":"Email address"},"Address":{"$ref":"#/components/schemas/AddressInputDto"},"TaxScheme":{"type":"string","description":"Describe the tax scheme."},"Person":{"$ref":"#/components/schemas/PersonInputDto"},"Industry":{"maxLength":100,"type":"string","description":"Industry"},"ResponsabilityTypes":{"type":"array","items":{"type":"string"},"description":"Responsability Types; (New DIAN 2 Property)"}},"additionalProperties":false},"PartyResumeInputDto":{"required":["Identification"],"type":"object","properties":{"DocumentContacts":{"type":"array","items":{"$ref":"#/components/schemas/DocumentContactInputDto"},"description":"Party contacts related to current document"},"Identification":{"$ref":"#/components/schemas/IdentificationInputDto"}},"additionalProperties":false},"PaymentExchangeRateInputDto":{"required":["Date","DestinyCurrency","OriginCurrency","Rate"],"type":"object","properties":{"OriginCurrency":{"type":"string"},"DestinyCurrency":{"type":"string"},"Rate":{"type":"string"},"Date":{"type":"string"},"SourceCurrencyBaseRate":{"type":"string"}},"additionalProperties":false},"PaymentInfo":{"type":"object","properties":{"PaymentCorrelationId":{"type":"string","format":"uuid"},"IsPaid":{"type":"boolean"}},"additionalProperties":false},"PaymentMeanInputDto":{"required":["Code","Mean"],"type":"object","properties":{"Code":{"type":"string","description":"UN/ECE 4461 http://www.unece.org/trade/untdid/d03a/tred/tred4461.htm\r\nThis is a partial list; (Updated DIAN 2 Property)"},"Mean":{"type":"string","description":"(New DIAN 2 Property)"},"ChannelCode":{"type":"string","description":"DataElements.PaymentChannelType"},"DueDate":{"type":"string"},"PaymentInstruction":{"type":"string","description":"DataElements.PaymentInstructionType"},"DaysTypeToPay":{"type":"string","description":"DataElements.PaymentDaysType"},"BankGuarantee":{"maxLength":200,"type":"string"},"BankTransferNumber":{"maxLength":100,"type":"string"},"BankId":{"maxLength":100,"type":"string"},"BankName":{"maxLength":100,"type":"string"}},"additionalProperties":false},"PaymentTermInputDto":{"required":["Code","OrderTime"],"type":"object","properties":{"Code":{"type":"string"},"OrderTime":{"type":"string"},"Discount":{"type":"string","description":"Settlement Discount Percent"},"Penalty":{"type":"string","description":"Penalty Surcharge Percent"},"Amount":{"type":"string","description":"Amount"}},"additionalProperties":false},"PeriodInputDto":{"required":["From","To"],"type":"object","properties":{"From":{"type":"string","description":"From. Date Format {yyyy-mm-dd}"},"To":{"type":"string","description":"To. Date Format {yyyy-mm-dd}"}},"additionalProperties":false,"description":"Represents a time interval."},"PersonInputDto":{"required":["FamilyName","FirstName"],"type":"object","properties":{"FirstName":{"maxLength":30,"type":"string","description":"First Name"},"MiddleName":{"maxLength":30,"type":"string","description":"Middle Name"},"FamilyName":{"maxLength":30,"type":"string","description":"Family Name"},"Identification":{"$ref":"#/components/schemas/IdentificationInputDto"},"JobTitle":{"type":"string"},"OrganizationDepartment":{"type":"string"}},"additionalProperties":false},"PrepaidPaymentInputDto":{"required":["PaidAmount","PaidDate"],"type":"object","properties":{"ReceivedDate":{"type":"string","description":"The date the prepayment was received"},"PaidDate":{"type":"string","description":"The date the prepayment was made"},"PaidAmount":{"type":"string","description":"The total paid amount for the given prepaid"}},"additionalProperties":false,"description":"Object representing a Prepaid payment"},"QualificationDocumentResultDto":{"type":"object","properties":{"Id":{"type":"string","description":"Id of the document","format":"uuid"},"ZipKey":{"type":"string","description":"Key to use when getting the document status"}},"additionalProperties":false},"QualificationDocumentResultDtoResultMessage":{"type":"object","properties":{"IsValid":{"type":"boolean"},"Warnings":{"type":"array","items":{"$ref":"#/components/schemas/ValidationWarning"}},"Errors":{"type":"array","items":{"$ref":"#/components/schemas/ValidationError"}},"ResultData":{"$ref":"#/components/schemas/QualificationDocumentResultDto"},"ResultCode":{"type":"integer","format":"int32"}},"additionalProperties":false},"QualificationSerieCreateInputDto":{"required":["Name","StartValue","TestSetId","ValidFrom"],"type":"object","properties":{"Name":{"maxLength":50,"type":"string","description":"Serie name"},"AuthorizationNumber":{"type":"string","description":"Serie authorization number (assigned by DIAN)"},"Prefix":{"maxLength":4,"type":"string","description":"Serie prefix"},"ValidFrom":{"type":"string","description":"Serie is valid after this date, inclusive","format":"date-time"},"ValidTo":{"type":"string","description":"Serie is valid until this date, inclusive","format":"date-time"},"StartValue":{"type":"integer","description":"Serie first value","format":"int64"},"EndValue":{"type":"integer","description":"Serie last value","format":"int64"},"EffectiveValue":{"type":"integer","description":"The first created document will start with this especific value","format":"int64"},"TechnicalKey":{"type":"string","description":"Serie technical key. (assigned by DIAN)"},"TestSetId":{"type":"string","description":"Id for the DIAN test set"}},"additionalProperties":false},"QualificationSerieUpdateInputDto":{"required":["Name","StartValue"],"type":"object","properties":{"Name":{"maxLength":50,"type":"string","description":"Serie name"},"AuthorizationNumber":{"type":"string","description":"Serie authorization number (assigned by DIAN)"},"Prefix":{"maxLength":4,"type":"string","description":"Serie prefix"},"ValidFrom":{"type":"string","description":"Serie is valid after this date, inclusive","format":"date-time"},"ValidTo":{"type":"string","description":"Serie is valid until this date, inclusive","format":"date-time"},"StartValue":{"type":"integer","description":"Serie first value","format":"int64"},"EndValue":{"type":"integer","description":"Serie last value","format":"int64"},"EffectiveValue":{"type":"integer","description":"The first created document will start with this especific value (required if auto-incremented)","format":"int64"},"TechnicalKey":{"type":"string","description":"Serie technical key. (assigned by DIAN)"},"TestSetId":{"type":"string","description":"Id for the DIAN test set"}},"additionalProperties":false},"RejectDocumentInputDto":{"required":["ReasonCode"],"type":"object","properties":{"Reason":{"maxLength":500,"type":"string"},"ReasonCode":{"type":"string"}},"additionalProperties":false},"ReplaceDocumentInputDto":{"type":"object","properties":{"DocumentId":{"type":"string","format":"uuid"},"Content":{"type":"string","format":"byte"}},"additionalProperties":false},"SalesInvoiceInputDto":{"required":["BillingPeriod","CorrelationDocumentId","Currency","CustomerParty","DeliveryDate","DueDate","IssueDate","IssuerParty","Lines","SerieExternalKey","TaxSubTotals","TaxTotals","Total"],"type":"object","properties":{"DeliveryTerms":{"$ref":"#/components/schemas/DeliveryTermInputDto"},"WithholdingTaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/WithholdingTaxSubTotalInputDto"},"description":"Information used to report withholding taxes sub totals (partials)"},"WithholdingTaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/WithholdingTaxTotalInputDto"},"description":"Information used to report the sum of withholding taxes by tax category"},"ExportInvoiceAdditionalData":{"$ref":"#/components/schemas/ExportInvoiceAdditionalDataInputDto"},"IssuerParty":{"$ref":"#/components/schemas/PartyResumeInputDto"},"CustomerParty":{"$ref":"#/components/schemas/CustomerPartyInputDto"},"Lines":{"type":"array","items":{"$ref":"#/components/schemas/LineInputDto"},"description":"Sales Invoice lines"},"DocumentSubType":{"$ref":"#/components/schemas/DocumentSubTypes"},"DeliveryDate":{"type":"string","description":"Bill Delivery Date. Format {yyyy-mm-dd}"},"SeriePrefix":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the prefix must be present.\r\nSerie validations will be applied."},"SerieNumber":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the SerieNumber must be present.\r\nSerie validations will be applied."},"Notes":{"type":"array","items":{"type":"string"},"description":"Additional information: Free text on the document"},"Currency":{"type":"string","description":"Currency code. Colombia is 'COP'"},"TaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxSubTotalInputDto"},"description":"Information used to report tax sub totals (partials)"},"TaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxTotalInputDto"},"description":"Information used to report the sum of taxes by tax category"},"Total":{"$ref":"#/components/schemas/LegalMonetaryTotalInputDto"},"IssueDate":{"type":"string","description":"Date issue of the invoice for tax purposes. Format {yyyy-MM-ddTHH:mm:ss}"},"DueDate":{"type":"string","description":"Bill Due Date. Format {yyyy-mm-dd}"},"ExternalReference":{"maxLength":50,"type":"string","description":"External Reference"},"CorrelationDocumentId":{"maxLength":50,"type":"string","description":"Unique identifier for the document. This Id is used to prevent document duplication."},"SerieExternalKey":{"type":"string","description":"Unique identifier for the serie. This identifier is generated by the system when the serie is created\r\nand must be sent back on document creation to select wich serie will be used"},"AdditionalNotificationEmails":{"type":"array","items":{"type":"string"},"description":"List of adicional emails to be notified"},"DocumentReferences":{"type":"array","items":{"$ref":"#/components/schemas/DocumentReferenceInputDto"},"description":"Document references"},"GraphicalRepresentationCustomFields":{"type":"array","items":{"$ref":"#/components/schemas/CustomFieldInputDto"},"description":"Document's Graphical Representation Custom Fields"},"Attachments":{"type":"array","items":{"$ref":"#/components/schemas/DocumentAttachmentInputDto"},"description":"Document downloadable attachments"},"PdfData":{"$ref":"#/components/schemas/OutboundDocumentPdfInputDto"},"PrepaidPayments":{"type":"array","items":{"$ref":"#/components/schemas/PrepaidPaymentInputDto"},"description":"Information on the prepaid amount and date"},"PaymentExchangeRate":{"$ref":"#/components/schemas/PaymentExchangeRateInputDto"},"PaymentMeans":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMeanInputDto"},"description":"Document payment means"},"PaymentTerms":{"type":"array","items":{"$ref":"#/components/schemas/PaymentTermInputDto"},"description":"Document payment terms"},"AllowanceCharges":{"type":"array","items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Document allowances and charges"},"OperationType":{"type":"string","description":"Operation type. If not present, the default is Standard; (New DIAN 2 Property)"},"AdditionalCustomers":{"type":"array","items":{"$ref":"#/components/schemas/AdditionalCustomerPartyInputDto"},"description":"Additional Customers"},"HealthcareData":{"$ref":"#/components/schemas/HealthcareInputDto"},"BillingPeriod":{"$ref":"#/components/schemas/PeriodInputDto"},"ExistingCufe":{"type":"string","description":"CUFE extracted from XML"}},"additionalProperties":false,"description":"Represents an Invoice input DTO."},"SendEmailNotificationInputDto":{"required":["DocumentId","Email"],"type":"object","properties":{"DocumentId":{"type":"string","description":"Document id","format":"uuid"},"Email":{"type":"string","description":"E-mail"}},"additionalProperties":false},"SerieCreateInputDto":{"required":["AutoIncrement","DocumentType","Name","StartValue","ValidFrom"],"type":"object","properties":{"Name":{"maxLength":50,"type":"string","description":"Serie name"},"AuthorizationNumber":{"type":"string","description":"Serie authorization number (assigned by DIAN)"},"Prefix":{"maxLength":4,"type":"string","description":"Serie prefix"},"ValidFrom":{"type":"string","description":"Serie is valid after this date, inclusive","format":"date-time"},"ValidTo":{"type":"string","description":"Serie is valid until this date, inclusive","format":"date-time"},"StartValue":{"type":"integer","description":"Serie first value","format":"int64"},"EndValue":{"type":"integer","description":"Serie last value","format":"int64"},"EfectiveValue":{"type":"integer","description":"The first created document will start with this especific value (required if auto-incremented)","format":"int64"},"DocumentType":{"type":"string","description":"Document type of the serie. See DataElements.SerieDocumentTypes"},"TechnicalKey":{"type":"string","description":"Serie technical key. (assigned by DIAN)"},"AutoIncrement":{"type":"string","description":"If false, the serie number is not managed by application.\r\nThe document number will not be assigned by this software.\r\nHowever, the serie range, prefix and range will be validated\r\nDefault is true."}},"additionalProperties":false},"SerieUpdateInputDto":{"required":["AutoIncrement","DocumentType","Name","StartValue","ValidFrom"],"type":"object","properties":{"Name":{"maxLength":50,"type":"string","description":"Serie name"},"AuthorizationNumber":{"type":"string","description":"Serie authorization number (assigned by DIAN)"},"Prefix":{"maxLength":4,"type":"string","description":"Serie prefix"},"ValidFrom":{"type":"string","description":"Serie is valid after this date, inclusive","format":"date-time"},"ValidTo":{"type":"string","description":"Serie is valid until this date, inclusive","format":"date-time"},"StartValue":{"type":"integer","description":"Serie first value","format":"int64"},"EndValue":{"type":"integer","description":"Serie last value","format":"int64"},"EfectiveValue":{"type":"integer","description":"The first created document will start with this especific value (required if auto-incremented)","format":"int64"},"DocumentType":{"type":"string","description":"Document type of the serie [SalesInvoice, CreditNote, DebitNote, ...]. See DataElements.DocumentType"},"TechnicalKey":{"type":"string","description":"Serie technical key. (assigned by DIAN)"},"AutoIncrement":{"type":"string","description":"If false, the serie number is not managed by application.\r\nThe document number will not be assigned by this software.\r\nHowever, the serie range, prefix and range will be validated\r\nDefault is true."}},"additionalProperties":false},"SoftwareMakerInputDto":{"required":["LegalName","NameAndLastname","SoftwareName"],"type":"object","properties":{"LegalName":{"type":"string"},"NameAndLastname":{"type":"string"},"SoftwareName":{"type":"string"}},"additionalProperties":false},"StringResultMessage":{"type":"object","properties":{"IsValid":{"type":"boolean"},"Warnings":{"type":"array","items":{"$ref":"#/components/schemas/ValidationWarning"}},"Errors":{"type":"array","items":{"$ref":"#/components/schemas/ValidationError"}},"ResultData":{"type":"string"},"ResultCode":{"type":"integer","format":"int32"}},"additionalProperties":false},"SupportDocumentAdjustmentInputDto":{"required":["BillingPeriod","CorrelationDocumentId","Currency","CustomerParty","DeliveryDate","DueDate","IssueDate","Lines","ReasonCredit","SerieExternalKey","SupplierParty","TaxSubTotals","TaxTotals","Total"],"type":"object","properties":{"ReasonCredit":{"type":"string","description":"Reason Credit. The value must be one of this ['ReturnGoods', 'CancellationInvoice', 'TotalReduction', 'TotalDiscount', 'Termination', 'Others']"},"PaymentMethod":{"type":"string","description":"Bill payment method.\r\nThe value must be one of this ['Cash', 'Cheque', 'Bank', 'Transfer', 'BankDeposit']"},"SupplierParty":{"$ref":"#/components/schemas/PartyFullInputDto"},"CustomerParty":{"$ref":"#/components/schemas/PartyResumeInputDto"},"Lines":{"type":"array","items":{"$ref":"#/components/schemas/ExtendedLineInputDto"},"description":"Support Document Extended Lines"},"DocumentSubType":{"$ref":"#/components/schemas/DocumentSubTypes"},"DeliveryDate":{"type":"string","description":"Bill Delivery Date. Format {yyyy-mm-dd}"},"SeriePrefix":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the prefix must be present.\r\nSerie validations will be applied."},"SerieNumber":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the SerieNumber must be present.\r\nSerie validations will be applied."},"Notes":{"type":"array","items":{"type":"string"},"description":"Additional information: Free text on the document"},"Currency":{"type":"string","description":"Currency code. Colombia is 'COP'"},"TaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxSubTotalInputDto"},"description":"Information used to report tax sub totals (partials)"},"TaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxTotalInputDto"},"description":"Information used to report the sum of taxes by tax category"},"Total":{"$ref":"#/components/schemas/LegalMonetaryTotalInputDto"},"IssueDate":{"type":"string","description":"Date issue of the invoice for tax purposes. Format {yyyy-MM-ddTHH:mm:ss}"},"DueDate":{"type":"string","description":"Bill Due Date. Format {yyyy-mm-dd}"},"ExternalReference":{"maxLength":50,"type":"string","description":"External Reference"},"CorrelationDocumentId":{"maxLength":50,"type":"string","description":"Unique identifier for the document. This Id is used to prevent document duplication."},"SerieExternalKey":{"type":"string","description":"Unique identifier for the serie. This identifier is generated by the system when the serie is created\r\nand must be sent back on document creation to select wich serie will be used"},"AdditionalNotificationEmails":{"type":"array","items":{"type":"string"},"description":"List of adicional emails to be notified"},"DocumentReferences":{"type":"array","items":{"$ref":"#/components/schemas/DocumentReferenceInputDto"},"description":"Document references"},"GraphicalRepresentationCustomFields":{"type":"array","items":{"$ref":"#/components/schemas/CustomFieldInputDto"},"description":"Document's Graphical Representation Custom Fields"},"Attachments":{"type":"array","items":{"$ref":"#/components/schemas/DocumentAttachmentInputDto"},"description":"Document downloadable attachments"},"PdfData":{"$ref":"#/components/schemas/OutboundDocumentPdfInputDto"},"PrepaidPayments":{"type":"array","items":{"$ref":"#/components/schemas/PrepaidPaymentInputDto"},"description":"Information on the prepaid amount and date"},"PaymentExchangeRate":{"$ref":"#/components/schemas/PaymentExchangeRateInputDto"},"PaymentMeans":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMeanInputDto"},"description":"Document payment means"},"PaymentTerms":{"type":"array","items":{"$ref":"#/components/schemas/PaymentTermInputDto"},"description":"Document payment terms"},"AllowanceCharges":{"type":"array","items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Document allowances and charges"},"OperationType":{"type":"string","description":"Operation type. If not present, the default is Standard; (New DIAN 2 Property)"},"AdditionalCustomers":{"type":"array","items":{"$ref":"#/components/schemas/AdditionalCustomerPartyInputDto"},"description":"Additional Customers"},"HealthcareData":{"$ref":"#/components/schemas/HealthcareInputDto"},"BillingPeriod":{"$ref":"#/components/schemas/PeriodInputDto"},"ExistingCufe":{"type":"string","description":"CUFE extracted from XML"}},"additionalProperties":false,"description":"Represents an SupportDocumentNote input DTO."},"SupportDocumentInputDto":{"required":["BillingPeriod","CorrelationDocumentId","Currency","CustomerParty","DeliveryDate","DueDate","IssueDate","Lines","SerieExternalKey","SupplierParty","TaxSubTotals","TaxTotals","Total"],"type":"object","properties":{"DeliveryTerms":{"$ref":"#/components/schemas/DeliveryTermInputDto"},"WithholdingTaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/WithholdingTaxSubTotalInputDto"},"description":"Information used to report withholding taxes sub totals (partials)"},"WithholdingTaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/WithholdingTaxTotalInputDto"},"description":"Information used to report the sum of withholding taxes by tax category"},"SupplierParty":{"$ref":"#/components/schemas/PartyFullInputDto"},"CustomerParty":{"$ref":"#/components/schemas/PartyResumeInputDto"},"Lines":{"type":"array","items":{"$ref":"#/components/schemas/ExtendedLineInputDto"},"description":"Support Document Extended Lines"},"DocumentSubType":{"$ref":"#/components/schemas/DocumentSubTypes"},"DeliveryDate":{"type":"string","description":"Bill Delivery Date. Format {yyyy-mm-dd}"},"SeriePrefix":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the prefix must be present.\r\nSerie validations will be applied."},"SerieNumber":{"type":"string","description":"If the serie selected by SerieExternalKey is Autoincrement, this field must be empty.\r\nThe document number will be assigned by the system.\r\nId the serie selected by SerieExternalKey is not Autoincrement, the SerieNumber must be present.\r\nSerie validations will be applied."},"Notes":{"type":"array","items":{"type":"string"},"description":"Additional information: Free text on the document"},"Currency":{"type":"string","description":"Currency code. Colombia is 'COP'"},"TaxSubTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxSubTotalInputDto"},"description":"Information used to report tax sub totals (partials)"},"TaxTotals":{"type":"array","items":{"$ref":"#/components/schemas/TaxTotalInputDto"},"description":"Information used to report the sum of taxes by tax category"},"Total":{"$ref":"#/components/schemas/LegalMonetaryTotalInputDto"},"IssueDate":{"type":"string","description":"Date issue of the invoice for tax purposes. Format {yyyy-MM-ddTHH:mm:ss}"},"DueDate":{"type":"string","description":"Bill Due Date. Format {yyyy-mm-dd}"},"ExternalReference":{"maxLength":50,"type":"string","description":"External Reference"},"CorrelationDocumentId":{"maxLength":50,"type":"string","description":"Unique identifier for the document. This Id is used to prevent document duplication."},"SerieExternalKey":{"type":"string","description":"Unique identifier for the serie. This identifier is generated by the system when the serie is created\r\nand must be sent back on document creation to select wich serie will be used"},"AdditionalNotificationEmails":{"type":"array","items":{"type":"string"},"description":"List of adicional emails to be notified"},"DocumentReferences":{"type":"array","items":{"$ref":"#/components/schemas/DocumentReferenceInputDto"},"description":"Document references"},"GraphicalRepresentationCustomFields":{"type":"array","items":{"$ref":"#/components/schemas/CustomFieldInputDto"},"description":"Document's Graphical Representation Custom Fields"},"Attachments":{"type":"array","items":{"$ref":"#/components/schemas/DocumentAttachmentInputDto"},"description":"Document downloadable attachments"},"PdfData":{"$ref":"#/components/schemas/OutboundDocumentPdfInputDto"},"PrepaidPayments":{"type":"array","items":{"$ref":"#/components/schemas/PrepaidPaymentInputDto"},"description":"Information on the prepaid amount and date"},"PaymentExchangeRate":{"$ref":"#/components/schemas/PaymentExchangeRateInputDto"},"PaymentMeans":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMeanInputDto"},"description":"Document payment means"},"PaymentTerms":{"type":"array","items":{"$ref":"#/components/schemas/PaymentTermInputDto"},"description":"Document payment terms"},"AllowanceCharges":{"type":"array","items":{"$ref":"#/components/schemas/AllowanceChargeInputDto"},"description":"Document allowances and charges"},"OperationType":{"type":"string","description":"Operation type. If not present, the default is Standard; (New DIAN 2 Property)"},"AdditionalCustomers":{"type":"array","items":{"$ref":"#/components/schemas/AdditionalCustomerPartyInputDto"},"description":"Additional Customers"},"HealthcareData":{"$ref":"#/components/schemas/HealthcareInputDto"},"BillingPeriod":{"$ref":"#/components/schemas/PeriodInputDto"},"ExistingCufe":{"type":"string","description":"CUFE extracted from XML"}},"additionalProperties":false,"description":"Represents a Support Document input DTO."},"TaxSubTotalInputDto":{"required":["TaxableAmount","TaxAmount","TaxCategory","TaxPercentage"],"type":"object","properties":{"TaxCategory":{"type":"string","description":"Tax type or class. See DataElements.TaxCategories"},"TaxPercentage":{"type":"string","description":"Tax Percentage. Ignored if tax is not a percentage tax."},"TaxableAmount":{"type":"string","description":"Taxable: Taxable income on which tax is calculated"},"TaxAmount":{"type":"string","description":"Amount of tax"},"PerUnitAmount":{"type":"string","description":"(New DIAN 2 Property)"},"BaseUnitMeasure":{"type":"string","description":"(New DIAN 2 Property)"},"BaseUnitMeasureUnitMeasure":{"type":"string","description":"(New DIAN 2 Property)"}},"additionalProperties":false},"TaxTotalInputDto":{"required":["RoundingAmount","TaxAmount","TaxCategory"],"type":"object","properties":{"TaxCategory":{"type":"string","description":"Tax type or class. See DataElements.TaxCategories"},"TaxAmount":{"type":"string","description":"Sum of all tax sub totals of the selected category"},"RoundingAmount":{"type":"string","description":"Rounding amount of total taxes"}},"additionalProperties":false},"TestPdfTemplateInputDto":{"type":"object","properties":{"Dto":{"type":"string"},"Ubl":{"type":"string"},"PdfTemplate":{"type":"string"},"DocumentType":{"type":"string"},"DocumentSubType":{"type":"string"},"LanguageCode":{"type":"string"},"ApplicationResponse":{"type":"string"}},"additionalProperties":false},"TotalesCopInputDto":{"type":"object","properties":{"FctConvCop":{"maxLength":50,"type":"string"},"MonedaCop":{"maxLength":10,"type":"string"},"SubTotalCop":{"maxLength":50,"type":"string"},"DescuentoDetalleCop":{"maxLength":50,"type":"string"},"RecargoDetalleCop":{"maxLength":50,"type":"string"},"TotalBrutoFacturaCop":{"maxLength":50,"type":"string"},"TotIvaCop":{"maxLength":50,"type":"string"},"TotIncCop":{"maxLength":50,"type":"string"},"TotBolCop":{"maxLength":50,"type":"string"},"ImpOtroCop":{"maxLength":50,"type":"string"},"MntImpCop":{"maxLength":50,"type":"string"},"TotalNetoFacturaCop":{"maxLength":50,"type":"string"},"MntDctoCop":{"maxLength":50,"type":"string"},"MntRcgoCop":{"maxLength":50,"type":"string"},"VlrPagarCop":{"maxLength":50,"type":"string"},"ReteFueCop":{"maxLength":50,"type":"string"},"ReteIvaCop":{"maxLength":50,"type":"string"},"ReteIcaCop":{"maxLength":50,"type":"string"},"TotAnticiposCop":{"maxLength":50,"type":"string"}},"additionalProperties":false},"TransportInputDto":{"required":["AcceptanceNumber","MeasureUnit","Number","Quantity","ServiceType","Value"],"type":"object","properties":{"AcceptanceNumber":{"type":"string","description":"Número Radicado de Aceptación de la Remesa"},"Number":{"type":"string","description":"Número de Remesa"},"Quantity":{"type":"string","description":"Cantidad"},"MeasureUnit":{"type":"string","description":"Unidade de medida"},"Value":{"type":"string","description":"Valor flete"},"ServiceType":{"type":"string","description":"Tipo servicio"},"PurchaseOrder":{"type":"string","description":"Orden de compra"}},"additionalProperties":false},"UpdateDocumentDraftInputDto":{"required":["CompanyId","Content","CustomerIdentificationCode","CustomerName","IssuerIdentificationCode","IssuerName"],"type":"object","properties":{"Content":{"maxLength":1048576,"type":"string","description":"The content of the draft"},"IssuerIdentificationCode":{"maxLength":1048576,"type":"string","description":"The identification code of the issuer"},"IssuerName":{"maxLength":100,"type":"string","description":"The name of the issuer"},"CustomerIdentificationCode":{"maxLength":100,"type":"string","description":"The identification code of the customer"},"CustomerName":{"maxLength":100,"type":"string","description":"The customer name"},"CompanyId":{"type":"string","description":"The company where the document draft is saved","format":"uuid"}},"additionalProperties":false},"UpdatePdfTemplateInputDto":{"required":["Content","Name"],"type":"object","properties":{"Id":{"type":"string","format":"uuid"},"Name":{"type":"string","description":"Name of the template to be presented to user"},"Content":{"type":"string","description":"Template."}},"additionalProperties":false},"ValidationError":{"type":"object","properties":{"Field":{"type":"string"},"Code":{"type":"string"},"Description":{"type":"string"},"ExplanationValues":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"ValidationWarning":{"type":"object","properties":{"Field":{"type":"string"},"Code":{"type":"string"},"Description":{"type":"string"},"ExplanationValues":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"WithholdingTaxSubTotalInputDto":{"type":"object","properties":{"WithholdingTaxCategory":{"type":"string","description":"Tax type"},"TaxPercentage":{"type":"string","description":"Tax Percentage"},"TaxableAmount":{"type":"string","description":"Taxable: Taxable income on which withholding tax is calculated"},"TaxAmount":{"type":"string","description":"Amount of tax withheld"}},"additionalProperties":false,"description":"Withholding taxes"},"WithholdingTaxTotalInputDto":{"required":["TaxAmount","WithholdingTaxCategory"],"type":"object","properties":{"WithholdingTaxCategory":{"type":"string","description":"Tax type or class. See DataElements.TaxCategories"},"TaxAmount":{"type":"string","description":"Sum of all witholding tax sub totals of the selected category"}},"additionalProperties":false}},"securitySchemes":{"Bearer":{"type":"apiKey","description":"JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"","name":"Authorization","in":"header"}}},"security":[{"Bearer":[]}]}