POST api/Documents/CreateInvoiceNc
Request Information
URI Parameters
None.
Body Parameters
SLInvoiceNCName | Description | Type | Additional information |
---|---|---|---|
NumAtCard | string |
None. |
|
DocumentReferences | Collection of DocumentReferences |
None. |
|
DocEntry | integer |
None. |
|
DocNum | integer |
None. |
|
Series | integer |
None. |
|
PaymentGroupCode | string |
None. |
|
CardCode | string |
None. |
|
CardName | string |
None. |
|
DocDate | date |
None. |
|
Comments | string |
None. |
|
DocType | string |
None. |
|
DocCurrency | string |
None. |
|
SalesPersonCode | integer |
None. |
|
U_NumFE | string |
None. |
|
U_ClaveFE | string |
None. |
|
U_CLVS_POS_UniqueInvId | string |
None. |
|
U_ListNum | integer |
None. |
|
DocumentLines | Collection of SLInvoiceLinesSuppliers |
None. |
|
U_TipoDocE | string |
None. |
|
U_TipoIdentificacion | string |
None. |
|
U_NumIdentFE | string |
None. |
|
U_CorreoFE | string |
None. |
|
UdfTarget | Collection of UdfTarget |
None. |
Request Formats
application/json, text/json
Sample:
{ "NumAtCard": "sample string 1", "DocumentReferences": [ { "RefDocEntr": 1, "RefDocNum": 2, "RefObjType": "sample string 3", "Remark": "sample string 4" }, { "RefDocEntr": 1, "RefDocNum": 2, "RefObjType": "sample string 3", "Remark": "sample string 4" } ], "DocEntry": 2, "DocNum": 3, "Series": 4, "PaymentGroupCode": "sample string 5", "CardCode": "sample string 6", "CardName": "sample string 7", "DocDate": "2025-04-04T00:08:34.8014443-06:00", "Comments": "sample string 9", "DocType": "sample string 10", "DocCurrency": "sample string 11", "SalesPersonCode": 12, "U_NumFE": "sample string 13", "U_ClaveFE": "sample string 14", "U_CLVS_POS_UniqueInvId": "sample string 15", "U_ListNum": 16, "DocumentLines": [ { "ItemCode": "sample string 1", "Quantity": 2.1, "UnitPrice": 3.1, "DiscountPercent": 4.1, "TaxCode": "sample string 5", "WarehouseCode": "sample string 6", "UoMEntry": 7, "UomCode": "sample string 8", "UdfLinesTarget": [ { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" }, { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" } ] }, { "ItemCode": "sample string 1", "Quantity": 2.1, "UnitPrice": 3.1, "DiscountPercent": 4.1, "TaxCode": "sample string 5", "WarehouseCode": "sample string 6", "UoMEntry": 7, "UomCode": "sample string 8", "UdfLinesTarget": [ { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" }, { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" } ] } ], "U_TipoDocE": "sample string 17", "U_TipoIdentificacion": "sample string 18", "U_NumIdentFE": "sample string 19", "U_CorreoFE": "sample string 20", "UdfTarget": [ { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" }, { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" } ] }
application/xml, text/xml
Sample:
<SLInvoiceNC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLVSPOS.MODELS"> <CardCode>sample string 6</CardCode> <CardName>sample string 7</CardName> <Comments>sample string 9</Comments> <DocCurrency>sample string 11</DocCurrency> <DocDate>2025-04-04T00:08:34.8014443-06:00</DocDate> <DocEntry>2</DocEntry> <DocNum>3</DocNum> <DocType>sample string 10</DocType> <DocumentLines> <SLInvoiceLinesSuppliers> <DiscountPercent>4.1</DiscountPercent> <ItemCode>sample string 1</ItemCode> <Quantity>2.1</Quantity> <TaxCode>sample string 5</TaxCode> <UdfLinesTarget xmlns:d4p1="http://schemas.datacontract.org/2004/07/CLVSSUPER.MODELS"> <d4p1:UdfTarget> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:UdfTarget> <d4p1:UdfTarget> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:UdfTarget> </UdfLinesTarget> <UnitPrice>3.1</UnitPrice> <UoMEntry>7</UoMEntry> <UomCode>sample string 8</UomCode> <WarehouseCode>sample string 6</WarehouseCode> </SLInvoiceLinesSuppliers> <SLInvoiceLinesSuppliers> <DiscountPercent>4.1</DiscountPercent> <ItemCode>sample string 1</ItemCode> <Quantity>2.1</Quantity> <TaxCode>sample string 5</TaxCode> <UdfLinesTarget xmlns:d4p1="http://schemas.datacontract.org/2004/07/CLVSSUPER.MODELS"> <d4p1:UdfTarget> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:UdfTarget> <d4p1:UdfTarget> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:UdfTarget> </UdfLinesTarget> <UnitPrice>3.1</UnitPrice> <UoMEntry>7</UoMEntry> <UomCode>sample string 8</UomCode> <WarehouseCode>sample string 6</WarehouseCode> </SLInvoiceLinesSuppliers> </DocumentLines> <PaymentGroupCode>sample string 5</PaymentGroupCode> <SalesPersonCode>12</SalesPersonCode> <Series>4</Series> <U_CLVS_POS_UniqueInvId>sample string 15</U_CLVS_POS_UniqueInvId> <U_ClaveFE>sample string 14</U_ClaveFE> <U_CorreoFE>sample string 20</U_CorreoFE> <U_ListNum>16</U_ListNum> <U_NumFE>sample string 13</U_NumFE> <U_NumIdentFE>sample string 19</U_NumIdentFE> <U_TipoDocE>sample string 17</U_TipoDocE> <U_TipoIdentificacion>sample string 18</U_TipoIdentificacion> <UdfTarget xmlns:d2p1="http://schemas.datacontract.org/2004/07/CLVSSUPER.MODELS"> <d2p1:UdfTarget> <d2p1:FieldType>sample string 2</d2p1:FieldType> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:UdfTarget> <d2p1:UdfTarget> <d2p1:FieldType>sample string 2</d2p1:FieldType> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:UdfTarget> </UdfTarget> <DocumentReferences> <DocumentReferences> <RefDocEntr>1</RefDocEntr> <RefDocNum>2</RefDocNum> <RefObjType>sample string 3</RefObjType> <Remark>sample string 4</Remark> </DocumentReferences> <DocumentReferences> <RefDocEntr>1</RefDocEntr> <RefDocNum>2</RefDocNum> <RefObjType>sample string 3</RefObjType> <Remark>sample string 4</Remark> </DocumentReferences> </DocumentReferences> <NumAtCard>sample string 1</NumAtCard> </SLInvoiceNC>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |