POST api/Irs1099s/process1099s

Generates Vendor 1099s

Request Information

URI Parameters

None.

Body Parameters

Parameters for processing 1099s

Process1099ParamsViewModel
NameDescriptionTypeAdditional information
Year

[Required] Year to process

integer

Range: inclusive between 1900 and 3000

SuperEntityIds

[Required] Entities to process.

Collection of integer

Required

Request Formats

application/json, text/json

Sample:
{
  "year": 1,
  "superEntityIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<Process1099ParamsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.Controllers.TAX.Models">
  <SuperEntityIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SuperEntityIds>
  <Year>1</Year>
</Process1099ParamsViewModel>

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 'Process1099ParamsViewModel'.

Response Information

Resource Description

Irs1099ProcessViewModel
NameDescriptionTypeAdditional information
ProcessedEntities

Collection of Irs1099ProcessedEntityViewModel

None.

InvalidEntitiesCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "processedEntities": [
    {
      "irs1099ProcessedEntityId": 1,
      "superEntityId": 2,
      "taxId": "sample string 3",
      "year": 4,
      "irs1099Vendors": [
        {
          "id": 1,
          "vendorId": 2,
          "code": "sample string 3",
          "name": "sample string 4",
          "legalName": "sample string 5",
          "type": "sample string 6",
          "vendorTaxId": "sample string 7",
          "addressId": 8,
          "statusId": 9,
          "createdBy": 10,
          "createdOn": "2024-10-14T04:24:58.2198401-04:00",
          "modifiedBy": 1,
          "modifiedOn": "2024-10-14T04:24:58.2198401-04:00",
          "amounts": [
            {
              "id": 1,
              "classId": 2,
              "classDescription": "sample string 3",
              "amount": 4.0,
              "amount1099K": 5.0,
              "amountAdjusted": 6.0,
              "beginningBalance": 7.0,
              "amountRevised": 10.0,
              "netAmount": 12.0
            },
            {
              "id": 1,
              "classId": 2,
              "classDescription": "sample string 3",
              "amount": 4.0,
              "amount1099K": 5.0,
              "amountAdjusted": 6.0,
              "beginningBalance": 7.0,
              "amountRevised": 10.0,
              "netAmount": 12.0
            }
          ],
          "address": {
            "addressId": 1,
            "address1": "sample string 2",
            "address2": "sample string 3",
            "city": "sample string 4",
            "state": "sample string 5",
            "zipCode": "sample string 6",
            "country": "sample string 7"
          }
        },
        {
          "id": 1,
          "vendorId": 2,
          "code": "sample string 3",
          "name": "sample string 4",
          "legalName": "sample string 5",
          "type": "sample string 6",
          "vendorTaxId": "sample string 7",
          "addressId": 8,
          "statusId": 9,
          "createdBy": 10,
          "createdOn": "2024-10-14T04:24:58.2198401-04:00",
          "modifiedBy": 1,
          "modifiedOn": "2024-10-14T04:24:58.2198401-04:00",
          "amounts": [
            {
              "id": 1,
              "classId": 2,
              "classDescription": "sample string 3",
              "amount": 4.0,
              "amount1099K": 5.0,
              "amountAdjusted": 6.0,
              "beginningBalance": 7.0,
              "amountRevised": 10.0,
              "netAmount": 12.0
            },
            {
              "id": 1,
              "classId": 2,
              "classDescription": "sample string 3",
              "amount": 4.0,
              "amount1099K": 5.0,
              "amountAdjusted": 6.0,
              "beginningBalance": 7.0,
              "amountRevised": 10.0,
              "netAmount": 12.0
            }
          ],
          "address": {
            "addressId": 1,
            "address1": "sample string 2",
            "address2": "sample string 3",
            "city": "sample string 4",
            "state": "sample string 5",
            "zipCode": "sample string 6",
            "country": "sample string 7"
          }
        }
      ],
      "glEntityLinks": [
        {
          "irs1099ProcessedEntityId": 1,
          "glEntityId": 2,
          "isExportEntity": true
        },
        {
          "irs1099ProcessedEntityId": 1,
          "glEntityId": 2,
          "isExportEntity": true
        }
      ]
    },
    {
      "irs1099ProcessedEntityId": 1,
      "superEntityId": 2,
      "taxId": "sample string 3",
      "year": 4,
      "irs1099Vendors": [
        {
          "id": 1,
          "vendorId": 2,
          "code": "sample string 3",
          "name": "sample string 4",
          "legalName": "sample string 5",
          "type": "sample string 6",
          "vendorTaxId": "sample string 7",
          "addressId": 8,
          "statusId": 9,
          "createdBy": 10,
          "createdOn": "2024-10-14T04:24:58.2198401-04:00",
          "modifiedBy": 1,
          "modifiedOn": "2024-10-14T04:24:58.2198401-04:00",
          "amounts": [
            {
              "id": 1,
              "classId": 2,
              "classDescription": "sample string 3",
              "amount": 4.0,
              "amount1099K": 5.0,
              "amountAdjusted": 6.0,
              "beginningBalance": 7.0,
              "amountRevised": 10.0,
              "netAmount": 12.0
            },
            {
              "id": 1,
              "classId": 2,
              "classDescription": "sample string 3",
              "amount": 4.0,
              "amount1099K": 5.0,
              "amountAdjusted": 6.0,
              "beginningBalance": 7.0,
              "amountRevised": 10.0,
              "netAmount": 12.0
            }
          ],
          "address": {
            "addressId": 1,
            "address1": "sample string 2",
            "address2": "sample string 3",
            "city": "sample string 4",
            "state": "sample string 5",
            "zipCode": "sample string 6",
            "country": "sample string 7"
          }
        },
        {
          "id": 1,
          "vendorId": 2,
          "code": "sample string 3",
          "name": "sample string 4",
          "legalName": "sample string 5",
          "type": "sample string 6",
          "vendorTaxId": "sample string 7",
          "addressId": 8,
          "statusId": 9,
          "createdBy": 10,
          "createdOn": "2024-10-14T04:24:58.2198401-04:00",
          "modifiedBy": 1,
          "modifiedOn": "2024-10-14T04:24:58.2198401-04:00",
          "amounts": [
            {
              "id": 1,
              "classId": 2,
              "classDescription": "sample string 3",
              "amount": 4.0,
              "amount1099K": 5.0,
              "amountAdjusted": 6.0,
              "beginningBalance": 7.0,
              "amountRevised": 10.0,
              "netAmount": 12.0
            },
            {
              "id": 1,
              "classId": 2,
              "classDescription": "sample string 3",
              "amount": 4.0,
              "amount1099K": 5.0,
              "amountAdjusted": 6.0,
              "beginningBalance": 7.0,
              "amountRevised": 10.0,
              "netAmount": 12.0
            }
          ],
          "address": {
            "addressId": 1,
            "address1": "sample string 2",
            "address2": "sample string 3",
            "city": "sample string 4",
            "state": "sample string 5",
            "zipCode": "sample string 6",
            "country": "sample string 7"
          }
        }
      ],
      "glEntityLinks": [
        {
          "irs1099ProcessedEntityId": 1,
          "glEntityId": 2,
          "isExportEntity": true
        },
        {
          "irs1099ProcessedEntityId": 1,
          "glEntityId": 2,
          "isExportEntity": true
        }
      ]
    }
  ],
  "invalidEntitiesCount": 1
}

