Download OpenAPI specification:
PHPR API USING API-PLATFORM
Creates a bills resource.
| id required | string bills identifier |
The new bills resource
| timestamp | string <date-time> |
| fetchedTaxes | Array of strings |
| date required | string <date-time> |
| lines | Array of strings <iri-reference> [ items <iri-reference > ] Get Lines |
| inventoryEntries | Array of strings <iri-reference> [ items <iri-reference > ] |
| payments | Array of strings <iri-reference> [ items <iri-reference > ] |
| number | string or null |
| supplier required | string <iri-reference> Get supplier. |
| project | string or null <iri-reference> |
| payer required | string <iri-reference> Get payer. |
| employee required | string <iri-reference> Get employe. |
| taxes | Array of strings <iri-reference> [ items <iri-reference > ] |
| type required | string <iri-reference> |
| distributionType required | string <iri-reference> |
| status required | string <iri-reference> |
| shipments | Array of strings <iri-reference> [ items <iri-reference > ] |
| batches | Array of strings <iri-reference> [ items <iri-reference > ] |
| deliveryDate | string <date-time> |
| notes | string or null |
| conditions | string or null |
| coordinate | string or null <iri-reference> |
| followups | Array of strings <iri-reference> [ items <iri-reference > ] Get Followups |
| owningCorporation | string <iri-reference> |
| supplierRef | string or null |
| currency | string <iri-reference> |
| conversionRate | string Default: 1 |
| autoEmail | boolean |
| autoInterests | boolean |
| 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 |
| image | string <iri-reference> |
| currentTaxes | Array of strings |
| employe | integer Get employe. |
| upload_Subfolder | string |
| upload_File | string |
| upload_File_Link | string |
{- "timestamp": "2019-08-24T14:15:22Z",
- "fetchedTaxes": [
- "string"
], - "date": "2019-08-24T14:15:22Z",
- "number": "string",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "notes": "string",
- "conditions": "string",
- "supplierRef": "string",
- "conversionRate": 1,
- "autoEmail": true,
- "autoInterests": true,
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "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",
- "currentTaxes": [
- "string"
], - "employe": 0,
- "upload_Subfolder": "string",
- "upload_File": "string",
- "upload_File_Link": "string"
}{- "@id": "string",
- "@type": "string",
- "@context": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "fetchedTaxes": [
- "string"
], - "date": "2019-08-24T14:15:22Z",
- "number": "string",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "notes": "string",
- "conditions": "string",
- "supplierRef": "string",
- "conversionRate": 1,
- "shortcode": "B",
- "autoEmail": true,
- "autoInterests": true,
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "tags": [
- "string"
], - "disabledAt": "2019-08-24T14:15:22Z",
- "entityFiles": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "empty": true,
- "keys": [
- 0
], - "values": [
- "string"
], - "iterator": null
}, - "toString": "string",
- "taxesListing": "string",
- "currentCoordinate": "string",
- "currentLocation": null,
- "chargeable": true,
- "total": 0,
- "billTotal": 0,
- "taxesAmount": 0,
- "totalToPay": 0,
- "billTotalToPay": 0,
- "subTotal": 0,
- "billSubTotal": 0,
- "convertedSubTotal": 0,
- "convertedTotal": 0,
- "convertedTaxesAmount": 0,
- "billConvertedSubTotal": 0,
- "billConvertedTotal": 0,
- "billConvertedTaxesAmount": 0,
- "productSubTotal": 0,
- "billProductSubTotal": 0,
- "convertedProductSubTotal": 0,
- "billConvertedProductSubTotal": 0,
- "totalItemsQuantity": 0,
- "billTotalItemsQuantity": 0,
- "nbProducts": 0,
- "nbProductsCountedInInventory": 0,
- "billNbProducts": 0,
- "currentTaxes": [
- "string"
], - "billCurrentTaxes": [
- "string"
], - "taxesCount": null,
- "billTaxesCount": 0,
- "taxesFetchable": true,
- "taxesOverrited": true,
- "anonymousToken": "string",
- "paymentTime": 0,
- "plannedDeliveryTime": "2019-08-24T14:15:22Z",
- "linesListing": "string",
- "inventoryEntriesListing": "string",
- "paymentsListing": "string",
- "shipmentsListing": "string",
- "batchesListing": "string",
- "followupsListing": "string",
- "customPropertiesListing": "string",
- "apiShortname": "string",
- "tableName": "string",
- "lineNumber": 0,
- "valuedInventory": [
- "string"
], - "baseTransactionValuedInventory": [
- "string"
], - "employe": 0,
- "paid": true,
- "totalPaid": 0,
- "convertedTotalPaid": 0,
- "convertedTotalToPay": 0,
- "totalToPayWithoutTaxes": 0,
- "totalInventoryQuantity": 0,
- "nbItems": 0,
- "convertedTaxableAmount": 0,
- "taxableAmount": 0,
- "taxableDate": "2019-08-24T14:15:22Z",
- "taxableState": "string",
- "accountable": true,
- "fullEntityString": "string",
- "tokenString": "string",
- "entityMetatadaEndpoint": "string",
- "filesListing": "string",
- "modificationHistoryListing": "string",
- "notesListing": "string",
- "ownershipsListing": "string",
- "approvalsListing": "string",
- "fQCN": "string",
- "uniqueId": "string",
- "apiCustomData": null,
- "deleted": true,
- "taggableType": "string",
- "taggableId": 0,
- "taggingListing": "string",
- "enabled": true,
- "enabledVirtual": true,
- "disabled": true,
- "entityStorageFolder": "string",
- "subtotal": 0
}