POST api/bir/forms/transactions/generate-pdf/1904

Request Information

URI Parameters

None.

Body Parameters

Form1904Data
NameDescriptionTypeAdditional information
formName

string

None.

philSysNumber

string

None.

tinNumber

string

None.

dateRegistration

string

None.

rdoCode

string

None.

taxPayerInformation

TaxPayerInformationIndividual

None.

transactionDetails

TransactionDetails

None.

withHoldingAgent

WithHoldingAgent

None.

Request Formats

application/json, text/json

Sample:
{
  "formName": "sample string 1",
  "philSysNumber": "sample string 2",
  "tinNumber": "sample string 3",
  "dateRegistration": "sample string 4",
  "rdoCode": "sample string 5",
  "taxPayerInformation": {
    "taxPayerType": {
      "filipinoCitizen": true,
      "foreignNational": true,
      "oneTimeTransactionFilipinoCitizen": true,
      "oneTimeTransactionForeignNational": true,
      "nonResidentForeignCorporation": true,
      "nonResidentForeignPartnership": true,
      "passiveIncomeEarnerOnly": true
    },
    "foreignTin": "sample string 1",
    "countryOfResidence": "sample string 2",
    "taxPayersNameIndividual": {
      "lastName": "sample string 1",
      "firstName": "sample string 2",
      "middleName": "sample string 3",
      "suffix": "sample string 4",
      "nickname": "sample string 5"
    },
    "taxPayersNameNonIndividual": "sample string 3",
    "taxPayersNameEstate": "sample string 4",
    "registeredAddress": {
      "buildingName": "sample string 1",
      "buildingNo": "sample string 2",
      "streetName": "sample string 3",
      "houseNo": "sample string 4",
      "subdivision": "sample string 5",
      "barangay": "sample string 6",
      "district": "sample string 7",
      "city": "sample string 8",
      "province": "sample string 9",
      "zipCode": "sample string 10"
    },
    "principalForeignAddrses": "sample string 5",
    "dateOfBirth": "sample string 6",
    "contactNumber": "sample string 7",
    "dateOfArrivalInPh": "sample string 8",
    "municipalityCode": "sample string 9",
    "mothersMaidenName": "sample string 10",
    "fathersName": "sample string 11",
    "gender": {
      "male": true,
      "female": true
    },
    "emailAddress": "sample string 12"
  },
  "transactionDetails": {
    "tinApplicationPurpose": {
      "dealingsWithBanks": true,
      "dealingsWithGovAgencies": true,
      "taxTreatyRelief": true
    }
  },
  "withHoldingAgent": {
    "tin": "sample string 1",
    "rdoCode": "sample string 2",
    "name": "sample string 3",
    "registeredAddress": "sample string 4",
    "zipCode": "sample string 5",
    "contactNumber": "sample string 6",
    "emailAddress": "sample string 7",
    "positionOfSignatory": "sample string 8",
    "taxPayer": "sample string 9",
    "dateOfReceipt": "sample string 10"
  }
}

application/xml, text/xml

Sample:
<Form1904Data xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
  <dateRegistration>sample string 4</dateRegistration>
  <formName>sample string 1</formName>
  <philSysNumber>sample string 2</philSysNumber>
  <rdoCode>sample string 5</rdoCode>
  <taxPayerInformation>
    <contactNumber>sample string 7</contactNumber>
    <countryOfResidence>sample string 2</countryOfResidence>
    <dateOfArrivalInPh>sample string 8</dateOfArrivalInPh>
    <dateOfBirth>sample string 6</dateOfBirth>
    <emailAddress>sample string 12</emailAddress>
    <fathersName>sample string 11</fathersName>
    <foreignTin>sample string 1</foreignTin>
    <gender>
      <female>true</female>
      <male>true</male>
    </gender>
    <mothersMaidenName>sample string 10</mothersMaidenName>
    <municipalityCode>sample string 9</municipalityCode>
    <principalForeignAddrses>sample string 5</principalForeignAddrses>
    <registeredAddress>
      <barangay>sample string 6</barangay>
      <buildingName>sample string 1</buildingName>
      <buildingNo>sample string 2</buildingNo>
      <city>sample string 8</city>
      <district>sample string 7</district>
      <houseNo>sample string 4</houseNo>
      <province>sample string 9</province>
      <streetName>sample string 3</streetName>
      <subdivision>sample string 5</subdivision>
      <zipCode>sample string 10</zipCode>
    </registeredAddress>
    <taxPayerType>
      <filipinoCitizen>true</filipinoCitizen>
      <foreignNational>true</foreignNational>
      <nonResidentForeignCorporation>true</nonResidentForeignCorporation>
      <nonResidentForeignPartnership>true</nonResidentForeignPartnership>
      <oneTimeTransactionFilipinoCitizen>true</oneTimeTransactionFilipinoCitizen>
      <oneTimeTransactionForeignNational>true</oneTimeTransactionForeignNational>
      <passiveIncomeEarnerOnly>true</passiveIncomeEarnerOnly>
    </taxPayerType>
    <taxPayersNameEstate>sample string 4</taxPayersNameEstate>
    <taxPayersNameIndividual>
      <firstName>sample string 2</firstName>
      <lastName>sample string 1</lastName>
      <middleName>sample string 3</middleName>
      <nickname>sample string 5</nickname>
      <suffix>sample string 4</suffix>
    </taxPayersNameIndividual>
    <taxPayersNameNonIndividual>sample string 3</taxPayersNameNonIndividual>
  </taxPayerInformation>
  <tinNumber>sample string 3</tinNumber>
  <transactionDetails>
    <tinApplicationPurpose>
      <dealingsWithBanks>true</dealingsWithBanks>
      <dealingsWithGovAgencies>true</dealingsWithGovAgencies>
      <taxTreatyRelief>true</taxTreatyRelief>
    </tinApplicationPurpose>
  </transactionDetails>
  <withHoldingAgent>
    <contactNumber>sample string 6</contactNumber>
    <dateOfReceipt>sample string 10</dateOfReceipt>
    <emailAddress>sample string 7</emailAddress>
    <name>sample string 3</name>
    <positionOfSignatory>sample string 8</positionOfSignatory>
    <rdoCode>sample string 2</rdoCode>
    <registeredAddress>sample string 4</registeredAddress>
    <taxPayer>sample string 9</taxPayer>
    <tin>sample string 1</tin>
    <zipCode>sample string 5</zipCode>
  </withHoldingAgent>
</Form1904Data>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.