Debtor
Debtor and receivable-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: MyDebtor::class)]
class MyDebtorCollection extends \BusinessCore\Collection\Finance\DebtorCollection\Base
{
}
#[Database(document: MyDebtorCollection::class)]
class MyDebtor extends \BusinessCore\Document\Finance\Debtor\Base
{
}
Properties
Properties declared by BusinessCore\Document\Finance\Debtor\Base, excluding inherited
Core
Document properties.
| Property | PHP type |
|---|---|
externalId |
ObjectId|null |
debtorNumber |
string|null |
debtorGroupId |
ObjectId|null |
customerId |
ObjectId|null |
addresses |
array|null |
creditLimit |
float|null |