application/xml, text/xml

Sample:
<Irs1099ProcessViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.Controllers.TAX.Models">
  <InvalidEntitiesCount>1</InvalidEntitiesCount>
  <ProcessedEntities>
    <Irs1099ProcessedEntityViewModel>
      <GlEntityLinks>
        <Irs1099ProcessedEntityGlEntityLinkViewModel>
          <GlEntityId>2</GlEntityId>
          <Irs1099ProcessedEntityId>1</Irs1099ProcessedEntityId>
          <IsExportEntity>true</IsExportEntity>
        </Irs1099ProcessedEntityGlEntityLinkViewModel>
        <Irs1099ProcessedEntityGlEntityLinkViewModel>
          <GlEntityId>2</GlEntityId>
          <Irs1099ProcessedEntityId>1</Irs1099ProcessedEntityId>
          <IsExportEntity>true</IsExportEntity>
        </Irs1099ProcessedEntityGlEntityLinkViewModel>
      </GlEntityLinks>
      <Irs1099ProcessedEntityId>1</Irs1099ProcessedEntityId>
      <Irs1099Vendors>
        <Irs1099VendorViewModel>
          <Address xmlns:d6p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
            <Address1 xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 2</Address1>
            <Address2 xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 3</Address2>
            <City xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 4</City>
            <Country xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 7</Country>
            <State xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 5</State>
            <ZipCode xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 6</ZipCode>
            <d6p1:AddressId>1</d6p1:AddressId>
          </Address>
          <AddressId>8</AddressId>
          <Amounts>
            <Irs1099VendorAmountViewModel>
              <Amount>4</Amount>
              <Amount1099K>5</Amount1099K>
              <AmountAdjusted>6</AmountAdjusted>
              <BeginningBalance>7</BeginningBalance>
              <ClassDescription>sample string 3</ClassDescription>
              <ClassId>2</ClassId>
              <Id>1</Id>
            </Irs1099VendorAmountViewModel>
            <Irs1099VendorAmountViewModel>
              <Amount>4</Amount>
              <Amount1099K>5</Amount1099K>
              <AmountAdjusted>6</AmountAdjusted>
              <BeginningBalance>7</BeginningBalance>
              <ClassDescription>sample string 3</ClassDescription>
              <ClassId>2</ClassId>
              <Id>1</Id>
            </Irs1099VendorAmountViewModel>
          </Amounts>
          <Code>sample string 3</Code>
          <CreatedBy>10</CreatedBy>
          <CreatedOn>2024-10-14T04:24:58.2198401-04:00</CreatedOn>
          <Id>1</Id>
          <LegalName>sample string 5</LegalName>
          <ModifiedBy>1</ModifiedBy>
          <ModifiedOn>2024-10-14T04:24:58.2198401-04:00</ModifiedOn>
          <Name>sample string 4</Name>
          <StatusId>9</StatusId>
          <Type>sample string 6</Type>
          <VendorId>2</VendorId>
          <VendorTaxId>sample string 7</VendorTaxId>
        </Irs1099VendorViewModel>
        <Irs1099VendorViewModel>
          <Address xmlns:d6p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
            <Address1 xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 2</Address1>
            <Address2 xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 3</Address2>
            <City xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 4</City>
            <Country xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 7</Country>
            <State xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 5</State>
            <ZipCode xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 6</ZipCode>
            <d6p1:AddressId>1</d6p1:AddressId>
          </Address>
          <AddressId>8</AddressId>
          <Amounts>
            <Irs1099VendorAmountViewModel>
              <Amount>4</Amount>
              <Amount1099K>5</Amount1099K>
              <AmountAdjusted>6</AmountAdjusted>
              <BeginningBalance>7</BeginningBalance>
              <ClassDescription>sample string 3</ClassDescription>
              <ClassId>2</ClassId>
              <Id>1</Id>
            </Irs1099VendorAmountViewModel>
            <Irs1099VendorAmountViewModel>
              <Amount>4</Amount>
              <Amount1099K>5</Amount1099K>
              <AmountAdjusted>6</AmountAdjusted>
              <BeginningBalance>7</BeginningBalance>
              <ClassDescription>sample string 3</ClassDescription>
              <ClassId>2</ClassId>
              <Id>1</Id>
            </Irs1099VendorAmountViewModel>
          </Amounts>
          <Code>sample string 3</Code>
          <CreatedBy>10</CreatedBy>
          <CreatedOn>2024-10-14T04:24:58.2198401-04:00</CreatedOn>
          <Id>1</Id>
          <LegalName>sample string 5</LegalName>
          <ModifiedBy>1</ModifiedBy>
          <ModifiedOn>2024-10-14T04:24:58.2198401-04:00</ModifiedOn>
          <Name>sample string 4</Name>
          <StatusId>9</StatusId>
          <Type>sample string 6</Type>
          <VendorId>2</VendorId>
          <VendorTaxId>sample string 7</VendorTaxId>
        </Irs1099VendorViewModel>
      </Irs1099Vendors>
      <SuperEntityId>2</SuperEntityId>
      <TaxId>sample string 3</TaxId>
      <Year>4</Year>
    </Irs1099ProcessedEntityViewModel>
    <Irs1099ProcessedEntityViewModel>
      <GlEntityLinks>
        <Irs1099ProcessedEntityGlEntityLinkViewModel>
          <GlEntityId>2</GlEntityId>
          <Irs1099ProcessedEntityId>1</Irs1099ProcessedEntityId>
          <IsExportEntity>true</IsExportEntity>
        </Irs1099ProcessedEntityGlEntityLinkViewModel>
        <Irs1099ProcessedEntityGlEntityLinkViewModel>
          <GlEntityId>2</GlEntityId>
          <Irs1099ProcessedEntityId>1</Irs1099ProcessedEntityId>
          <IsExportEntity>true</IsExportEntity>
        </Irs1099ProcessedEntityGlEntityLinkViewModel>
      </GlEntityLinks>
      <Irs1099ProcessedEntityId>1</Irs1099ProcessedEntityId>
      <Irs1099Vendors>
        <Irs1099VendorViewModel>
          <Address xmlns:d6p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
            <Address1 xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 2</Address1>
            <Address2 xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 3</Address2>
            <City xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 4</City>
            <Country xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 7</Country>
            <State xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 5</State>
            <ZipCode xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 6</ZipCode>
            <d6p1:AddressId>1</d6p1:AddressId>
          </Address>
          <AddressId>8</AddressId>
          <Amounts>
            <Irs1099VendorAmountViewModel>
              <Amount>4</Amount>
              <Amount1099K>5</Amount1099K>
              <AmountAdjusted>6</AmountAdjusted>
              <BeginningBalance>7</BeginningBalance>
              <ClassDescription>sample string 3</ClassDescription>
              <ClassId>2</ClassId>
              <Id>1</Id>
            </Irs1099VendorAmountViewModel>
            <Irs1099VendorAmountViewModel>
              <Amount>4</Amount>
              <Amount1099K>5</Amount1099K>
              <AmountAdjusted>6</AmountAdjusted>
              <BeginningBalance>7</BeginningBalance>
              <ClassDescription>sample string 3</ClassDescription>
              <ClassId>2</ClassId>
              <Id>1</Id>
            </Irs1099VendorAmountViewModel>
          </Amounts>
          <Code>sample string 3</Code>
          <CreatedBy>10</CreatedBy>
          <CreatedOn>2024-10-14T04:24:58.2198401-04:00</CreatedOn>
          <Id>1</Id>
          <LegalName>sample string 5</LegalName>
          <ModifiedBy>1</ModifiedBy>
          <ModifiedOn>2024-10-14T04:24:58.2198401-04:00</ModifiedOn>
          <Name>sample string 4</Name>
          <StatusId>9</StatusId>
          <Type>sample string 6</Type>
          <VendorId>2</VendorId>
          <VendorTaxId>sample string 7</VendorTaxId>
        </Irs1099VendorViewModel>
        <Irs1099VendorViewModel>
          <Address xmlns:d6p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
            <Address1 xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 2</Address1>
            <Address2 xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 3</Address2>
            <City xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 4</City>
            <Country xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 7</Country>
            <State xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 5</State>
            <ZipCode xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 6</ZipCode>
            <d6p1:AddressId>1</d6p1:AddressId>
          </Address>
          <AddressId>8</AddressId>
          <Amounts>
            <Irs1099VendorAmountViewModel>
              <Amount>4</Amount>
              <Amount1099K>5</Amount1099K>
              <AmountAdjusted>6</AmountAdjusted>
              <BeginningBalance>7</BeginningBalance>
              <ClassDescription>sample string 3</ClassDescription>
              <ClassId>2</ClassId>
              <Id>1</Id>
            </Irs1099VendorAmountViewModel>
            <Irs1099VendorAmountViewModel>
              <Amount>4</Amount>
              <Amount1099K>5</Amount1099K>
              <AmountAdjusted>6</AmountAdjusted>
              <BeginningBalance>7</BeginningBalance>
              <ClassDescription>sample string 3</ClassDescription>
              <ClassId>2</ClassId>
              <Id>1</Id>
            </Irs1099VendorAmountViewModel>
          </Amounts>
          <Code>sample string 3</Code>
          <CreatedBy>10</CreatedBy>
          <CreatedOn>2024-10-14T04:24:58.2198401-04:00</CreatedOn>
          <Id>1</Id>
          <LegalName>sample string 5</LegalName>
          <ModifiedBy>1</ModifiedBy>
          <ModifiedOn>2024-10-14T04:24:58.2198401-04:00</ModifiedOn>
          <Name>sample string 4</Name>
          <StatusId>9</StatusId>
          <Type>sample string 6</Type>
          <VendorId>2</VendorId>
          <VendorTaxId>sample string 7</VendorTaxId>
        </Irs1099VendorViewModel>
      </Irs1099Vendors>
      <SuperEntityId>2</SuperEntityId>
      <TaxId>sample string 3</TaxId>
      <Year>4</Year>
    </Irs1099ProcessedEntityViewModel>
  </ProcessedEntities>
</Irs1099ProcessViewModel>