Public
Documentation Settings

Invoice_9.8

GETGET Invoice

https://am-ce98c.corrigo.com/api/v1/base/Invoice?Id=7
AUTHORIZATIONOAuth 2.0
HEADERS
CompanyName

RDC CE Sandbox

PARAMS
Id

7

Example Request
curl
curl --location 'https://am-ce98c.corrigo.com//api/v1/base/Invoice?Id=2' \
--header 'CompanyName: RDC CE Sandbox'
200 OK
Example Response
json
{
  "Data": {
    "CurrencyTypeId": "USD",
    "TimeSetId": 0,
    "Group": {
      "Id": 249
    },
    "Number": "",
    "State": "Draft",
    "PoNumber": "",
    "GlAccount": "",
    "Comments": "",
    "AmtBase": {
      "CurrencyTypeId": "USD",
      "Value": 0
    },
    "AmtTax": {
      "CurrencyTypeId": "USD",
      "Value": 0
    },
    "AmtTotal": {
      "CurrencyTypeId": "USD",
      "Value": 0
    },
    "IsMultiline": false,
    "TaxTransactionId": "",
    "IsTaxDirty": false,
    "ExtNumber": "",
    "IsManuallySent": false,
    "DraftProcessStepId": "Pending",
    "ConcurrencyId": 1,
    "Id": 2
  }
}
Cache-Control

no-cache

Pragma

no-cache

Content-Type

application/json; charset=utf-8

Expires

-1

Date

Fri, 08 Apr 2022 06:53:21 GMT

Content-Length

442

Strict-Transport-Security

max-age=31536000; includeSubDomains

DELETEDelete Invoice

https://am-ce98c.corrigo.com/api/v1/base/Invoice?Id=2
AUTHORIZATIONOAuth 2.0
HEADERS
CompanyName

RDC CE Sandbox

PARAMS
Id

2

Example Request
curl
curl --location --request DELETE 'https://am-ce98c.corrigo.com//api/v1/base/Invoice?Id=2' \
--header 'CompanyName: RDC CE Sandbox'
200 OK
Example Response
json
{
  "EntitySpecifier": {
    "EntityType": "Invoice",
    "Id": 2
  }
}
Cache-Control

no-cache

Pragma

no-cache

Content-Type

application/json; charset=utf-8

Expires

-1

Date

Fri, 08 Apr 2022 10:29:20 GMT

Content-Length

51

Strict-Transport-Security

max-age=31536000; includeSubDomains

PUTPUT Invoice

https://am-ce98c.corrigo.com//api/v1/base/Invoice
AUTHORIZATIONOAuth 2.0
HEADERS
CompanyName

RDC CE Sandbox

Bodyraw (json)
json
{
    "Properties": [
        "*"
    ],
    "Entity": {
        "CurrencyTypeId": "USD",
        "TimeSetId": 0,
        "Group": {
            "Id": 249
        },
        "Number": "",
        "State": "Draft",
        "PoNumber": "",
        "GlAccount": "",
        "Comments": "",
        "AmtBase": {
            "CurrencyTypeId": "USD",
            "Value": 100.00
        },
        "AmtTax": {
            "CurrencyTypeId": "USD",
            "Value": 0
        },
        "AmtTotal": {
            "CurrencyTypeId": "USD",
            "Value": 100.00
        },
        "IsMultiline": false,
        "TaxTransactionId": "",
        "IsTaxDirty": false,
        "ExtNumber": "",
        "IsManuallySent": false,
        "DraftProcessStepId": "Pending",
        "ConcurrencyId": 1,
        "Id": 2
    }
}
Example Request
curl
curl --location --request PUT 'https://am-ce98c.corrigo.com//api/v1/base/Invoice' \
--header 'CompanyName: RDC CE Sandbox' \
--data '{
    "Properties": [
        "*"
    ],
    "Entity": {
        "CurrencyTypeId": "USD",
        "TimeSetId": 0,
        "Group": {
            "Id": 249
        },
        "Number": "",
        "State": "Draft",
        "PoNumber": "",
        "GlAccount": "",
        "Comments": "",
        "AmtBase": {
            "CurrencyTypeId": "USD",
            "Value": 100.00
        },
        "AmtTax": {
            "CurrencyTypeId": "USD",
            "Value": 0
        },
        "AmtTotal": {
            "CurrencyTypeId": "USD",
            "Value": 100.00
        },
        "IsMultiline": false,
        "TaxTransactionId": "",
        "IsTaxDirty": false,
        "ExtNumber": "",
        "IsManuallySent": false,
        "DraftProcessStepId": "Pending",
        "ConcurrencyId": 1,
        "Id": 2
    }
}'
200 OK
Example Response
json
{
  "EntitySpecifier": {
    "ConcurrencyId": 2,
    "EntityType": "Invoice",
    "Id": 2
  }
}
Cache-Control

no-cache

Pragma

no-cache

Content-Type

application/json; charset=utf-8

Expires

-1

Date

Fri, 08 Apr 2022 10:27:31 GMT

Content-Length

69

Strict-Transport-Security

max-age=31536000; includeSubDomains