All types of documents are returned from this API call. In order to filter for a specific type, you may pass the filter URL parameter. For example:
'headers'=>$headers,]);```</CodeGroup>For a list of all available parameters, please see the [List Incoming Transactions](/en/api/v2/incoming-transactions/list-incoming-transactions)API reference.## Sending DocumentsSimilar to listing documents, you can usethe connection to send documents to your trade partners.<CodeGroup>```php php$transaction=["type":"ORDER","content":["header":["orderIdentifier":"bestellung-20231203-001","orderDate":"2023-12-03","currency":"EUR","requestedDeliveryDate":"2023-12-06","buyer":["identifiers":[["domain":"GS1","identifier":"3220010000001"]]],"supplier":["identifiers":[["domain":"GS1","identifier":"3220010000013"]]],"billTo":["identifiers":[["domain":"GS1","identifier":"3220010000001"]]],"shipTo":["identifiers":[["domain":"GS1","identifier":"3220010000003"]]],],"items":[["identifiers":[["domain":"GS1","identifier":"2330000000007"]],"lineNumber":1,"quantity":10,"isDepositItem":false,"unitOfMeasure":"EA","description":"A description of the item","requestedDeliveryDate":null,"unitPrice":1.23]]]];$client->request('POST','https://api.procuros.io/v2/transactions',['headers'=>$headers,'json'=>$transaction,]);
For a list of all available document types that can be created, as well as the JSON body format for each, please see the Send Transaction API reference.