PHPR API (3.7.0)

Download OpenAPI specification:

PHPR API USING API-PLATFORM

invoice_taxes

Creates a invoice_taxes resource.

Creates a invoice_taxes resource.

Authorizations:
JWT
path Parameters
id
required
string

invoice_taxes identifier

Request Body schema:
required

The new invoice_taxes resource

invoice
string <iri-reference>

Get invoice.

autoUpdate
boolean
Default: true
owningCorporation
string <iri-reference>
name
string
rate
string
originalRate
string

Original rate returned from the tax API

amount
string
deletedAt
string or null <date-time>
slug
required
string

DB Identifier

customProperties
any

Can contain anything (array, objects, nested objects...).

customData
Array of strings or null
createdAt
string <date-time>
updatedAt
string <date-time>
disabledAt
string or null <date-time>
object (Collection.jsonld)
upload_filename
string
upload_subfolder
string
upload_file
string
upload_file_link
string
timestamp
string <date-time>

Get createdAt.

upload_Subfolder
string
upload_File
string
upload_File_Link
string

Responses

Request samples

Content type
{
  • "invoice": "https://example.com/",
  • "autoUpdate": true,
  • "owningCorporation": "https://example.com/",
  • "name": "string",
  • "rate": "string",
  • "originalRate": "string",
  • "amount": "string",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "slug": "string",
  • "customProperties": null,
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "entityFiles": { },
  • "upload_filename": "string",
  • "upload_subfolder": "string",
  • "upload_file": "string",
  • "upload_file_link": "string",
  • "timestamp": "2019-08-24T14:15:22Z",
  • "upload_Subfolder": "string",
  • "upload_File": "string",
  • "upload_File_Link": "string"
}

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "invoice": {
    },
  • "autoUpdate": true,
  • "shortcode": "IT",
  • "owningCorporation": {
    },
  • "name": "string",
  • "rate": "string",
  • "originalRate": "string",
  • "amount": "string",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "id": 0,
  • "slug": "string",
  • "customProperties": null,
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "toString": "string",
  • "rawAmount": 0,
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}