POST api/Invoice/Emission

Subir factura 33 con opcion sincrona

Request Information

URI Parameters

None.

Body Parameters

EmissionParamModel
NameDescriptionTypeAdditional information
TaxId

string

None.

isSynchronous

boolean

None.

xml

string

None.

InvoiceDocumentTypeId

integer

None.

IsRecurrence

boolean

None.

ExchangeRateTypeId

integer

None.

SellerId

globally unique identifier

None.

InvoiceId

integer

None.

CustomerId

integer

None.

BranchId

integer

None.

DocumentCategoryCode

string

None.

CustomerContactInfoesId

globally unique identifier

None.

Parciality

ParcialityModel

None.

FolioId

string

None.

CondicionesDePago

string

None.

ExternalId

string

None.

EmittedBy

string

None.

RecurrenceConfig

RecurrenceConfigModels

None.

receiverRISelected

string

None.

hasAddenda

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "TaxId": "sample string 1",
  "isSynchronous": true,
  "xml": "sample string 2",
  "InvoiceDocumentTypeId": 3,
  "IsRecurrence": true,
  "ExchangeRateTypeId": 1,
  "SellerId": "08dd2e4f-9fd1-4f90-ba1f-9f30f40dbb1f",
  "InvoiceId": 1,
  "CustomerId": 1,
  "BranchId": 1,
  "DocumentCategoryCode": "sample string 4",
  "CustomerContactInfoesId": "08dd2e4f-9fd1-4f90-ba1f-9f30f40dbb20",
  "Parciality": {
    "NumberPartiality": 1,
    "Initial": 1,
    "Tax": 1,
    "FrecuencyId": 1,
    "Serial": "sample string 1",
    "DocumentId": "sample string 2",
    "IsActive": true,
    "MinInitial": 1,
    "MaxInitial": 1,
    "MinTax": 1,
    "MaxTax": 1,
    "FrecuencyList": [
      {
        "PeriodicityId": 1,
        "PeriodicityName": "sample string 2",
        "PeriodicityDescription": "sample string 3",
        "NumberOfDays": 4
      },
      {
        "PeriodicityId": 1,
        "PeriodicityName": "sample string 2",
        "PeriodicityDescription": "sample string 3",
        "NumberOfDays": 4
      }
    ],
    "ParcialityTypeList": [
      {
        "ParcialityTypeId": 1,
        "ParcialityTypeName": "sample string 2"
      },
      {
        "ParcialityTypeId": 1,
        "ParcialityTypeName": "sample string 2"
      }
    ],
    "Type": 1,
    "LoadDetails": true,
    "DocumentHasPayments": true,
    "IsFromManual": true,
    "DocumentDueDate": "2025-01-06T06:42:47.506728-06:00",
    "ParcialityType": 1,
    "VariableParciality": [
      {
        "Date": "2025-01-06T06:42:47.506728-06:00",
        "Percentage": 2.0
      },
      {
        "Date": "2025-01-06T06:42:47.506728-06:00",
        "Percentage": 2.0
      }
    ]
  },
  "FolioId": "sample string 5",
  "CondicionesDePago": "sample string 6",
  "ExternalId": "sample string 7",
  "EmittedBy": "sample string 8",
  "RecurrenceConfig": {
    "FromDate": "2025-01-06T06:42:47.506728-06:00",
    "ToDate": "2025-01-06T06:42:47.506728-06:00",
    "InvoiceRecurrenceTypeId": 1,
    "Day": 1,
    "WeekDay": 1
  },
  "receiverRISelected": "sample string 9",
  "hasAddenda": true
}

application/xml, text/xml

Sample:
<EmissionParamModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TaxId>sample string 1</TaxId>
  <isSynchronous>true</isSynchronous>
  <xml>sample string 2</xml>
  <InvoiceDocumentTypeId>3</InvoiceDocumentTypeId>
  <IsRecurrence>true</IsRecurrence>
  <ExchangeRateTypeId>1</ExchangeRateTypeId>
  <SellerId>08dd2e4f-9fd1-4f90-ba1f-9f30f40dbb1f</SellerId>
  <InvoiceId>1</InvoiceId>
  <CustomerId>1</CustomerId>
  <BranchId>1</BranchId>
  <DocumentCategoryCode>sample string 4</DocumentCategoryCode>
  <CustomerContactInfoesId>08dd2e4f-9fd1-4f90-ba1f-9f30f40dbb20</CustomerContactInfoesId>
  <Parciality>
    <NumberPartiality>1</NumberPartiality>
    <Initial>1</Initial>
    <Tax>1</Tax>
    <FrecuencyId>1</FrecuencyId>
    <Serial>sample string 1</Serial>
    <DocumentId>sample string 2</DocumentId>
    <IsActive>true</IsActive>
    <MinInitial>1</MinInitial>
    <MaxInitial>1</MaxInitial>
    <MinTax>1</MinTax>
    <MaxTax>1</MaxTax>
    <FrecuencyList>
      <PeriodicityModel>
        <PeriodicityId>1</PeriodicityId>
        <PeriodicityName>sample string 2</PeriodicityName>
        <PeriodicityDescription>sample string 3</PeriodicityDescription>
        <NumberOfDays>4</NumberOfDays>
      </PeriodicityModel>
      <PeriodicityModel>
        <PeriodicityId>1</PeriodicityId>
        <PeriodicityName>sample string 2</PeriodicityName>
        <PeriodicityDescription>sample string 3</PeriodicityDescription>
        <NumberOfDays>4</NumberOfDays>
      </PeriodicityModel>
    </FrecuencyList>
    <ParcialityTypeList>
      <ParcialityTypeModel>
        <ParcialityTypeId>1</ParcialityTypeId>
        <ParcialityTypeName>sample string 2</ParcialityTypeName>
      </ParcialityTypeModel>
      <ParcialityTypeModel>
        <ParcialityTypeId>1</ParcialityTypeId>
        <ParcialityTypeName>sample string 2</ParcialityTypeName>
      </ParcialityTypeModel>
    </ParcialityTypeList>
    <Type>1</Type>
    <LoadDetails>true</LoadDetails>
    <DocumentHasPayments>true</DocumentHasPayments>
    <IsFromManual>true</IsFromManual>
    <DocumentDueDate>2025-01-06T06:42:47.506728-06:00</DocumentDueDate>
    <ParcialityType>1</ParcialityType>
    <VariableParciality>
      <VariableParcialityInfoModel>
        <Date>2025-01-06T06:42:47.506728-06:00</Date>
        <Percentage>2</Percentage>
      </VariableParcialityInfoModel>
      <VariableParcialityInfoModel>
        <Date>2025-01-06T06:42:47.506728-06:00</Date>
        <Percentage>2</Percentage>
      </VariableParcialityInfoModel>
    </VariableParciality>
  </Parciality>
  <FolioId>sample string 5</FolioId>
  <CondicionesDePago>sample string 6</CondicionesDePago>
  <ExternalId>sample string 7</ExternalId>
  <EmittedBy>sample string 8</EmittedBy>
  <RecurrenceConfig>
    <FromDate>2025-01-06T06:42:47.506728-06:00</FromDate>
    <ToDate>2025-01-06T06:42:47.506728-06:00</ToDate>
    <InvoiceRecurrenceTypeId>Diario</InvoiceRecurrenceTypeId>
    <Day>1</Day>
    <WeekDay>1</WeekDay>
  </RecurrenceConfig>
  <receiverRISelected>sample string 9</receiverRISelected>
  <hasAddenda>true</hasAddenda>
</EmissionParamModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EmissionParamModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.