Creditor
Creditor and payable-party information.
Integration
Extend the Business Core document and collection in your application and map the concrete classes. Adjust the namespace and class names as needed.
<?php
namespace MyApplication;
use Core\Document\Annotation\Database;
#[Database(document: MyCreditor::class)]
class MyCreditorCollection extends \BusinessCore\Collection\Finance\CreditorCollection\Base
{
}
#[Database(document: MyCreditorCollection::class)]
class MyCreditor extends \BusinessCore\Document\Finance\Creditor\Base
{
}
Properties
Properties declared by BusinessCore\Document\Finance\Creditor\Base, excluding inherited
Core
Document properties.
| Property | PHP type |
|---|---|
externalId |
ObjectId|null |
creditorNumber |
string|null |
creditorGroupId |
ObjectId|null |
supplierId |
ObjectId|null |
addresses |
array|null |